Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: gensis import export of modules #3437

Merged
merged 4 commits into from
Dec 15, 2023
Merged

Conversation

snobbee
Copy link
Contributor

@snobbee snobbee commented Dec 14, 2023

  • Enhance import/export logic of modules
  • Remove unnecessary versioning files and logic
  • Add v prefix to binary version
  • Remove unnecessary -beta suffix from version

Software upgrade to v1.14.0 tested:

$ go run ./scripts/chain-initiator/... https://snapshots.polkachu.com/snapshots/sifchain/sifchain_15144860.tar.lz4 /tmp/sifnoded-1.3.1-beta /tmp/sifnoded-1.4.0 --home /tmp/node --skip-snapshot
2023/12/15 07:04:30 skipping snapshot retrieval
2023/12/15 07:04:30 Old binary path: /tmp/sifnoded-1.3.1-beta and version: 1.3.1-beta
2023/12/15 07:04:30 New binary path: /tmp/sifnoded-1.4.0 and version: v1.4.0
2023/12/15 07:04:30 removed home path /tmp/node successfully
2023/12/15 07:04:30 init chain with moniker node, chain id sifchain-1 and home path: /tmp/node successfully
2023/12/15 07:04:30 add key with name validator, home path: /tmp/node, keyring backend test and address sif1gr38jpfdus03qnfq8w65qa6yhk3dhc6v5k59j4 successfully
2023/12/15 07:04:30 add genesis account with address sif1gr38jpfdus03qnfq8w65qa6yhk3dhc6v5k59j4, balance: 4000000000000000000000000000 and home path /tmp/node successfully
2023/12/15 07:04:30 gen tx with name validator, amount: 1000000000000000000000000000, chain id sifchain-1, home path /tmp/node and keyring backend test successfully
2023/12/15 07:04:30 collect gen txs with home path /tmp/node successfully
2023/12/15 07:04:30 validate genesis with home path /tmp/node successfully
2023/12/15 07:04:36 Waiting for node to start...
7:04AM ERR WARNING: The minimum-gas-prices config in app.toml is set to the empty string. This defaults to 0 in the current version, but will error in the next version (SDK v0.45). Please explicitly put the desired minimum-gas-prices in your app.toml.
7:04AM INF starting node with ABCI Tendermint in-process
7:04AM INF service start impl=multiAppConn module=proxy msg={}
7:04AM INF service start connection=query impl=localClient module=abci-client msg={}
7:04AM INF service start connection=snapshot impl=localClient module=abci-client msg={}
7:04AM INF service start connection=mempool impl=localClient module=abci-client msg={}
7:04AM INF service start connection=consensus impl=localClient module=abci-client msg={}
7:04AM INF service start impl=EventBus module=events msg={}
7:04AM INF service start impl=PubSub module=pubsub msg={}
7:04AM INF service start impl=IndexerService module=txindex msg={}
7:04AM INF ABCI Handshake App Info hash= height=0 module=consensus protocol-version=0 software-version=1.3.1-beta
7:04AM INF ABCI Replay Blocks appHeight=0 module=consensus stateHeight=0 storeHeight=0
2023/12/15 07:04:41 Waiting for node to start...
7:04AM INF asserting crisis invariants inv=1/11 module=x/crisis name=bank/nonnegative-outstanding
7:04AM INF asserting crisis invariants inv=2/11 module=x/crisis name=bank/total-supply
7:04AM INF asserting crisis invariants inv=3/11 module=x/crisis name=staking/module-accounts
7:04AM INF asserting crisis invariants inv=4/11 module=x/crisis name=staking/nonnegative-power
7:04AM INF asserting crisis invariants inv=5/11 module=x/crisis name=staking/positive-delegation
7:04AM INF asserting crisis invariants inv=6/11 module=x/crisis name=staking/delegator-shares
7:04AM INF asserting crisis invariants inv=7/11 module=x/crisis name=gov/module-account
7:04AM INF asserting crisis invariants inv=8/11 module=x/crisis name=distribution/nonnegative-outstanding
7:04AM INF asserting crisis invariants inv=9/11 module=x/crisis name=distribution/can-withdraw
7:04AM INF asserting crisis invariants inv=10/11 module=x/crisis name=distribution/reference-count
7:04AM INF asserting crisis invariants inv=11/11 module=x/crisis name=distribution/module-account
7:04AM INF asserted all invariants duration=309.626292 height=15144861 module=x/crisis
2023/12/15 07:04:46 Waiting for node to start...
2023/12/15 07:04:51 Waiting for node to start...
2023/12/15 07:04:56 Waiting for node to start...
2023/12/15 07:05:01 Waiting for node to start...
2023/12/15 07:05:06 Waiting for node to start...
2023/12/15 07:05:11 Waiting for node to start...
7:05AM INF Completed ABCI Handshake - CometBFT and App are synced appHash= appHeight=0 module=consensus
7:05AM INF Version info abci=0.17.0 block=11 cmtbft_version=0.34.29 commit_hash= p2p=8
7:05AM INF This node is a validator addr=84492786E69C973DA25BC4E37D747704B255D555 module=consensus pubKey=FTUUVwx1Oz0TTZ52Dt4kxUFbhoU5h6FrsGHq30TdrLU=
7:05AM INF P2P Node ID ID=5dbae059cc087a0bd91923f5cfefde6f9865ccd8 file=/tmp/node/config/node_key.json module=p2p
7:05AM INF Adding persistent peers addrs=[] module=p2p
7:05AM INF Adding unconditional peer ids ids=[] module=p2p
7:05AM INF Add our address to book addr={"id":"5dbae059cc087a0bd91923f5cfefde6f9865ccd8","ip":"0.0.0.0","port":26656} book=/tmp/node/config/addrbook.json module=p2p
7:05AM INF service start impl=Node msg={}
7:05AM INF Starting pprof server laddr=localhost:6060
7:05AM INF serve module=rpc-server msg={}
7:05AM INF service start impl="P2P Switch" module=p2p msg={}
7:05AM INF service start impl=PEX module=pex msg={}
7:05AM INF service start book=/tmp/node/config/addrbook.json impl=AddrBook module=p2p msg={}
7:05AM INF service start impl=BlockchainReactor module=blockchain msg={}
7:05AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
7:05AM INF No addresses to dial. Falling back to seeds module=pex
7:05AM INF service start impl=ConsensusReactor module=consensus msg={}
7:05AM INF Reactor  module=consensus waitSync=false
7:05AM INF service start impl=ConsensusState module=consensus msg={}
7:05AM INF service start impl=baseWAL module=consensus msg={} wal=/tmp/node/data/cs.wal/wal
7:05AM INF service start impl=Group module=consensus msg={} wal=/tmp/node/data/cs.wal/wal
7:05AM INF service start impl=TimeoutTicker module=consensus msg={}
7:05AM INF Searching for height height=15144861 max=0 min=0 module=consensus wal=/tmp/node/data/cs.wal/wal
7:05AM INF Searching for height height=0 max=0 min=0 module=consensus wal=/tmp/node/data/cs.wal/wal
7:05AM INF Found height=0 index=0 module=consensus wal=/tmp/node/data/cs.wal/wal
7:05AM INF Catchup by replaying consensus messages height=15144861 module=consensus
7:05AM INF Replay: Done module=consensus
7:05AM INF service start impl=Evidence module=evidence msg={}
7:05AM INF service start impl=StateSync module=statesync msg={}
7:05AM INF Saving AddrBook to file book=/tmp/node/config/addrbook.json module=p2p size=0
2023/12/15 07:05:16 Node is running.
2023/12/15 07:05:17 Waiting for current block height...
7:05AM INF Timed out dur=2813.164 height=15144861 module=consensus round=0 step=1
7:05AM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"7C324A5388B106D1DD1098C28C95055BB4BEEC4FF70DFB4D848B52D55ECE17F4","parts":{"hash":"7E37F4DC235B5017D6C2EEDE69BEEADF4076DC90A6DC0B1B7668D7A071D0CFBA","total":1}},"height":15144861,"pol_round":-1,"round":0,"signature":"qfm/c08uUMxBDUCC4BkdszN3cImSTN5ox5IuT6Y1jb5pC2zwIDY+GhPAem8lK5XTxtfTTuFEPZ0fmqSsuxkbCg==","timestamp":"2023-12-15T06:05:17.658823Z"}
7:05AM INF received complete proposal block hash=7C324A5388B106D1DD1098C28C95055BB4BEEC4FF70DFB4D848B52D55ECE17F4 height=15144861 module=consensus
7:05AM INF finalizing commit of block hash={} height=15144861 module=consensus num_txs=0 root=E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
7:05AM INF ending epoch identifier=day module=x/epochs
7:05AM INF ending epoch identifier=hour module=x/epochs
7:05AM INF minted coins from module account amount=343011296561916886749rowan from=mint module=x/bank
7:05AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:05AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:05AM INF executed block height=15144861 module=state num_invalid_txs=0 num_valid_txs=0
7:05AM INF Timed out dur=3000 height=15144861 module=consensus round=0 step=3
2023/12/15 07:05:22 Current Block Height: 15144861
2023/12/15 07:05:22 Waiting for next block height...
2023/12/15 07:05:27 Waiting for next block height...
2023/12/15 07:05:32 Waiting for next block height...
2023/12/15 07:05:37 Waiting for next block height...
2023/12/15 07:05:42 Waiting for next block height...
7:05AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
7:05AM INF No addresses to dial. Falling back to seeds module=pex
2023/12/15 07:05:47 Waiting for next block height...
7:05AM INF commit synced commit=436F6D6D697449447B5B3135332031303820353220313930203135352031353020323238203839203235312031343720393320383920353620313732203931203133382032313820323131203139352032323320363020313135203738203230352032323620323031203234342033302032353220333420323438203231305D3A4537313739447D
7:05AM INF committed state app_hash=996C34BE9B96E459FB935D5938AC5B8ADAD3C3DF3C734ECDE2C9F41EFC22F8D2 height=15144861 module=state num_txs=0
7:05AM INF Timed out dur=-26532.064 height=15144862 module=consensus round=0 step=1
7:05AM INF indexed block exents height=15144861 module=txindex
7:05AM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"5DC64406E9124F681C9995B9CE8D1DD1C1870E0D1687A8EB3F6E153F0AD2D269","parts":{"hash":"D473E867833035179AA51ECA43D3ADFF41FD5ED8A637360E99BAEC70BB794DFD","total":1}},"height":15144862,"pol_round":-1,"round":0,"signature":"iTurH3L/By7K2HN3822KplUXjQpArgQRwbCYtIPHzCrwRMUtEbNTpcdS5CcP4FE69wriGPRftzNaGqSnQdCyBg==","timestamp":"2023-12-15T06:05:49.212439Z"}
7:05AM INF received complete proposal block hash=5DC64406E9124F681C9995B9CE8D1DD1C1870E0D1687A8EB3F6E153F0AD2D269 height=15144862 module=consensus
7:05AM INF finalizing commit of block hash={} height=15144862 module=consensus num_txs=0 root=996C34BE9B96E459FB935D5938AC5B8ADAD3C3DF3C734ECDE2C9F41EFC22F8D2
7:05AM INF ending epoch identifier=day module=x/epochs
7:05AM INF ending epoch identifier=hour module=x/epochs
7:05AM INF minted coins from module account amount=343011344935264222468rowan from=mint module=x/bank
7:05AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:05AM INF Block took 31.555543416s to execute module=x/clp
7:05AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:05AM INF executed block height=15144862 module=state num_invalid_txs=0 num_valid_txs=0
7:05AM INF commit synced commit=436F6D6D697449447B5B3138392039302033392032333420323232203137322032343120323920343820313336203136392032333020313432203637203132342034382033203232322031373920302031373820313432203130322031303320313130203230372032313820313235203230203134382034392035315D3A4537313739457D
7:05AM INF committed state app_hash=BD5A27EADEACF11D3088A9E68E437C3003DEB300B28E66676ECFDA7D14943133 height=15144862 module=state num_txs=0
7:05AM INF indexed block exents height=15144862 module=txindex
2023/12/15 07:05:52 New Block Height: 15144862
7:05AM INF Timed out dur=4947.417 height=15144863 module=consensus round=0 step=1
7:05AM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"A7B725D9B13C9F43D55A371F8BC4C94BD519231B04711CF0F7CB61E05535DA02","parts":{"hash":"FC1A5990667E4D4462841AB2075E1D19F0EABE952CD52B497B00B1983C4F2D98","total":1}},"height":15144863,"pol_round":-1,"round":0,"signature":"x6UWJUsAWWxzKlJJjRaqQms/FPHKjjMBux3QY5N/m0YVCWY1RqpOSfMQ7B+ve1eCux42s3FyddGWdThsVvQVDw==","timestamp":"2023-12-15T06:05:54.237748Z"}
7:05AM INF received complete proposal block hash=A7B725D9B13C9F43D55A371F8BC4C94BD519231B04711CF0F7CB61E05535DA02 height=15144863 module=consensus
7:05AM INF finalizing commit of block hash={} height=15144863 module=consensus num_txs=1 root=BD5A27EADEACF11D3088A9E68E437C3003DEB300B28E66676ECFDA7D14943133
7:05AM INF ending epoch identifier=hour module=x/epochs
7:05AM INF minted coins from module account amount=343011393308614508941rowan from=mint module=x/bank
7:05AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:05AM INF Block took 5.012979167s to execute module=x/clp
7:05AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:05AM INF executed block height=15144863 module=state num_invalid_txs=0 num_valid_txs=1
7:05AM INF commit synced commit=436F6D6D697449447B5B323239203231203430203232382032343120333420323420323130203130352033372031353320313933203232342031383420373820323234203120313536203235312032313620313234203135372032323220323133203132322031343020313032203134372038302031323220313430203133305D3A4537313739467D
7:05AM INF committed state app_hash=E51528E4F12218D2692599C1E0B84EE0019CFBD87C9DDED57A8C6693507A8C82 height=15144863 module=state num_txs=1
7:05AM INF indexed block exents height=15144863 module=txindex
2023/12/15 07:05:54 Submitted upgrade proposal: v1.4.0, upgrade block height: 15144867
7:05AM INF Timed out dur=4957.226 height=15144864 module=consensus round=0 step=1
7:05AM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"03DFA667ED820546A07CBAB83241C640C3A4BCDED82F0B80D8E5224C97849177","parts":{"hash":"2F9D92240CE144D2924B627041B0E19E17706505F3FBC5FAC726E1560499B0DC","total":1}},"height":15144864,"pol_round":-1,"round":0,"signature":"AIFEP6s0mT/FRnuE52yZoy+5pZgKov+W/ESer2hL6dkKWx1ZCAsCrveYaAqidCXgQ04rvLg0KdzoR2Zwg9lTBA==","timestamp":"2023-12-15T06:05:59.253305Z"}
7:05AM INF received complete proposal block hash=03DFA667ED820546A07CBAB83241C640C3A4BCDED82F0B80D8E5224C97849177 height=15144864 module=consensus
7:05AM INF finalizing commit of block hash={} height=15144864 module=consensus num_txs=1 root=E51528E4F12218D2692599C1E0B84EE0019CFBD87C9DDED57A8C6693507A8C82
7:05AM INF ending epoch identifier=hour module=x/epochs
7:05AM INF minted coins from module account amount=343011441681967746167rowan from=mint module=x/bank
7:05AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:05AM INF Block took 5.013584s to execute module=x/clp
7:05AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:05AM INF executed block height=15144864 module=state num_invalid_txs=0 num_valid_txs=1
7:05AM INF commit synced commit=436F6D6D697449447B5B323535203132352031393020393120313639203138372031383320323232203231332031353220313234203134203137372031353120313639203231332033362032313520313331203138392031353320323520313239203639203134322032303420323533203135392032323820323433203331203130365D3A4537313741307D
7:05AM INF committed state app_hash=FF7DBE5BA9BBB7DED5987C0EB197A9D524D783BD991981458ECCFD9FE4F31F6A height=15144864 module=state num_txs=1
2023/12/15 07:05:59 Voted on upgrade proposal: 148
7:05AM INF indexed block exents height=15144864 module=txindex
2023/12/15 07:05:59 Waiting for block height 15144867 ...
7:06AM INF Timed out dur=4960.869 height=15144865 module=consensus round=0 step=1
7:06AM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"EE4698E107E0C143612FBEAF95A2FB848D4310E0CE20F0B1EE6BD2A7B618EC43","parts":{"hash":"9F9DAFEF168E9838997BFFE116AF931A9A14D237494F9541E029481175EF2157","total":1}},"height":15144865,"pol_round":-1,"round":0,"signature":"rbc6aNU12SW9Ocr5FCFXgpmF9hi7D/qCK+gFkAk1FyBZazn8khRCkpOFsb8IYiOb7CkYl5k1qO9nCov6ANfxDA==","timestamp":"2023-12-15T06:06:04.271186Z"}
7:06AM INF received complete proposal block hash=EE4698E107E0C143612FBEAF95A2FB848D4310E0CE20F0B1EE6BD2A7B618EC43 height=15144865 module=consensus
7:06AM INF finalizing commit of block hash={} height=15144865 module=consensus num_txs=0 root=FF7DBE5BA9BBB7DED5987C0EB197A9D524D783BD991981458ECCFD9FE4F31F6A
7:06AM INF ending epoch identifier=hour module=x/epochs
7:06AM INF minted coins from module account amount=343011490055323934146rowan from=mint module=x/bank
7:06AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:06AM INF Block took 5.027988833s to execute module=x/clp
7:06AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:06AM INF proposal tallied module=x/gov proposal=148 result=passed title=v1.4.0
7:06AM INF executed block height=15144865 module=state num_invalid_txs=0 num_valid_txs=0
7:06AM INF commit synced commit=436F6D6D697449447B5B313636203138352032303720313136203138203234322031383920323533203132372031313720313837203130382035332031303420323336203132302032343720323120323137203536203232302038392031333520313234203133332033312031393120373620313520313939203337203235305D3A4537313741317D
7:06AM INF committed state app_hash=A6B9CF7412F2BDFD7F75BB6C3568EC78F715D938DC59877C851FBF4C0FC725FA height=15144865 module=state num_txs=0
7:06AM INF indexed block exents height=15144865 module=txindex
2023/12/15 07:06:04 Waiting for block height 15144867 ...
7:06AM INF Timed out dur=4940.965 height=15144866 module=consensus round=0 step=1
7:06AM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"743059DDAD0C67299E2FBDD7C98DA8DA1E5A8C1D57DCBEEB98C239C66FEEB392","parts":{"hash":"F91082C40DB611FD536846C3A0C55602892E1259F7FCA783988F167D2B362407","total":1}},"height":15144866,"pol_round":-1,"round":0,"signature":"2oI9bHKdMtfj2qQhzJoMU5Mt/9PsP2qeb9A1H51Q51ibro1K7vpTpkQTcuhWNUxJcc2H1NgaJGKAgAWfsSsGBw==","timestamp":"2023-12-15T06:06:09.287377Z"}
7:06AM INF received complete proposal block hash=743059DDAD0C67299E2FBDD7C98DA8DA1E5A8C1D57DCBEEB98C239C66FEEB392 height=15144866 module=consensus
7:06AM INF finalizing commit of block hash={} height=15144866 module=consensus num_txs=0 root=A6B9CF7412F2BDFD7F75BB6C3568EC78F715D938DC59877C851FBF4C0FC725FA
7:06AM INF ending epoch identifier=hour module=x/epochs
7:06AM INF minted coins from module account amount=343011538428683072880rowan from=mint module=x/bank
7:06AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:06AM INF Block took 5.00512425s to execute module=x/clp
7:06AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:06AM INF executed block height=15144866 module=state num_invalid_txs=0 num_valid_txs=0
7:06AM INF commit synced commit=436F6D6D697449447B5B3234322032352032343520323432203130382031353120353320373220313738203136352032333420323033203836203930203639203137302036392032342036203131382033362031363520323133203134362031333020383720363520313033203630203137372031303320395D3A4537313741327D
7:06AM INF committed state app_hash=F219F5F26C973548B2A5EACB565A45AA4518067624A5D592825741673CB16709 height=15144866 module=state num_txs=0
7:06AM INF indexed block exents height=15144866 module=txindex
2023/12/15 07:06:09 Waiting for block height 15144867 ...
7:06AM INF Timed out dur=4968.089 height=15144867 module=consensus round=0 step=1
7:06AM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"FAA631E41136EDDF104C46451C80D65AC5BC7E57467411154CCF72DCC905B451","parts":{"hash":"8911A49CCEFBD53CDB197E69AA807CA0743A22BEF88CE258A014102AF70322D0","total":1}},"height":15144867,"pol_round":-1,"round":0,"signature":"wBYtPvxAV9fSm/ECANcHmhVM4kak+ZQDn0EHdO8/CLmP9DZPG/NAroLV2cWZuCflLcGr+g8X04nidQ229xiiCA==","timestamp":"2023-12-15T06:06:14.308886Z"}
7:06AM INF received complete proposal block hash=FAA631E41136EDDF104C46451C80D65AC5BC7E57467411154CCF72DCC905B451 height=15144867 module=consensus
7:06AM INF finalizing commit of block hash={} height=15144867 module=consensus num_txs=0 root=F219F5F26C973548B2A5EACB565A45AA4518067624A5D592825741673CB16709
7:06AM ERR UPGRADE "v1.4.0" NEEDED at height: 15144867: 
7:06AM ERR CONSENSUS FAILURE!!! err="UPGRADE \"v1.4.0\" NEEDED at height: 15144867: " module=consensus stack="goroutine 132 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x64\ngithub.com/tendermint/tendermint/consensus.(*State).receiveRoutine.func2()\n\tgithub.com/tendermint/[email protected]/consensus/state.go:732 +0x44\npanic({0x1065820e0, 0x140cc6c8580})\n\truntime/panic.go:884 +0x204\ngithub.com/cosmos/cosmos-sdk/x/upgrade.BeginBlocker({{_, _}, _, {_, _}, {_, _}, _, {_, _}, ...}, ...)\n\tgithub.com/cosmos/[email protected]/x/upgrade/abci.go:71 +0xc38\ngithub.com/cosmos/cosmos-sdk/x/upgrade.AppModule.BeginBlock(...)\n\tgithub.com/cosmos/[email protected]/x/upgrade/module.go:130\ngithub.com/cosmos/cosmos-sdk/types/module.(*Manager).BeginBlock(_, {{0x1068a4418, 0x140000520b0}, {0x1068b2650, 0x140cc6d13c0}, {{0xb, 0x0}, {0x1405bf9c3f0, 0xa}, 0xe717a3, ...}, ...}, ...)\n\tgithub.com/cosmos/[email protected]/types/module/module.go:491 +0x188\ngithub.com/Sifchain/sifnode/app.(*SifchainApp).BeginBlocker(...)\n\tgithub.com/Sifchain/sifnode/app/app.go:721\ngithub.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).BeginBlock(_, {{0x140ff537080, 0x20, 0x20}, {{0xb, 0x0}, {0x1405bf9c3f0, 0xa}, 0xe717a3, {0x11dab590, ...}, ...}, ...})\n\tgithub.com/cosmos/[email protected]/baseapp/abci.go:177 +0x768\ngithub.com/tendermint/tendermint/abci/client.(*localClient).BeginBlockSync(_, {{0x140ff537080, 0x20, 0x20}, {{0xb, 0x0}, {0x1405bf9c3f0, 0xa}, 0xe717a3, {0x11dab590, ...}, ...}, ...})\n\tgithub.com/tendermint/[email protected]/abci/client/local_client.go:280 +0x108\ngithub.com/tendermint/tendermint/proxy.(*appConnConsensus).BeginBlockSync(_, {{0x140ff537080, 0x20, 0x20}, {{0xb, 0x0}, {0x1405bf9c3f0, 0xa}, 0xe717a3, {0x11dab590, ...}, ...}, ...})\n\tgithub.com/tendermint/[email protected]/proxy/app_conn.go:81 +0x4c\ngithub.com/tendermint/tendermint/state.execBlockOnProxyApp({0x1068a5288?, 0x14016dccd80}, {0x1068ac500, 0x14000f38c30}, 0x140c634c5a0, {0x1068b3c20, 0x14000f6e480}, 0xe717a2?)\n\tgithub.com/tendermint/[email protected]/state/execution.go:307 +0x3a8\ngithub.com/tendermint/tendermint/state.(*BlockExecutor).ApplyBlock(_, {{{0xb, 0x0}, {0x1405e3bfa70, 0x7}}, {0x1405e3bfa90, 0xa}, 0xe7179d, 0xe717a2, {{0x140fee19f20, ...}, ...}, ...}, ...)\n\tgithub.com/tendermint/[email protected]/state/execution.go:140 +0xf0\ngithub.com/tendermint/tendermint/consensus.(*State).finalizeCommit(0x140000cc000, 0xe717a3)\n\tgithub.com/tendermint/[email protected]/consensus/state.go:1661 +0x99c\ngithub.com/tendermint/tendermint/consensus.(*State).tryFinalizeCommit(0x140000cc000, 0xe717a3)\n\tgithub.com/tendermint/[email protected]/consensus/state.go:1570 +0x28c\ngithub.com/tendermint/tendermint/consensus.(*State).enterCommit.func1()\n\tgithub.com/tendermint/[email protected]/consensus/state.go:1505 +0xa0\ngithub.com/tendermint/tendermint/consensus.(*State).enterCommit(0x140000cc000, 0xe717a3, 0x0)\n\tgithub.com/tendermint/[email protected]/consensus/state.go:1543 +0xb90\ngithub.com/tendermint/tendermint/consensus.(*State).addVote(0x140000cc000, 0x140031e4280, {0x0, 0x0})\n\tgithub.com/tendermint/[email protected]/consensus/state.go:2164 +0x1698\ngithub.com/tendermint/tendermint/consensus.(*State).tryAddVote(0x140000cc000, 0x140031e4280, {0x0?, 0x1048ecea0?})\n\tgithub.com/tendermint/[email protected]/consensus/state.go:1962 +0x28\ngithub.com/tendermint/tendermint/consensus.(*State).handleMsg(0x140000cc000, {{0x106889e00, 0x140cb7109b8}, {0x0, 0x0}})\n\tgithub.com/tendermint/[email protected]/consensus/state.go:861 +0x37c\ngithub.com/tendermint/tendermint/consensus.(*State).receiveRoutine(0x140000cc000, 0x0)\n\tgithub.com/tendermint/[email protected]/consensus/state.go:788 +0x350\ncreated by github.com/tendermint/tendermint/consensus.(*State).OnStart\n\tgithub.com/tendermint/[email protected]/consensus/state.go:379 +0xf4\n"
7:06AM INF service stop impl={"Logger":{}} module=consensus msg={} wal=/tmp/node/data/cs.wal/wal
7:06AM INF service stop impl={"Dir":"/tmp/node/data/cs.wal","Head":{"ID":"SZRDOxFoIyfI:/tmp/node/data/cs.wal/wal","Path":"/tmp/node/data/cs.wal/wal"},"ID":"group:SZRDOxFoIyfI:/tmp/node/data/cs.wal/wal","Logger":{}} module=consensus msg={} wal=/tmp/node/data/cs.wal/wal
2023/12/15 07:06:14 Block height 15144867 reached
2023/12/15 07:06:14 Process killed successfully
2023/12/15 07:06:14 Process was killed: signal: killed
2023/12/15 07:06:19 Waiting for node to start...
7:06AM ERR WARNING: The minimum-gas-prices config in app.toml is set to the empty string. This defaults to 0 in the current version, but will error in the next version (SDK v0.45). Please explicitly put the desired minimum-gas-prices in your app.toml.
7:06AM INF starting node with ABCI Tendermint in-process
7:06AM INF service start impl=multiAppConn module=proxy msg={}
7:06AM INF service start connection=query impl=localClient module=abci-client msg={}
7:06AM INF service start connection=snapshot impl=localClient module=abci-client msg={}
7:06AM INF service start connection=mempool impl=localClient module=abci-client msg={}
7:06AM INF service start connection=consensus impl=localClient module=abci-client msg={}
7:06AM INF service start impl=EventBus module=events msg={}
7:06AM INF service start impl=PubSub module=pubsub msg={}
7:06AM INF service start impl=IndexerService module=txindex msg={}
7:06AM INF ABCI Handshake App Info hash="�\x19��l�5H����VZE�E\x18\x06v$�Ւ�WAg<�g\t" height=15144866 module=consensus protocol-version=0 software-version=v1.4.0
7:06AM INF ABCI Replay Blocks appHeight=15144866 module=consensus stateHeight=15144866 storeHeight=15144867
7:06AM INF Replay last block using real app module=consensus
7:06AM INF applying upgrade "v1.4.0" at height: 15144867
7:06AM INF Running upgrade handler for v1.4.0
7:06AM INF ending epoch identifier=hour module=x/epochs
7:06AM INF minted coins from module account amount=343011586802045162368rowan from=mint module=x/bank
7:06AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:06AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:06AM INF executed block height=15144867 module=consensus num_invalid_txs=0 num_valid_txs=0
7:06AM INF commit synced commit=436F6D6D697449447B5B31303820313436203239203233203720323336203437203132302031383120323130203232382031203638203232332035392034203135372036382031323220313638203232342031383920323437203230312038342031373220343820323034203333203230352031343720365D3A4537313741337D
7:06AM INF committed state app_hash=6C921D1707EC2F78B5D2E40144DF3B049D447AA8E0BDF7C954AC30CC21CD9306 height=15144867 module=consensus num_txs=0
7:06AM INF Completed ABCI Handshake - CometBFT and App are synced appHash="�\x19��l�5H����VZE�E\x18\x06v$�Ւ�WAg<�g\t" appHeight=15144866 module=consensus
7:06AM INF Version info abci=0.17.0 block=11 cmtbft_version=0.34.29 commit_hash= p2p=8
7:06AM INF This node is a validator addr=84492786E69C973DA25BC4E37D747704B255D555 module=consensus pubKey=FTUUVwx1Oz0TTZ52Dt4kxUFbhoU5h6FrsGHq30TdrLU=
7:06AM INF indexed block exents height=15144867 module=txindex
7:06AM INF P2P Node ID ID=5dbae059cc087a0bd91923f5cfefde6f9865ccd8 file=/tmp/node/config/node_key.json module=p2p
7:06AM INF Adding persistent peers addrs=[] module=p2p
7:06AM INF Adding unconditional peer ids ids=[] module=p2p
7:06AM INF Add our address to book addr={"id":"5dbae059cc087a0bd91923f5cfefde6f9865ccd8","ip":"0.0.0.0","port":26656} book=/tmp/node/config/addrbook.json module=p2p
7:06AM INF service start impl=Node msg={}
7:06AM INF Starting pprof server laddr=localhost:6060
7:06AM INF serve module=rpc-server msg={}
7:06AM INF service start impl="P2P Switch" module=p2p msg={}
7:06AM INF service start impl=BlockchainReactor module=blockchain msg={}
7:06AM INF service start impl=ConsensusReactor module=consensus msg={}
7:06AM INF Reactor  module=consensus waitSync=false
7:06AM INF service start impl=ConsensusState module=consensus msg={}
7:06AM INF service start impl=baseWAL module=consensus msg={} wal=/tmp/node/data/cs.wal/wal
7:06AM INF service start impl=Group module=consensus msg={} wal=/tmp/node/data/cs.wal/wal
7:06AM INF service start impl=TimeoutTicker module=consensus msg={}
7:06AM INF Searching for height height=15144868 max=0 min=0 module=consensus wal=/tmp/node/data/cs.wal/wal
7:06AM INF Searching for height height=15144867 max=0 min=0 module=consensus wal=/tmp/node/data/cs.wal/wal
7:06AM INF Found height=15144867 index=0 module=consensus wal=/tmp/node/data/cs.wal/wal
7:06AM INF Catchup by replaying consensus messages height=15144868 module=consensus
7:06AM INF Replay: Done module=consensus
7:06AM INF service start impl=Evidence module=evidence msg={}
7:06AM INF service start impl=StateSync module=statesync msg={}
7:06AM INF service start impl=PEX module=pex msg={}
7:06AM INF service start book=/tmp/node/config/addrbook.json impl=AddrBook module=p2p msg={}
7:06AM INF Saving AddrBook to file book=/tmp/node/config/addrbook.json module=p2p size=0
7:06AM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
7:06AM INF No addresses to dial. Falling back to seeds module=pex
2023/12/15 07:06:24 Node is running.
2023/12/15 07:06:24 Current Block Height: 15144867
2023/12/15 07:06:24 Waiting for next block height...
7:06AM INF Timed out dur=3341.081 height=15144868 module=consensus round=0 step=1
7:06AM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"86FF7E757FF6DEABBEE8C56924EE759ECA859623E97B7FC5265AB6C26A93C700","parts":{"hash":"55E77FACDAF1CB0A69D5BF9BF7758B8FBE145419DF8ACF282D3904DFD1AF1E4D","total":1}},"height":15144868,"pol_round":-1,"round":0,"signature":"Ce+QeiVzV+VmEkK6DTUsX4iJL430dtodfTwEx2jzr4lXWceZJWIOyY356Q9iaZHmKCRTmVCw/t3HgUFT/8g4Aw==","timestamp":"2023-12-15T06:06:27.084128Z"}
7:06AM INF received complete proposal block hash=86FF7E757FF6DEABBEE8C56924EE759ECA859623E97B7FC5265AB6C26A93C700 height=15144868 module=consensus
7:06AM INF finalizing commit of block hash={} height=15144868 module=consensus num_txs=0 root=6C921D1707EC2F78B5D2E40144DF3B049D447AA8E0BDF7C954AC30CC21CD9306
7:06AM INF ending epoch identifier=hour module=x/epochs
7:06AM INF minted coins from module account amount=343011635175410202609rowan from=mint module=x/bank
7:06AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:06AM INF Block took 5.068220042s to execute module=x/clp
7:06AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:06AM INF executed block height=15144868 module=state num_invalid_txs=0 num_valid_txs=0
7:06AM INF commit synced commit=436F6D6D697449447B5B323035203135332032332033322033362031302032333020323135203132342032343420363620323036203535203233332031303520313233203230352031383820313132203137372031313420342037342036312039203833203331203633203933203638203131392039365D3A4537313741347D
7:06AM INF committed state app_hash=CD991720240AE6D77CF442CE37E9697BCDBC70B172044A3D09531F3F5D447760 height=15144868 module=state num_txs=0
7:06AM INF indexed block exents height=15144868 module=txindex
2023/12/15 07:06:29 New Block Height: 15144868
7:06AM INF Timed out dur=4973.568 height=15144869 module=consensus round=0 step=1
7:06AM INF received proposal module=consensus proposal={"Type":32,"block_id":{"hash":"1CB29ECD09FBF388810F96D51256F28F3E69182B6026DD3856AD1D4C9E0B8217","parts":{"hash":"AD29A8B37133A9F9D9E7EAEBCE7C39577D5718BC9FA5FD9DE220B3D25005ADFE","total":1}},"height":15144869,"pol_round":-1,"round":0,"signature":"p93kdhCAv/CFu1iDV6R4yAm7V+UpfLp4WshhFYqG5q6wzSqa+8fe6p6HmwxDYos0LfkwdrtCPWizO1mDyQxlDw==","timestamp":"2023-12-15T06:06:32.098243Z"}
7:06AM INF received complete proposal block hash=1CB29ECD09FBF388810F96D51256F28F3E69182B6026DD3856AD1D4C9E0B8217 height=15144869 module=consensus
7:06AM INF finalizing commit of block hash={} height=15144869 module=consensus num_txs=0 root=CD991720240AE6D77CF442CE37E9697BCDBC70B172044A3D09531F3F5D447760
7:06AM INF ending epoch identifier=hour module=x/epochs
7:06AM INF minted coins from module account amount=343011683548778193606rowan from=mint module=x/bank
7:06AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:06AM INF Block took 5.016306167s to execute module=x/clp
7:06AM INF minted coins from module account amount=225000000000000000000rowan from=dispensation module=x/bank
7:06AM INF executed block height=15144869 module=state num_invalid_txs=0 num_valid_txs=0
7:06AM INF commit synced commit=436F6D6D697449447B5B3933203231332032333620353820313232203136342032303720323332203131342033352035382032313820313839203130382034322031303520323031203630203133322036203838203134342031353820363920313030203138342031393720323235203133352032353120313238203130315D3A4537313741357D
7:06AM INF committed state app_hash=5DD5EC3A7AA4CFE872233ADABD6C2A69C93C840658909E4564B8C5E187FB8065 height=15144869 module=state num_txs=0
7:06AM INF indexed block exents height=15144869 module=txindex
^C2023/12/15 07:06:32 Process killed successfully

Copy link

codecov bot commented Dec 15, 2023

Codecov Report

Merging #3437 (22f851f) into master (0c63583) will increase coverage by 1.10%.
Report is 15 commits behind head on master.
The diff coverage is 61.43%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3437      +/-   ##
==========================================
+ Coverage   43.35%   44.46%   +1.10%     
==========================================
  Files         166      183      +17     
  Lines       15895    16756     +861     
==========================================
+ Hits         6891     7450     +559     
- Misses       8591     8857     +266     
- Partials      413      449      +36     
Files Coverage Δ
app/app.go 94.49% <100.00%> (+4.39%) ⬆️
cmd/sifnoded/cmd/ibc-diag.go 15.74% <ø> (ø)
x/clp/keeper/executors.go 59.12% <100.00%> (+0.60%) ⬆️
x/clp/types/codec.go 100.00% <100.00%> (ø)
x/clp/types/key_rewards_bucket.go 100.00% <100.00%> (ø)
x/clp/types/keys.go 87.75% <100.00%> (+4.42%) ⬆️
x/clp/types/querier.go 100.00% <ø> (ø)
x/clp/types/types.go 97.14% <100.00%> (+0.26%) ⬆️
x/dispensation/types/types.go 100.00% <100.00%> (ø)
x/epochs/keeper/abci.go 100.00% <100.00%> (ø)
... and 29 more

... and 3 files with indirect coverage changes

@snobbee snobbee merged commit 191a7e4 into master Dec 15, 2023
9 checks passed
@snobbee snobbee deleted the fix/genesis-import-exports branch December 15, 2023 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants