fix(execution): Increase cache scope, and apply block reward to cache (#793)

* bug: Apply block reward to evm cache

* Move cache to all blocks

* add tests

* Update crates/executor/src/executor.rs

Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>

Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
This commit is contained in:
rakita
2023-01-10 17:05:50 +01:00
committed by GitHub
parent 515590faa8
commit e5e74cbc02
10 changed files with 329 additions and 236 deletions

View File

@ -16,7 +16,7 @@ no_codec = ["codecs-derive/no_codec"]
[dependencies]
bytes = "1.2.1"
codecs-derive = { version = "0.1.0", path = "./derive", default-features = false }
revm-interpreter = { git = "https://github.com/bluealloy/revm", rev = "3a13c9c8a0cda728941f1b26db0beb1025744ea9", features = ["with-serde"] }
revm-interpreter = { git = "https://github.com/bluealloy/revm", rev = "a05fb262d87c78ee52d400e6c0f4708d4c527f32", features = ["serde"] }
[dev-dependencies]
serde = "1.0"