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

Add support for multiple test cases in basic evm test suite #52

Open
s1na opened this issue Dec 17, 2019 · 0 comments
Open

Add support for multiple test cases in basic evm test suite #52

s1na opened this issue Dec 17, 2019 · 0 comments

Comments

@s1na
Copy link
Collaborator

s1na commented Dec 17, 2019

In #43 we merged a relayer that generates a scout config file based on a simplified version of add11 state test which doesn't use SSTORE and doesn't do metering. But it currently supports only that one test case. We should extend it to read multiple JSON files like add.json from the fixture dir and generate a scout yaml file for each of them.

We could alternatively generate one yaml file with multiple txes in its block, but we'll then only be able to check the postStateRoot after the whole block and not each individual tx. That's why I think generating multiple yaml files gives us more granular testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant