Closed baabeetaa closed 1 year ago
run with terra classic,
got err panic: unable to resolve type URL /terra.vesting.v1beta1.LazyGradedVestingAccount
on tags v0.2.0-cosmos46.1
{GenesisPath:/root/.mantlemint/config/genesis.json Home:/root/.mantlemint ChainID:columbus-5 RPCEndpoints:[http://tasks.lb_terra-archive:8000] WSEndpoints:[ws://tasks.lb_terra-archive:8000/websocket] MantlemintDB:mantlemint IndexerDB:indexer DisableSync:false EnableExportModule:true RichlistLength:100 RichlistThreshold:10000000000uluna}
I[2023-01-14|17:19:08.919] service start module=abci-client connection=query msg="Starting localClient service" impl=localClient
I[2023-01-14|17:19:08.919] service start module=abci-client connection=snapshot msg="Starting localClient service" impl=localClient
I[2023-01-14|17:19:08.919] service start module=abci-client connection=mempool msg="Starting localClient service" impl=localClient
I[2023-01-14|17:19:08.919] service start module=abci-client connection=consensus msg="Starting localClient service" impl=localClient
2023/01/14 17:19:10 [v0.34.x/sync] genesis shasum=806430011926512733a1b684c2f04601d6d6d5df
2023/01/14 17:19:18 genesisTime=2021-09-30 10:00:41 +0000 UTC, chainId=columbus-5
I[2023-01-14|17:19:26.123] initializing blockchain state from genesis.json
D[2023-01-14|17:19:26.123] running initialization for module module=capability
D[2023-01-14|17:19:26.123] running initialization for module module=auth
panic: unable to resolve type URL /terra.vesting.v1beta1.LazyGradedVestingAccount
goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/codec.(*ProtoCodec).MustUnmarshalJSON(0x4d3ffb?, {0xc0350ba000?, 0x1e?, 0x1e?}, {0x3186730?, 0xc000564c00?})
/root/go/pkg/mod/github.com/terra-money/cosmos-sdk@v0.46.6-experimental.1/codec/proto_codec.go:187 +0x45
github.com/cosmos/cosmos-sdk/x/auth.AppModule.InitGenesis({{}, {{0x317f0f8, 0xc001610f50}, {0x31aa940, 0xc0011b0320}, {{0x31aa940, 0xc0011b0320}, 0xc000530148, {0x317f0f8, 0xc001611040}, ...}, ...}, ...}, ...)
/root/go/pkg/mod/github.com/terra-money/cosmos-sdk@v0.46.6-experimental.1/x/auth/module.go:143 +0xa2
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(_, {{0x319a5b8, 0xc00005e0c0}, {0x31acd20, 0xc000564480}, {{0x0, 0x0}, {0xc000e961e0, 0xa}, 0x481521, ...}, ...}, ...)
/root/go/pkg/mod/github.com/terra-money/cosmos-sdk@v0.46.6-experimental.1/types/module/module.go:322 +0x423
github.com/terra-money/alliance/app.(*App).InitChainer(_, {{0x319a5b8, 0xc00005e0c0}, {0x31acd20, 0xc000564480}, {{0x0, 0x0}, {0xc000e961e0, 0xa}, 0x481521, ...}, ...}, ...)
/root/go/pkg/mod/github.com/terra-money/alliance@v0.0.1-wasm.1/app/app.go:781 +0x1cf
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0xc000f7d180, {{0x0, 0xed8e781c9, 0x0}, {0xc000e961e0, 0xa}, 0xc000de63e0, {0xc0005d1900, 0x82, 0x82}, ...})
/root/go/pkg/mod/github.com/terra-money/cosmos-sdk@v0.46.6-experimental.1/baseapp/abci.go:71 +0x3f5
github.com/terra-money/mantlemint/mantlemint.(*localClient).InitChainSync(0xc000e99d40, {{0x0, 0xed8e781c9, 0x0}, {0xc000e961e0, 0xa}, 0xc000de63e0, {0xc0005d1900, 0x82, 0x82}, ...})
/root/mantlemint/mantlemint/client.go:265 +0x102
github.com/tendermint/tendermint/proxy.(*appConnConsensus).InitChainSync(0x4c2571?, {{0x0, 0xed8e781c9, 0x0}, {0xc000e961e0, 0xa}, 0xc000de63e0, {0xc0005d1900, 0x82, 0x82}, ...})
/root/go/pkg/mod/github.com/tendermint/tendermint@v0.34.23/proxy/app_conn.go:77 +0x55
github.com/tendermint/tendermint/consensus.(*Handshaker).ReplayBlocks(_, {{{0xb, 0x0}, {0x240d138, 0x7}}, {0xc000e961e0, 0xa}, 0x481521, 0x0, {{0x0, ...}, ...}, ...}, ...)
/root/go/pkg/mod/github.com/tendermint/tendermint@v0.34.23/consensus/replay.go:319 +0xd78
github.com/terra-money/mantlemint/mantlemint.(*Instance).Init(0xc000f7d340, 0xc000fbe000)
/root/mantlemint/mantlemint/reactor.go:103 +0x3a9
main.main()
/root/mantlemint/sync.go:121 +0x9b7
GENESIS_PATH=$HOME/.mantlemint/config/genesis.json \
MANTLEMINT_HOME=$HOME/.mantlemint \
CHAIN_ID=columbus-5 \
RPC_ENDPOINTS=http://tasks.lb_terra-archive:8000 \
WS_ENDPOINTS=ws://tasks.lb_terra-archive:8000/websocket \
MANTLEMINT_DB=mantlemint \
INDEXER_DB=indexer \
DISABLE_SYNC=false \
ENABLE_EXPORT_MODULE=true \
RICHLIST_LENGTH=100 \
RICHLIST_THRESHOLD=10000000000uluna \
$HOME/go/bin/mantlemint --x-crisis-skip-assert-invariants
run on main
branch, got errr panic: gas limit must not be zero
got err panic: unable to resolve type URL /terra.vesting.v1beta1.LazyGradedVestingAccount
with branch feather
and start command
GENESIS_PATH=$HOME/.mantlemint/config/genesis.json \
MANTLEMINT_HOME=$HOME/.mantlemint \
CHAIN_ID=columbus-5 \
RPC_ENDPOINTS=http://tasks.lb_terra-archive:8000 \
WS_ENDPOINTS=ws://tasks.lb_terra-archive:8000/websocket \
LCD_ENDPOINTS=http://tasks.lb_terra-archive:8001 \
MANTLEMINT_DB=mantlemint \
INDEXER_DB=indexer \
DISABLE_SYNC=false \
ENABLE_EXPORT_MODULE=true \
RICHLIST_LENGTH=100 \
RICHLIST_THRESHOLD=10000000000uluna \
ACCOUNT_ADDRESS_PREFIX="terra" \
BOND_DENOM="uluna" \
$HOME/go/bin/mantlemint --x-crisis-skip-assert-invariants
v0.1.5
works
{/root/.mantlemint/config/genesis.json /root/.mantlemint columbus-5 [http://tasks.lb_terra-archive:8000] [ws://tasks.lb_terra-archive:8000/websocket] mantlemint indexer false}
I[2023-01-14|19:00:04.353] Starting localClient service module=abci-client connection=query impl=localClient
I[2023-01-14|19:00:04.353] Starting localClient service module=abci-client connection=snapshot impl=localClient
I[2023-01-14|19:00:04.353] Starting localClient service module=abci-client connection=mempool impl=localClient
I[2023-01-14|19:00:04.353] Starting localClient service module=abci-client connection=consensus impl=localClient
2023/01/14 19:00:05 [v0.34.x/sync] genesis shasum=806430011926512733a1b684c2f04601d6d6d5df
2023/01/14 19:00:13 genesisTime=2021-09-30 10:00:41 +0000 UTC, chainId=columbus-5
I[2023-01-14|19:02:22.343] created new capability module=ibc name=ports/transfer
I[2023-01-14|19:02:22.343] port binded module=x/ibc/port port=transfer
I[2023-01-14|19:02:22.343] claimed capability module=transfer name=ports/transfer capability=1
[rollback-batch] rollback batch for height 4724001's record length 12
!!! clearing write height...
2023/01/14 19:02:27 Subscribing to tendermint rpc...
2023/01/14 19:02:27 Subscription and the first handshake done. Receiving blocks...
2023/01/14 19:02:38 [block_feed/aggregate] received the first block(11096420), but local blockchain is at (4724000)
2023/01/14 19:02:38 [block_feed/rpc] subscription started, from=4724001, to=11096420
2023/01/14 19:02:38 [block_feed/rpc] receiving block 4724001...
2023/01/14 19:02:38 [block_feed/rpc] receiving block 4724002...
2023/01/14 19:02:38 [block_feed/rpc] receiving block 4724003...
I[2023-01-14|19:02:39.569] burned tokens from module account module=x/bank amount=1000000ukrw,1000000uluna,995454usdr from=burn
I[2023-01-14|19:02:39.661] executed block height=4724001 num_valid_txs=0 num_invalid_txs=0
I[2023-01-14|19:39:26.867] burned tokens from module account module=x/bank amount=10000000000uluna from=market
I[2023-01-14|19:39:26.867] minted coins from module account module=x/bank amount=352995598967uusd from=market
I[2023-01-14|19:39:26.868] executed block height=4724492 num_valid_txs=3 num_invalid_txs=0
I[2023-01-14|19:39:26.874] commit synced commit=436F6D6D697449447B5B3132203333203231203235342032333820323239203135352032353020353520313734203230332036203132362032323720313738203839203134203235342034302031343220353720313037203235322031333720323531203335203237203139392032312032303720323030203135345D3A3438313730437D
I[2023-01-14|19:39:26.874] committed state height=4724492 num_txs=3 app_hash=0C2115FEEEE59BFA37AECB067EE3B2590EFE288E396BFC89FB231BC715CFC89A
2023/01/14 19:39:26 [mantlemint/inject] nextState.LastBlockHeight=4724492, nextState.LastResultsHash=e1b85db91d59ee8ac1075a2db06510d0218dc4fc93fb6c2342178b26cad57fb5
[indexer/block] indexing done for height 4724492
[indexer] finished 2 indexers, 0ms
[rollback-batch] rollback batch for height 4724492's record length 1713
!!! clearing write height...
[cache-middleware] purging cache at height 4724492
[rpc/latest] cache length 0, eviction count 0, serveCount 0, cacheServeCount 0
[rpc/archival] cache length 0, eviction count 0, serveCount 0, cacheServeCount 0
2023/01/14 19:39:26 [block_feed/rpc] receiving block 4724495...
rollback previous block
goroutine 1 [running]:
runtime/debug.Stack()
/usr/lib/go/src/runtime/debug/stack.go:24 +0x65
runtime/debug.PrintStack()
/usr/lib/go/src/runtime/debug/stack.go:16 +0x19
main.main()
/root/mantlemint/sync.go:216 +0x15aa
panic: wrong Block.Header.LastResultsHash. Expected E1B85DB91D59EE8AC1075A2DB06510D0218DC4FC93FB6C2342178B26CAD57FB5, got 12C2A62A0FA31BE4EAA38EEACE933BF5F2BFF9E8E42DC12EAB0512969E8601E2
goroutine 1 [running]:
main.main()
/root/mantlemint/sync.go:217 +0x15c8
notes:
move to cosmosia19
I[2023-01-19|11:41:07.314] executed block height=5024671 num_valid_txs=13 num_invalid_txs=1
2023/01/19 20:31:00 [mantlemint/inject] nextState.LastBlockHeight=5084484, nextState.LastResultsHash=ba1a3f28f2a725ba3dcdc2015add58c139fe34bdd1678d088b8f196e097bf4a7
I[2023-01-20|15:54:37.332] executed block height=5188121 num_valid_txs=5 num_invalid_txs=0
I[2023-01-21|04:12:34.119] executed block height=5261756 num_valid_txs=24 num_invalid_txs=2
I[2023-01-22|08:21:51.775] executed block height=5436947 num_valid_txs=5 num_invalid_txs=0
I[2023-01-23|11:06:25.200] executed block height=5558788 num_valid_txs=4 num_invalid_txs=0
https://github.com/terra-money/mantlemint