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

Prestwich/context #11

Merged
merged 22 commits into from
Jul 23, 2024
Merged

Prestwich/context #11

merged 22 commits into from
Jul 23, 2024

Conversation

prestwich
Copy link
Contributor

No description provided.

@prestwich prestwich requested a review from Evalir July 22, 2024 18:55
src/lifecycle/output.rs Outdated Show resolved Hide resolved
Copy link
Member

@Evalir Evalir left a comment

Choose a reason for hiding this comment

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

I'm happy with the API but I have a pedantic nit:

I wonder if there's a better name for BlockContext::apply_tx? It seems it's expected to be doing two things:

  • Applying post-tx, BlockContext-dependent logic
  • comitting the tx to the DB

I think we should point these two things out clearly in docs, and maybe there's another method name that makes this clear (apply_and_commit?)

src/evm.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lifecycle/trait.rs Outdated Show resolved Hide resolved
Copy link
Member

@Evalir Evalir left a comment

Choose a reason for hiding this comment

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

just needs clippy / fmt

@prestwich prestwich merged commit 2624b94 into main Jul 23, 2024
4 checks passed
@Evalir Evalir deleted the prestwich/context branch July 23, 2024 16:49
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

Successfully merging this pull request may close these issues.

2 participants