You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E[2023-02-07|17:02:26.666] error with store module=server error="version does not exist" key="KVStoreKey{0xc000fa0ad0, params}"
E[2023-02-07|17:02:26.666] error with store module=server error="version does not exist" key="KVStoreKey{0xc000fcbf60, evidence}"
E[2023-02-07|17:02:26.666] error with store module=server error="version does not exist" key="KVStoreKey{0xc000fac340, feegrant}"
E[2023-02-07|17:02:26.666] error with store module=server error="version does not exist" key="KVStoreKey{0xc000fcb650, authz}"
E[2023-02-07|17:02:26.666] error with store module=server error="version does not exist" key="KVStoreKey{0xc000fff330, nft}"
With that changes, only these modules do not work, and the rest of SimApp works just fine.
As the migration has been done in steps, and the import changes needed to happen at the same time (like for gogoproto. I don't think reverting adds any value.
The text was updated successfully, but these errors were encountered:
This PR fixes two issues:
- when running the chain in Docker the REST API was inaccessible
- this was due to the default Cosmos app config (app.toml settings)
specifying `localhost` in the new version instead of the previous
version which specified `0.0.0.0`
- when the REST API was accessible, all Msgs and queries threw a 500
internal server error response with the message:
```
failed to load state at height 123; version does not exist (latest height: 123)
```
where the height number was the current block number (which keeps
increasing as the chain was still progressing)
---
The solution to the "failed to load state" error was found by searching
the error which lead to the issue and PR:
- cosmos/cosmos-sdk#14949
- cosmos/cosmos-sdk#14952
The migration to CometBFT has happened in the following PRs, in this following order:
store
andapi
to CometBFT #14899 (only import change in api and store)The SDK upgraded from Tendermint v0.37.0-rc2 to CometBFT v0.37.x branch, which contains the following changes: cometbft/cometbft@059798a...v0.37.x
Giving the following error
When running
go test . -run TestFullAppSimulation -Enabled=true -NumBlocks=50 -Genesis= -Verbose=true -Commit=true -Seed=4 -Period=10 -ExportParamsPath /tmp/sim-logs-2102746239/sim_params-4.json -ExportStatePath /tmp/sim-logs-2102746239/sim_state-4.json -v -timeout 24h
.Error: rpc error: code = InvalidArgument desc = failed to load state at height 1; version does not exist (latest height: 1): invalid request
at any height.Updating the store (https://github.com/cosmos/cosmos-sdk/blob/main/store/rootmulti/store.go#L518-L521) to display the error shows the following:
Display error in store
Errors shows
With that changes, only these modules do not work, and the rest of SimApp works just fine.
As the migration has been done in steps, and the import changes needed to happen at the same time (like for gogoproto. I don't think reverting adds any value.
The text was updated successfully, but these errors were encountered: