-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(interpreter): refactor sstore_cost (#974)
* Refactored logic * Fixed if condition to be istanbul specific + some refactoring in calculate function * Removed nested loop * Changed name and added inline * Refactored if-else flow * Removed needless return for clippy errors * refactor * fix clippy --------- Co-authored-by: Mihir Wadekar <mwadekar2000@gmail.com>
- Loading branch information
Showing
4 changed files
with
53 additions
and
40 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
Submodule tests
added at
e89fcb