-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(avm): Track gas from memory accesses explicitly (#5563)
Tracks gas usage for all AVM instructions based on memory consumption. Adds an optional wrapper for TaggedMemory (enabled on test only) that tracks all memory reads and writes to validate that the number of memory operations charged match the actual ones. Replaces existing #5514 and #5518 in favor of a more explicit approach, at the expense of more duplicated code in each instruction, but flattening the instruction hierarchy. Closes #5518 Closes #5514
- Loading branch information
1 parent
745d522
commit 18c9128
Showing
23 changed files
with
716 additions
and
390 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
Oops, something went wrong.