Skip to content

Conversation

@ceyonur
Copy link
Collaborator

@ceyonur ceyonur commented Sep 23, 2025

Why this should be merged

The test was trying to create a block from scratch which was expected pass all verification checks but verifyIntrinsicGas. This makes it pretty much a very general test that needs to be modified once we add new checks. See: https://github.com/ava-labs/coreth/actions/runs/17954616010/job/51062564470?pr=1263#step:10:274

How this works

Defers block building to vm, so that it will return a correct block. Then it modifies relevant parts

How this was tested

UT

Need to be documented?

no

Need to update RELEASES.md?

no

@ceyonur ceyonur requested a review from a team as a code owner September 23, 2025 18:17
@ceyonur ceyonur self-assigned this Sep 23, 2025
@ceyonur ceyonur added the testing Anything testing-related label Sep 23, 2025
Copy link
Contributor

@alarso16 alarso16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. The GasFeeCap and GasTipCap do seem irrelevant to the test

@ceyonur ceyonur added this pull request to the merge queue Sep 23, 2025
Merged via the queue into master with commit 6e7bcd6 Sep 23, 2025
9 checks passed
@ceyonur ceyonur deleted the ceyonur/simplify-block-gas-validation-test branch September 23, 2025 20:19
JonathanOppenheimer pushed a commit that referenced this pull request Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Anything testing-related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants