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 gas_used to State Test fixtures #1115

Open
marioevz opened this issue Jan 23, 2025 · 0 comments
Open

Add gas_used to State Test fixtures #1115

marioevz opened this issue Jan 23, 2025 · 0 comments

Comments

@marioevz
Copy link
Member

          Added a comment, but I'm thinking that, to make it easier when debugging the test, we could include the `gas_used` field in the state test fixture.

Potentially here:

class FixtureForkPost(CamelModel):
"""Type used to describe the post state of a single Fork."""
state_root: Hash = Field(..., alias="hash")
logs_hash: Hash = Field(..., alias="logs")
tx_bytes: Bytes = Field(..., alias="txbytes")
indexes: FixtureForkPostIndexes = Field(default_factory=FixtureForkPostIndexes)
state: Alloc
expect_exception: TransactionExceptionInstanceOrList | None = None

Originally posted by @marioevz in #1071 (comment)

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

1 participant