-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
There was a problem hiding this 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
?)
There was a problem hiding this 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
No description provided.