-
Notifications
You must be signed in to change notification settings - Fork 467
Add a trace option that counts executed opcodes #1351
Copy link
Copy link
Labels
A-spec-toolArea: Specification Tooling—Tools for the Ethereum specification (eg. `src/ethereum_spec_tools/*`)Area: Specification Tooling—Tools for the Ethereum specification (eg. `src/ethereum_spec_tools/*`)C-featCategory: an improvement or new featureCategory: an improvement or new featureE-easyExperience: easy, good for newcomersExperience: easy, good for newcomers
Metadata
Metadata
Assignees
Labels
A-spec-toolArea: Specification Tooling—Tools for the Ethereum specification (eg. `src/ethereum_spec_tools/*`)Area: Specification Tooling—Tools for the Ethereum specification (eg. `src/ethereum_spec_tools/*`)C-featCategory: an improvement or new featureCategory: an improvement or new featureE-easyExperience: easy, good for newcomersExperience: easy, good for newcomers
Type
Fields
Give feedbackNo fields configured for Feature.
See ipsilon/evmone#1274 for an implementation.
The general shape of this interface is:
--opcode.count <file-name>.Sample JSON:
{ "STOP": 1, "ADD": 1, "MOD": 1, "EQ": 1, "CALLER": 1, "CALLDATALOAD": 1, "TIMESTAMP": 2, "SSTORE": 2, "JUMPI": 1, "JUMPDEST": 1, "PUSH0": 2, "PUSH1": 2, "PUSH3": 2, "PUSH20": 1, "DUP2": 1, "SWAP1": 1, "RETURN": 1 }