Dashmate platform Block Height 0
owl352 opened this issue · 1 comments
owl352 commented
After sync I see Block Height 0
Expected Behavior
This is not the first launch of the platform and after synchronization, the block height should not have been 0
Current Behavior
As a result, I get zero height and an errors in the docker container
drive_tenderdash-1 | 2024-06-04T13:25:31.675142918Z ERROR cannot add a block to the pending list error="block response already exists (peer: 62e960a3f6b650feed98a266b3ccdf6e363562cf, block height: 231)" height=231 module=blockchain`
drive_tenderdash-1 | 2024-06-04T13:39:15.059839411Z ERROR failed to process message error="error verifying commit: invalid commit signatures for quorum(type=6, hash=0000003E6EFF2408240512D388C52B09E4461B117E39580E8C197C1ADB747900), thresholdPubKey=5075624B6579424C5331323338317B3842343337463632353939433743373439373433393838313735353635344544353346363637443932303536344538424646354336363345333534444138393832303738424133463830443034303239454643444142453646413044454130327D: 1 error occurred:\n\t* invalid block signature\n\n" commit_height=1 commit_round=0 height=1 module=consensus msg_type=*consensus.CommitMessage peer=7034f0d3853c5351fb8e0ffd3c1daf12c51c2d89 round=0
2024-06-04 18:56:59 core-1 | 2024-06-04T13:56:59Z ERROR: ConnectBlock(DASH): coinbase pays too much at height 1039368 (actual=797386508 vs limit=297386508), exceeded block reward, no triggered superblock detected
2024-06-04 18:56:59 core-1 | 2024-06-04T13:56:59Z InvalidChainFound: invalid block=000001e3c0191548199edf5070cc538c5389dd2228cd02ba0a6241930e4eac8b height=1039368 log2_work=57.628395 date=2024-06-04T13:51:02Z
2024-06-04 18:56:59 core-1 | 2024-06-04T13:56:59Z InvalidChainFound: current best=00000060f1a2b4e1aa323ef3a2a3162e27600444348c4aa7174e93e533740de4 height=1039367 log2_work=57.628395 date=2024-06-04T13:42:59Z
2024-06-04 18:56:59 core-1 | 2024-06-04T13:56:59Z ERROR: ConnectTip: ConnectBlock 000001e3c0191548199edf5070cc538c5389dd2228cd02ba0a6241930e4eac8b failed, bad-cb-amount
2024-06-04 18:56:59 core-1 | 2024-06-04T13:56:59Z InvalidChainFound: invalid block=000001e3c0191548199edf5070cc538c5389dd2228cd02ba0a6241930e4eac8b height=1039368 log2_work=57.628395 date=2024-06-04T13:51:02Z
2024-06-04 18:57:00 core-1 | 2024-06-04T13:57:00Z InvalidChainFound: current best=00000060f1a2b4e1aa323ef3a2a3162e27600444348c4aa7174e93e533740de4 height=1039367 log2_work=57.628395 date=2024-06-04T13:42:59Z
2024-06-04 18:57:04 core-1 | 2024-06-04T13:57:04Z New outbound peer connected: version: 70231, blocks=1039372, peer=44 (full-relay)
2024-06-04 18:57:05 core-1 | 2024-06-04T13:57:05Z [ProcessBlock] h[1039368] numCommitmentsRequired[0] numCommitmentsInNewBlock[0]
Possible Solution
Steps to Reproduce (for bugs)
- paste this dashmate config
{
description: 'node with testnet configuration',
group: null,
docker: {
network: { subnet: '172.25.24.0/24' },
baseImage: {
build: {
enabled: false,
context: '/Users/bebra/.nvm/versions/node/v20.14.0/lib',
dockerFile: '/Users/bebra/.nvm/versions/node/v20.14.0/lib/Dockerfile',
target: ''
}
}
},
core: {
insight: {
enabled: false,
ui: { enabled: false, docker: { image: 'dashpay/insight:latest' } },
docker: { image: 'dashpay/insight-api:latest' },
port: 3001
},
docker: { image: 'dashpay/dashd:20.1.1', commandArgs: [] },
p2p: { host: '0.0.0.0', port: 19999, seeds: [] },
rpc: {
host: '127.0.0.1',
port: 19998,
user: '8JjXoVNu',
password: 'mCq47H4wllv7',
allowIps: [ '127.0.0.1', '172.16.0.0/12', '192.168.0.0/16' ]
},
spork: { address: 'yjPtiKh2uwk3bDutTEA2q9mCtXyiZRWn55', privateKey: null },
masternode: { enable: false, operator: { privateKey: null } },
miner: {
enable: false,
interval: '2.5m',
mediantime: null,
address: null
},
devnet: { name: null, minimumDifficultyBlocks: 0, powTargetSpacing: 150 },
log: {
file: {
categories: [],
path: '/Users/bebra/.dashmate/logs/testnet/core.log'
}
},
logIps: 0,
indexes: true
},
platform: {
dapi: {
envoy: {
docker: { image: 'dashpay/envoy:1.22.11' },
http: {
host: '0.0.0.0',
port: 1443,
connectTimeout: '5s',
responseTimeout: '15s'
},
rateLimiter: {
maxTokens: 300,
tokensPerFill: 150,
fillInterval: '60s',
enabled: true
},
ssl: {
enabled: true,
provider: 'self-signed',
providerConfigs: { zerossl: { apiKey: null, id: null } }
}
},
api: {
docker: {
image: 'dashpay/envoy:1.22.11',
deploy: { replicas: 1 },
build: {
enabled: false,
context: '/Users/bebra/.nvm/versions/node/v20.14.0/lib',
dockerFile: '/Users/bebra/.nvm/versions/node/v20.14.0/lib/Dockerfile',
target: 'dapi'
}
}
}
},
drive: {
abci: {
docker: {
image: 'dashpay/drive:1.0.0-dev.12',
build: {
enabled: false,
context: '/Users/bebra/.nvm/versions/node/v20.14.0/lib',
dockerFile: '/Users/bebra/.nvm/versions/node/v20.14.0/lib/Dockerfile',
target: 'drive-abci'
}
},
logs: {
stdout: {
destination: 'stdout',
level: 'info',
format: 'compact',
color: true
}
},
tokioConsole: {
enabled: false,
host: '127.0.0.1',
port: 6669,
retention_secs: 180
},
validatorSet: { llmqType: 6 },
chainLock: { llmqType: 1, dkgInterval: 24, llmqSize: 50 },
epochTime: 3600
},
tenderdash: {
mode: 'full',
docker: { image: 'dashpay/tenderdash:0.14.0-dev.7' },
p2p: {
host: '0.0.0.0',
port: 36656,
persistentPeers: [],
seeds: [
{
id: '74907790a03b51ac062c8a1453dafd72a08668a3',
host: '35.166.35.250',
port: 36656
},
{
id: '2006632eb20e670923d13d4f53abc24468eaad4d',
host: '35.92.64.72',
port: 36656
}
],
flushThrottleTimeout: '100ms',
maxPacketMsgPayloadSize: 10240,
sendRate: 5120000,
recvRate: 5120000
},
rpc: {
host: '127.0.0.1',
port: 36657,
maxOpenConnections: 900,
timeoutBroadcastTx: '1s'
},
pprof: { enabled: false, port: 36060 },
metrics: { enabled: false, host: '127.0.0.1', port: 36660 },
mempool: {
cacheSize: 15000,
size: 5000,
maxTxsBytes: 1073741824,
timeoutCheckTx: '1s',
txEnqueueTimeout: '10ms',
txSendRateLimit: 10,
txRecvRateLimit: 12,
maxConcurrentCheckTx: 250
},
consensus: {
createEmptyBlocks: true,
createEmptyBlocksInterval: '3m',
peer: {
gossipSleepDuration: '100ms',
queryMaj23SleepDuration: '2s'
},
unsafeOverride: {
propose: { timeout: null, delta: null },
vote: { timeout: null, delta: null },
commit: { timeout: null, bypass: null }
}
},
log: { level: 'info', format: 'plain', path: null },
node: {
id: 'ad73e69d3ab20f2df7ef91fc1dee3adf4b94ebf7',
key: 'RTjnikRys30ijwIHTmqGOwQ36pez3T29Ozl9NXH7Vh59D20ag6PwifGq8HeNBi2GsEIYSZMv0sYFX4n5AFTtcw=='
},
genesis: {
consensus_params: {
block: {
max_bytes: '2097152',
max_gas: '57631392000',
time_iota_ms: '5000'
},
evidence: {
max_age: '100000',
max_age_num_blocks: '100000',
max_age_duration: '172800000000000'
},
validator: { pub_key_types: [ 'bls12381' ] },
version: { app_version: '1' },
timeout: {
propose: '30000000000',
propose_delta: '1000000000',
vote: '2000000000',
vote_delta: '500000000',
commit: '1000000000',
bypass_commit_timeout: false
},
synchrony: { message_delay: '32000000000', precision: '500000000' },
abci: { recheck_tx: true }
},
genesis_time: '2024-03-07T13:26:00.000Z',
chain_id: 'dash-testnet-45',
validator_quorum_type: 6,
initial_core_chain_locked_height: 984306
},
moniker: null
}
},
dpns: {
contract: { id: 'GWRSAVFMjXx8HpQFaNJMqBV7MBgMK4br5UESsB4S31Ec' },
ownerId: '4EfA9Jrvv3nnCFdSf7fad59851iiTRZ6Wcu6YVJ4iSeF',
masterPublicKey: '02c8b4747b528cac5fddf7a6cc63702ee04ed7d1332904e08510343ea00dce546a',
secondPublicKey: '0201ee28f84f5485390567e939c2b586010b63a69ec92cab535dc96a8c71913602'
},
dashpay: {
contract: { id: 'Bwr4WHCPz5rFVAD87RqTs3izo4zpzwsEdKPWUT1NS1C7' },
masterPublicKey: '02d4dcce3f0a8d2936ce26df4d255fd2835b629b73eea39d4b2778096b91e77946',
secondPublicKey: '03699c8b4ebf1696c92e9ec605a02a38f6f9cec47d13fb584fdad779e936e20ccb'
},
featureFlags: {
contract: { id: 'HY1keaRK5bcDmujNCQq5pxNyvAiHHpoHQgLN5ppiu4kh' },
ownerId: 'H9sjb2bHG8t7gq5SwNdqzMWG7KR6sf3CbziFzthCkDD6',
masterPublicKey: '029cf2232549de08c114c19763309cb067688e21e310ac07458b59c2c026be7234',
secondPublicKey: '02a2abb50c03ae9f778f08a93849ba334a82e625153720dd5ef14e564b78b414e5'
},
sourcePath: null,
masternodeRewardShares: {
contract: { id: 'rUnsWrFu3PKyRMGk2mxmZVBPbQuZx2qtHeFjURoQevX' },
masterPublicKey: '0319d795c0795bc8678bd0e58cfc7a4ad75c8e1797537728e7e8de8b9acc2bae2b',
secondPublicKey: '033756572938aaad752158b858ad38511c6edff4c79cf8462f70baa25fc6e8a616'
},
withdrawals: {
contract: { id: '4fJLR2GYTPFdomuTVvNy3VRrvWgvkKPzqehEBpNf2nk6' },
masterPublicKey: '032f79d1d9d6e652599d3315d30306b1277fbf588e32e383aef0a59749547d47b7',
secondPublicKey: '03eebbe3dc3721603a0b5a13441f214550ffa7d035b7dea9f1911de0f63ddac58d'
},
enable: true
},
dashmate: {
helper: {
docker: {
build: {
enabled: false,
context: '/Users/bebra/.nvm/versions/node/v20.14.0/lib',
dockerFile: '/Users/bebra/.nvm/versions/node/v20.14.0/lib/Dockerfile',
target: 'dashmate-helper'
}
},
api: { enable: false, port: 9100 }
}
},
externalIp: '79.127.211.213',
network: 'testnet',
environment: 'production'
}
Context
Your Environment
dashmate/1.0.0-dev.12 darwin-x64 node-v20.14.0
owl352 commented
an incorrect genesis was specified in the config