forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Message call witness gas charging #44
Closed
jwasinger
wants to merge
1
commit into
gballet:verkle-trie-proof-in-block-rebased
from
jwasinger:message-call-witness-gas-charging
Closed
Message call witness gas charging #44
jwasinger
wants to merge
1
commit into
gballet:verkle-trie-proof-in-block-rebased
from
jwasinger:message-call-witness-gas-charging
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a534515
to
64ad793
Compare
dd7f84a
to
40ed0c0
Compare
fa38b92
to
d1fdcdd
Compare
d1fdcdd
to
5769e36
Compare
gballet
reviewed
Jan 5, 2022
gballet
reviewed
Jan 13, 2022
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.
lint pass needed
gballet
requested changes
Jan 13, 2022
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.
found more issues here, chief of all that it no longer creates a proof.
17d1d09
to
9825e44
Compare
9825e44
to
15d84a9
Compare
Merged in #60, closing |
gballet
added a commit
that referenced
this pull request
Jun 14, 2022
Co-authored-by: ubuntu <ubuntu@geth-verkle1.ethdevops.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Based on top of #42
Adds part of the logic for witness gas charging from https://notes.ethereum.org/-fJSOrnYQl-mqoWKpaTIsQ . Note that this treats all events as access events unlike the spec. The purpose of this PR is to put in place the logic necessary to charge witness gas costs for message calling (
CALL
,CALLCODE
,DELEGATECALL
,STATICCALL
,SELFDESTRUCT
,CREATE
,CREATE2
).Once this PR is done and approved, I will rebase #37 and change the individual
Touch*
calls to eitherTouchOnReadAndChargeGas
orTouchOnWriteAndChargeGas
.