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

More robust testing for storage bootstrap #385

Open
birchmd opened this issue Dec 6, 2021 · 0 comments
Open

More robust testing for storage bootstrap #385

birchmd opened this issue Dec 6, 2021 · 0 comments
Labels
A-standalone Area: the standalone engine EVM A-testing Area: If something has added tests, or changed them.

Comments

@birchmd
Copy link
Member

birchmd commented Dec 6, 2021

#379 introduces a way to bootstrap the standalone engine storage from the relayer database. During development some testing was done using the mainnet and testnet snapshots (see the ignored test from that PR), however this is not appropriate for CI since the DBs involved are very large.

The purpose of this issue is to create a small-ish DB containing transactions and blocks that exercise all the bootstrap functionality. This includes a mix of successful and failed transactions. And since we will know the state after each transaction we can also add asserts into the test to check the transactions are applied correctly.

@birchmd birchmd added A-testing Area: If something has added tests, or changed them. A-standalone Area: the standalone engine EVM labels Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-standalone Area: the standalone engine EVM A-testing Area: If something has added tests, or changed them.
Projects
None yet
Development

No branches or pull requests

1 participant