-
Notifications
You must be signed in to change notification settings - Fork 860
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few fixes that re-enable docker support for evm tool * evmtool is the entrypoint * turn off some noisy logging * ensure EOF respects the create flag Signed-off-by: Danno Ferrin <[email protected]>
- Loading branch information
Showing
7 changed files
with
62 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
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
15 changes: 15 additions & 0 deletions
15
ethereum/evmtool/src/test/resources/org/hyperledger/besu/evmtool/trace/create-eof-error.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"cli": [ | ||
"--notime", | ||
"--json", | ||
"--create", | ||
"--code", | ||
"ef00010100040200010001040000000080000000c0de471fe5", | ||
"--coinbase", | ||
"4444588443C3A91288C5002483449ABA1054192B", | ||
"--fork", | ||
"CancunEOF" | ||
], | ||
"stdin": "", | ||
"stdout": "EOF Code Invalid : STOP is only a valid opcode in containers used for runtime operations.\n" | ||
} |
17 changes: 17 additions & 0 deletions
17
ethereum/evmtool/src/test/resources/org/hyperledger/besu/evmtool/trace/eof.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"cli": [ | ||
"--notime", | ||
"--json", | ||
"--code", | ||
"ef00010100040200010001040000000080000000", | ||
"--coinbase", | ||
"4444588443C3A91288C5002483449ABA1054192B", | ||
"--fork", | ||
"CancunEOF" | ||
], | ||
"stdin": "", | ||
"stdout": [ | ||
{"pc":0,"section":0,"op":0,"gas":"0x2540be400","gasCost":"0x0","memSize":0,"stack":[],"depth":1,"refund":0,"opName":"STOP"}, | ||
{"gasUser":"0x0","gasTotal":"0x0","output":"0x"} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
ethereum/evmtool/src/test/resources/org/hyperledger/besu/evmtool/trace/initcode-error.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"cli": [ | ||
"--notime", | ||
"--json", | ||
"--code", | ||
"ef00010100040200010009030001001404000000008000035f355f5fa15f5fee00ef00010100040200010001040000000080000000", | ||
"--coinbase", | ||
"4444588443C3A91288C5002483449ABA1054192B", | ||
"--fork", | ||
"CancunEOF" | ||
], | ||
"stdin": "", | ||
"stdout": "To evaluate INITCODE mode EOF code use the --create flag\n" | ||
} |