forked from neonevm/neon-evm
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix EXTHASHCODE * NDEV-2505: Code review suggestions (#254) * Remove unused AccountStorage::code_hash method * Replace Buffer::buffer_is_empty with [T]::is_empty * Rename from_address to address (consistent with trait) * Rename buffer to code * Inline data_account_exists method * Remove TODOs * Reformat * Add test_keccak_hash_empty_slice * Add Buffer::is_empty tests * Use early return to simplify code flow * Move `Database` convenience functions to extension trait Added `DatabaseExt` which implements functions that can be implemented in terms of `Database`. * Update comments and naming * Add tests * Address comment * Refactor unit tests * Replace maybe_async::test with tokio::test The maybe_async::test predicate does not work with `cargo test-sbf` right now anyway. * Fix typo --------- Co-authored-by: Andrei Silviu Dragnea <[email protected]>
- Loading branch information
1 parent
7e70f95
commit 9b55e5e
Showing
8 changed files
with
262 additions
and
63 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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