-
Notifications
You must be signed in to change notification settings - Fork 1k
Add parameters to EVM library fluent API #5930
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
349b4bf
Add parameters to EVM library fluent API
shemnon a07935d
fix timestamp
shemnon ea2f6d5
initial nonce
shemnon d1084eb
parametric EVM version
shemnon b3b2259
layered reverts with simple world.
shemnon d361cac
fix initial nonce in homestad, improve evm methods
shemnon 0870f0e
fix camel casing
shemnon 65a2d70
javadoc and speling
shemnon 014cac1
simple world lookup
shemnon 337b425
Wire in EIP-3651 to evmTool and fluent interfaces.
shemnon 513e0f6
fix shanghai warm coinbase activation
shemnon 3d50d26
testing
shemnon f897aa0
javadoc
shemnon 77bd40b
spotless
shemnon 28c6aae
Merge branch 'main' into enhance-fluent-evm
shemnon 4d25102
tpyos
shemnon 0208f79
Reduce Address Object Allocations
shemnon 5a787bc
Merge branch 'main' into enhance-fluent-evm
shemnon d90c7e1
adjust mocks
shemnon 7778b70
remove logging, reorder calculation to EIP order
shemnon 70ed6a0
spotless
shemnon 5b3f18a
review changes
shemnon e3caf35
zero
shemnon f663a51
tpyo
shemnon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
57 changes: 57 additions & 0 deletions
57
ethereum/evmtool/src/test/resources/org/hyperledger/besu/evmtool/trace/coinbase-cold.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| { | ||
| "cli": [ | ||
| "--notime", | ||
| "--json", | ||
| "--code", | ||
| "4131ff", | ||
| "--coinbase", | ||
| "4444588443C3A91288C5002483449ABA1054192B", | ||
| "--fork", | ||
| "paris" | ||
| ], | ||
| "stdin": "", | ||
| "stdout": [ | ||
| { | ||
| "pc": 0, | ||
| "op": 65, | ||
| "gas": "0x2540b91f8", | ||
| "gasCost": "0x2", | ||
| "memSize": 0, | ||
| "stack": [], | ||
| "depth": 1, | ||
| "refund": 0, | ||
| "opName": "COINBASE" | ||
| }, | ||
| { | ||
| "pc": 1, | ||
| "op": 49, | ||
| "gas": "0x2540b91f6", | ||
| "gasCost": "0xa28", | ||
| "memSize": 0, | ||
| "stack": [ | ||
| "0x4444588443c3a91288c5002483449aba1054192b" | ||
| ], | ||
| "depth": 1, | ||
| "refund": 0, | ||
| "opName": "BALANCE" | ||
| }, | ||
| { | ||
| "pc": 2, | ||
| "op": 255, | ||
| "gas": "0x2540b87ce", | ||
| "gasCost": "0x1388", | ||
| "memSize": 0, | ||
| "stack": [ | ||
| "0x0" | ||
| ], | ||
| "depth": 1, | ||
| "refund": 0, | ||
| "opName": "SELFDESTRUCT" | ||
| }, | ||
| { | ||
| "gasUser": "0x1db2", | ||
| "gasTotal": "0x1db2", | ||
| "output": "0x" | ||
| } | ||
| ] | ||
| } |
57 changes: 57 additions & 0 deletions
57
ethereum/evmtool/src/test/resources/org/hyperledger/besu/evmtool/trace/coinbase-warm.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| { | ||
| "cli": [ | ||
| "--notime", | ||
| "--json", | ||
| "--code", | ||
| "4131ff", | ||
| "--coinbase", | ||
| "4444588443C3A91288C5002483449ABA1054192B", | ||
| "--fork", | ||
| "shanghai" | ||
| ], | ||
| "stdin": "", | ||
| "stdout": [ | ||
| { | ||
| "pc": 0, | ||
| "op": 65, | ||
| "gas": "0x2540b91f8", | ||
| "gasCost": "0x2", | ||
| "memSize": 0, | ||
| "stack": [], | ||
| "depth": 1, | ||
| "refund": 0, | ||
| "opName": "COINBASE" | ||
| }, | ||
| { | ||
| "pc": 1, | ||
| "op": 49, | ||
| "gas": "0x2540b91f6", | ||
| "gasCost": "0x64", | ||
| "memSize": 0, | ||
| "stack": [ | ||
| "0x4444588443c3a91288c5002483449aba1054192b" | ||
| ], | ||
| "depth": 1, | ||
| "refund": 0, | ||
| "opName": "BALANCE" | ||
| }, | ||
| { | ||
| "pc": 2, | ||
| "op": 255, | ||
| "gas": "0x2540b9192", | ||
| "gasCost": "0x1388", | ||
| "memSize": 0, | ||
| "stack": [ | ||
| "0x0" | ||
| ], | ||
| "depth": 1, | ||
| "refund": 0, | ||
| "opName": "SELFDESTRUCT" | ||
| }, | ||
| { | ||
| "gasUser": "0x13ee", | ||
| "gasTotal": "0x13ee", | ||
| "output": "0x" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
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.
Even old New York was once New Amsterdam
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.
giantCase