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

Bech32 Prefix Mismatch During DRS-4 Upgrade #434

Open
eaddaa opened this issue Dec 28, 2024 · 4 comments
Open

Bech32 Prefix Mismatch During DRS-4 Upgrade #434

eaddaa opened this issue Dec 28, 2024 · 4 comments

Comments

@eaddaa
Copy link

eaddaa commented Dec 28, 2024

Bech32 Prefix Mismatch During DRS-4 Upgrade

I encountered an issue during the DRS-4 upgrade process on the Rollapp platform. The error message indicates a Bech32 prefix mismatch:

Expected prefix: kitty
Received prefix: KITTY
This issue appears when querying an address or restarting services after the upgrade.

Additionally, when attempting to restart services, I received the following error:

Current balance: 67 DYM (67008604481108790246adym)
Necessary balance: 6 DYM (5010000000000000000adym)
Error: failed to restart systemd services: a migration from a65646 to 7a981c is required
Steps to reproduce:

Perform the DRS-4 upgrade.
Attempt to query an address or restart services with a prefix mismatch.
Encounter the error rollapp bech32 prefix does not match.
Attempt to restart services and receive the migration error.
Expected behavior:

The Bech32 prefix should match the expected value (kitty), and the services should restart without errors.
The system should not require migration from a65646 to 7a981c for the upgrade process.
Actual behavior:

The Bech32 prefix does not match, causing errors during address queries and service restarts.
A migration from a65646 to 7a981c is required, preventing services from restarting.
This issue seems directly related to the DRS-4 upgrade process. Can you please investigate and provide a fix for this?

@omritoptix
Copy link
Contributor

hi @eaddaa,

thank you for that.

Current balance: 67 DYM (67008604481108790246adym)
Necessary balance: 6 DYM (5010000000000000000adym)
Error: failed to restart systemd services: a migration from a65646 to 7a981c is required
Steps to reproduce:

@artemijspavlovs will look into this.

re

Expected prefix: kitty
Received prefix: KITTY

when you rebuilt the binary manually as instructed, did you happen to export KITTY instead of kitty ?

@eaddaa
Copy link
Author

eaddaa commented Dec 28, 2024

hi @omritoptix
Thank you for your response.

Yes, I mistakenly used KITTY instead of kitty while exporting the prefix during the manual binary rebuild as instructed. I now understand this caused the mismatch and has likely affected the Rollapp's functionality.

Currently, the Rollapp is not working, and I'm encountering the following issue:
Error: failed to restart systemd services: a migration from a65646 to 7a981c is required.

Before the upgrade, the RollApp worked for a while, but now it has stopped and is unreachable.

Dec 27 06:38:35 vmi2293635.contaboserver.net roller[1435651]: time="Dec 27 06:38:35.495" level=info msg="Using pending block.[height 1517]" module=block_manager
Dec 27 06:38:35 vmi2293635.contaboserver.net roller[1435651]: time="Dec 27 06:38:35.495" level=debug msg="Applying block[height 1517 source produced]" module=block_manager
Dec 27 06:38:35 vmi2293635.contaboserver.net roller[1435651]: time="Dec 27 06:38:35.510" level=debug msg="block-sync advertise block[error failed to find any peer in table]" module=p2p
Dec 27 06:38:35 vmi2293635.contaboserver.net roller[1435651]: time="Dec 27 06:38:35.511" level=info msg="applying upgrade "drs-4" at height: 1517[]"
Dec 27 06:38:35 vmi2293635.contaboserver.net roller[1435651]: time="Dec 27 06:38:35.512" level=info msg="Stopped block producer loop.[]" module=block_manager
Dec 27 06:38:35 vmi2293635.contaboserver.net roller[1435651]: [49B blob data]
Dec 27 06:38:35 vmi2293635.contaboserver.net systemd[1]: rollapp.service: Main process exited, code=exited, status=1/FAILURE
Dec 27 06:38:35 vmi2293635.contaboserver.net systemd[1]: rollapp.service: Failed with result 'exit-code'.
Dec 27 06:38:35 vmi2293635.contaboserver.net systemd[1]: rollapp.service: Consumed 2.955s CPU time.
Dec 27 06:38:45 vmi2293635.contaboserver.net systemd[1]: rollapp.service: Scheduled restart job, restart counter is at 2.
Dec 27 06:38:45 vmi2293635.contaboserver.net systemd[1]: Stopped Roller rollapp service.
Dec 27 06:38:45 vmi2293635.contaboserver.net systemd[1]: rollapp.service: Consumed 2.955s CPU time.
Dec 27 06:38:45 vmi2293635.contaboserver.net systemd[1]: Started Roller rollapp service.
Dec 27 06:38:46 vmi2293635.contaboserver.net roller[1435712]: INFO versions match
Dec 27 06:38:46 vmi2293635.contaboserver.net roller[1435712]: INFO getting the existing sequencer address
Dec 27 06:38:47 vmi2293635.contaboserver.net roller[1435712]: INFO getting the existing sequencer address balance
Dec 27 06:38:48 vmi2293635.contaboserver.net roller[1435712]: INFO current balance: 67008604481108790246adym (67dym)
Dec 27 06:38:48 vmi2293635.contaboserver.net roller[1435712]: necessary balance: 5010000000000000000adym (6dym)
Dec 27 06:38:48 vmi2293635.contaboserver.net roller[1435712]: /usr/local/bin/rollappd start --home /root/.roller/rollapp --log_level debug
Dec 27 06:38:48 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:48.846" level=info msg="starting node with ABCI dymint in-process[]"
Dec 27 06:38:48 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:48.846" level=info msg="service start[msg Starting multiAppConn service impl multiAppConn]" module=proxy
Dec 27 06:38:48 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:48.846" level=info msg="service start[msg Starting localClient service impl localClient]" connection=query module=abci-client
Dec 27 06:38:48 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:48.846" level=info msg="service start[msg Starting localClient service impl localClient]" connection=snapshot module=abci-client
Dec 27 06:38:48 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:48.846" level=info msg="service start[msg Starting localClient service impl localClient]" connection=mempool module=abci-client
Dec 27 06:38:48 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:48.846" level=info msg="service start[msg Starting localClient service impl localClient]" connection=consensus module=abci-client
Dec 27 06:38:48 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:48.846" level=info msg="service start[msg Starting EventBus service impl EventBus]" module=events
Dec 27 06:38:48 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:48.846" level=info msg="service start[msg Starting PubSub service impl PubSub]" module=pubsub
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: badger 2024/12/27 06:38:49 INFO: All 14 tables opened in 99ms
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: badger 2024/12/27 06:38:49 INFO: Discard stats nextEmptySlot: 0
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: badger 2024/12/27 06:38:49 INFO: Set nextTxnTs to 12335
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: badger 2024/12/27 06:38:49 INFO: Deleting empty file: /root/.roller/rollapp/data/dymint/000221.vlog
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.748" level=info msg="service start[msg Starting IndexerService service impl IndexerService]" module=txindex
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.908" level=debug msg="validation height not loaded[err not found]" module=block_manager
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.908" level=info msg="service start[msg Starting RPC service impl RPC]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="limiting number of connections[limit 900]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name unsubscribe_all]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name tx]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name block_validated]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name check_tx]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name subscribe]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name net_info]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name commit]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name broadcast_tx_async]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name abci_query]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name broadcast_evidence]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name blockchain]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name tx_search]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name dump_consensus_state]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name unconfirmed_txs]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name block_search]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name consensus_params]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name block]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name validators]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name num_unconfirmed_txs]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name broadcast_tx_commit]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name broadcast_tx_sync]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name unsubscribe]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name genesis]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name genesis_chunked]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name abci_info]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name health]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name block_by_hash]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name consensus_state]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name status]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="registering method[name block_results]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=debug msg="CORS enabled[origins [*] methods [HEAD GET POST] headers [Origin Accept Content-Type X-Requested-With X-Server-Time]]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=info msg="service start[msg Starting Node service impl Node]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.909" level=info msg="starting P2P client[]"
Dec 27 06:38:49 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:49.944" level=info msg="serving HTTP[listen address [::]:26657]"
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.051" level=info msg="Listening on:[address /ip4/94.72.112.190/tcp/26656/p2p/12D3KooWReoDzhoEtooD6JgDE8wdoeg6cV2KVf9C38oVkquQxNJk]" module=p2p
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.051" level=info msg="Listening on:[address /ip4/127.0.0.1/tcp/26656/p2p/12D3KooWReoDzhoEtooD6JgDE8wdoeg6cV2KVf9C38oVkquQxNJk]" module=p2p
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.051" level=debug msg="Setting up gossiping.[]" module=p2p
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.051" level=debug msg="Setting up DHT.[]" module=p2p
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.051" level=info msg="No bootstrap nodes configured.[]" module=p2p
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.052" level=debug msg="Setting up active peer discovery.[]" module=p2p
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.054" level=debug msg="Setting up block sync protocol[]" module=p2p
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.054" level=info msg="Starting Celestia Data Availability Layer Client.[]" module=celestia
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.075" level=info msg="Celestia-node is synced.[]" module=celestia
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.565" level=info msg="Prometheus server started[address :2112]"
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.842" level=info msg="starting block manager[mode proposer]" module=block_manager
Dec 27 06:38:50 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:50.973" level=debug msg="Updated bonded sequencer set.[newSet SequencerSet: [Sequencer{SettlementAddress: dym1sextjunrm9fz243xwyf48zza87ux9fu85ukrn4 RewardAddr: dym1sextjunrm9fz243xwyf48zza87ux9fu85ukrn4 WhitelistedRelayers: [kitty1y6sy95xtza9urda27ddznne7szvwvd2deqgrfa] Validator: Validator{3364FD4FABE5E386FE68010421A3430C99133ACB PubKeyEd25519{D196D88E0607E81E1AF64ADED0E7D0EB9A7A33BFA9C678591B7E2866385661F8} VP:1 A:0}}]]" module=block_manager
Dec 27 06:38:51 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:51.164" level=info msg="starting block manager[mode proposer]" module=block_manager
Dec 27 06:38:51 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:51.165" level=info msg="syncing to target height[targetHeight 1514]" module=block_manager
Dec 27 06:38:51 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:51.165" level=info msg="Synced.[current height 1516 last submitted height 1514]" module=block_manager
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.169" level=debug msg="Updating proposer to [dym1sextjunrm9fz243xwyf48zza87ux9fu85ukrn4]" module=block_manager
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.718" level=debug msg="grpc client assigned to client context[target 127.0.0.1:9090]"
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.718" level=info msg="serve[msg Starting RPC HTTP server on [::]:1317]" module=api-server
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.719" level=debug msg="Added bytes produced to bytes pending submission counter.[bytes added 2028 pending 2028]" module=block_manager
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.719" level=info msg="Started block producer loop.[]" module=block_manager
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.720" level=info msg="Created batch.[start height 1515 end height 1516 size 2046 last batch false]" module=block_manager
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.936" level=info msg="Using pending block.[height 1517]" module=block_manager
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.936" level=debug msg="Applying block[height 1517 source produced]" module=block_manager
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.958" level=error msg="Submit blob.[error do rpc submit: rpc error: code = Unknown desc = tx was previously rejected]" module=celestia
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.963" level=debug msg="block-sync advertise block[error failed to find any peer in table]" module=p2p
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.964" level=info msg="applying upgrade "drs-4" at height: 1517[]"
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: time="Dec 27 06:38:52.966" level=info msg="Stopped block producer loop.[]" module=block_manager
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: [49B blob data]
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: goroutine 468 [running]:
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/cosmos/cosmos-sdk/types.NewCoin({0xc00007d5e0, 0x1b}, {0x0?})
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/types/coin.go:23 +0x4b
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/cosmos/cosmos-sdk/x/bank/keeper.UnmarshalBalanceCompat({0x43fa990, 0xc0003931f0}, {0xc00353f5f0, 0x16, 0x16}, {0xc00007d5e0, 0x1b})
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/x/bank/keeper/view.go:260 +0x137
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/cosmos/cosmos-sdk/x/bank/keeper.BaseViewKeeper.IterateAccountBalances({{, }, {, }, {, }}, {{0x43d9c60, 0x64f7cc0}, {0x43fa8b0, 0xc00057a680}, ...}, ...)
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/x/bank/keeper/view.go:122 +0x265
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/cosmos/cosmos-sdk/x/bank/keeper.BaseViewKeeper.GetAllBalances({{
, }, {, }, {, }}, {{0x43d9c60, 0x64f7cc0}, {0x43fa8b0, 0xc00057a680}, ...}, ...)
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/x/bank/keeper/view.go:64 +0x12c
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/dymensionxyz/dymension-rdk/x/dist/keeper.Keeper.AllocateTokens({{{0x43b0668, 0xc001cd05c0}, {0x43fa990, 0xc0003931f0}, {{0x43fa990, 0xc0003931f0}, 0xc0000a6450, {0x43b0668, 0xc001cd05e0}, {0x43b0690, ...}, ...}, ...}, ...}, ...)
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/x/dist/keeper/allocation.go:18 +0x283
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/dymensionxyz/dymension-rdk/x/dist.AppModule.BeginBlock({{{{0x4405f80, 0xc0003931f0}}, {{0x43b0668, 0xc001cd05c0}, {0x43fa990, 0xc0003931f0}, {{...}, 0xc0000a6450, {...}, {...}, ...}, ...}, ...}, ...}, ...)
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/x/dist/module.go:63 +0x15b
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/cosmos/cosmos-sdk/types/module.(*Manager).BeginBlock(
, {{0x43d9c60, 0x64f7cc0}, {0x43fa8b0, 0xc00057a680}, {{0xb, 0x0}, {0xc0009397e8, 0x13}, 0x5ed, ...}, ...}, ...)
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/types/module/module.go:484 +0x1b5
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/dymensionxyz/rollapp-evm/app.(*App).BeginBlocker(
, {{0x43d9c60, 0x64f7cc0}, {0x43fa8b0, 0xc00057a680}, {{0xb, 0x0}, {0xc0009397e8, 0x13}, 0x5ed, ...}, ...}, ...)
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/rollapp-evm/app/app.go:873 +0x13b
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).BeginBlock(, {{0xc002324640, 0x20, 0x20}, {{0xb, 0x0}, {0xc0009397e8, 0x13}, 0x5ed, {0x5f476b7, ...}, ...}, ...})
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/baseapp/abci.go:185 +0x878
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/tendermint/tendermint/abci/client.(*localClient).BeginBlockSync(
, {{0xc002324640, 0x20, 0x20}, {{0xb, 0x0}, {0xc0009397e8, 0x13}, 0x5ed, {0x5f476b7, ...}, ...}, ...})
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/abci/client/local_client.go:280 +0x103
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/tendermint/tendermint/proxy.(*appConnConsensus).BeginBlockSync(_, {{0xc002324640, 0x20, 0x20}, {{0xb, 0x0}, {0xc0009397e8, 0x13}, 0x5ed, {0x5f476b7, ...}, ...}, ...})
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/proxy/app_conn.go:81 +0x55
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/dymensionxyz/dymint/block.(*Executor).ExecuteBlock(0xc0006d0f80, 0xc001754008)
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/block/executor.go:256 +0x357
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/dymensionxyz/dymint/block.(*Manager).applyBlock(0xc000994d00, 0xc001754008, 0xc00081ac60, {0x1, 0x0, {0xc00075b880, 0x1, 0x1}})
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/block/block.go:89 +0x50f
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/dymensionxyz/dymint/block.(*Manager).produceApplyGossip(0xc000994d00, {0x43da450, 0xc0007c4190}, {0x0?, 0x0?, 0x0?})
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/block/produce.go:143 +0x1ac
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/dymensionxyz/dymint/block.(*Manager).ProduceApplyGossipBlock(...)
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/block/produce.go:118
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/dymensionxyz/dymint/block.(*Manager).ProduceBlockLoop(0xc000994d00, {0x43da450, 0xc0007c4190}, 0xc0008fc620)
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/block/produce.go:52 +0x236
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/dymensionxyz/dymint/block.(*Manager).runAsProposer.func2()
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/block/modes.go:98 +0x65
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: github.com/dymensionxyz/dymint/block.(*Manager).runAsProposer.ErrGroupGoLog.func6()
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/github.com/dymensionxyz/[email protected]/utils/errors/err_group.go:18 +0x30
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: golang.org/x/sync/errgroup.(*Group).Go.func1()
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78 +0x50
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 69
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: /root/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:75 +0x96
Dec 27 06:38:52 vmi2293635.contaboserver.net roller[1435712]: ERROR rollapp's process returned an error: exit status 2
Dec 27 06:38:52 vmi2293635.contaboserver.net systemd[1]: rollapp.service: Main process exited, code=exited, status=1/FAILURE
Dec 27 06:38:52 vmi2293635.contaboserver.net systemd[1]: rollapp.service: Failed with result 'exit-code'.
Dec 27 06:38:52 vmi2293635.contaboserver.net systemd[1]: rollapp.service: Consumed 3.594s CPU time.
Dec 27 06:39:03 vmi2293635.contaboserver.net systemd[1]: rollapp.service: Scheduled restart job, restart counter is at 3.
Dec 27 06:39:03 vmi2293635.contaboserver.net systemd[1]: Stopped Roller rollapp service.

@artemijspavlovs
Copy link
Contributor

hey @eaddaa , re:

Error: failed to restart systemd services: a migration from a65646 to 7a981c is required

have you tried running roller rollapp migrate 7e85040? if so and it failed, mind sharing how it failed?

@eaddaa
Copy link
Author

eaddaa commented Dec 29, 2024

hi @artemijspavlovs
I've tried it before, but it always gives me the following error:
INFO starting migration process from a656462 to 7a981ca ERROR failed to apply migrations: the commit to migrate to must be younger than the current commit.
When I try to migrate using the roller rollapp migrate command, I get the following output:

INFO starting migration process from a656462 to 7a981ca
ERROR failed to apply migrations: the commit to migrate to must be younger then current commit
root@vmi2293635:~/rollapp-evm# roller rollapp status

❗ The Rollapp sequencer is in unhealthy state. Please check the logs for more information.

💈 RollApp ID: kittyverse_448466-1
💈 Keyring Backend: test
💈 Node ID: 12D3KooWReoDzhoEtooD6JgDE8wdoeg6cV2KVf9C38oVkquQxNJk

💈 Filesystem Paths:

Rollapp root dir: /root/.roller/rollapp

💈 Process Info:

OS: linux
Architecture: amd64
Unhealthy Message: Error making request: Get "http://localhost:26657/health": dial tcp 127.0.0.1:26657: connect: connection refused

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

No branches or pull requests

3 participants