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

try to read latest iavl versions on bootup #217

Open
martyall opened this issue Feb 20, 2020 · 2 comments
Open

try to read latest iavl versions on bootup #217

martyall opened this issue Feb 20, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@martyall
Copy link
Collaborator

right now we are implicitlly assuming that the database is new when we start the app, it should attempt to find the latest versions if they exit before making this assumption

@martyall martyall added the bug Something isn't working label Feb 20, 2020
@alexfmpe
Copy link
Contributor

alexfmpe commented Apr 23, 2020

Hit this after converting from old abci hooks to kepler module - started getting

panic: block.AppHash does not match AppHash after replay. Got 100FC429C51FB4C10F70528EA6DACBDDEA0B90FAB5278D314C84AA3C0EF45A8C, expected .

when trying to resume the app. The shown hash matches the logs from the initial run.

I'm not tracking any state besides the transactions themselves, so I was expecting the app to replay everything when resumed, but now I get that error.

tendermint/tendermint#425 suggests I should return 0 as last known block height in the info hook, but that hook is not exposed for kepler modules?

The default implementation errors with *** Exception: ParsingException "key \"data\" not present"

@martyall
Copy link
Collaborator Author

martyall commented Apr 23, 2020

If you are using kepler, are you also using the Auth module? If so are you using the provided transaction structure with nonce, etc? Because if so, then might already application state being collected by Kepler corresponding to the accounts of the transaction senders. Specifically, it might be storing accounts and updated nonces, which creates application state.

Is there a link you can provide me to your app or is it closed source?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants