forked from rust-ethereum/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.
Feat: refactore CLI tool and CI, tests cleanup (#43)
* Extend tests output and refactore tests runner * Refactored CLI for recursive tests and extended information * Set Shanghai spec as default * Extend output for tests * evm-tests: extend state statistics for failed results * evm-tests: extended debug info * Extend gas cost analyzer * Extend tests and fixes for Cancun hard fork * Fix: Apply CREATE storage reset - changed logic. GAS cost for MCOPY - improved calculation * EIP-3607 implementation. DeepCall bug fixes. KZG-boilerplate * KZG precompile * EIP-3860 test flow fixes * Fix Shanghai tests * Removev debug info * Separate check_exit_reason func * Remove printing * Added `as_deref` to check_create_exit_reason * Fix: tests for EIP-3860 (#41) undefined * ForkSpec string error. Refactored usage as constantn USIZE_MAX * Remove already fixed tests from skipping list * Refactore blob-hash logic and tests * Added KzgInput * Gas price fix and investigations for blob-transactions * Refactored skipped-match and clippy * Refactored gas price and should-skip logic * Fix tests for KZG-precompiles and SSTORE gas cost * Added print-debug feature * Fix randomness validation * Refactore transactions validation * Extend expected check for call-transaction and empty-create assertion * Edit doc comments * Refactore CLI tool for test run * remove vm-tests * update vm-tests validations * remove state tests * Remove submodule: ethtests * Update CI rules * Update CI rules * Update Cargo metadata * Update cargo features
- Loading branch information
Showing
15 changed files
with
295 additions
and
557 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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "evm" | ||
version = "0.41.0" | ||
version = "0.42.0" | ||
license = "Apache-2.0" | ||
authors = ["Wei Tang <[email protected]>", "Parity Technologies <[email protected]>"] | ||
description = "SputnikVM - a Portable Blockchain Virtual Machine" | ||
repository = "https://github.com/sorpaas/rust-evm" | ||
keywords = ["no_std", "ethereum"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
auto_impl = "1.0" | ||
|
@@ -19,12 +19,12 @@ sha3 = { version = "0.10", default-features = false } | |
# Optional dependencies | ||
environmental = { version = "1.1.2", default-features = false, optional = true } | ||
scale-codec = { package = "parity-scale-codec", version = "3.2", default-features = false, features = ["derive"], optional = true } | ||
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true } | ||
scale-info = { version = "2.11", default-features = false, features = ["derive"], optional = true } | ||
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true } | ||
|
||
evm-core = { version = "0.41", path = "core", default-features = false } | ||
evm-gasometer = { version = "0.41", path = "gasometer", default-features = false } | ||
evm-runtime = { version = "0.41", path = "runtime", default-features = false } | ||
evm-core = { version = "0.42", path = "core", default-features = false } | ||
evm-gasometer = { version = "0.42", path = "gasometer", default-features = false } | ||
evm-runtime = { version = "0.42", path = "runtime", default-features = false } | ||
|
||
[dev-dependencies] | ||
criterion = "0.5" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[package] | ||
name = "evm-core" | ||
version = "0.41.0" | ||
version = "0.42.0" | ||
license = "Apache-2.0" | ||
authors = ["Wei Tang <[email protected]>", "Parity Technologies <[email protected]>"] | ||
description = "Portable Ethereum Virtual Machine implementation written in pure Rust." | ||
repository = "https://github.com/sorpaas/rust-evm" | ||
keywords = ["no_std", "ethereum"] | ||
edition = "2018" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
log = { version = "0.4", optional = true } | ||
|
@@ -21,21 +21,21 @@ hex = "0.4" | |
[features] | ||
default = ["std"] | ||
std = [ | ||
"primitive-types/std", | ||
"serde/std", | ||
"scale-codec/std", | ||
"scale-info/std", | ||
"primitive-types/std", | ||
"serde/std", | ||
"scale-codec/std", | ||
"scale-info/std", | ||
] | ||
with-codec = [ | ||
"scale-codec", | ||
"scale-info", | ||
"primitive-types/impl-codec", | ||
"scale-codec", | ||
"scale-info", | ||
"primitive-types/impl-codec", | ||
] | ||
with-serde = [ | ||
"serde", | ||
"primitive-types/impl-serde", | ||
"serde", | ||
"primitive-types/impl-serde", | ||
] | ||
force-debug = [ | ||
"log", | ||
"log", | ||
] | ||
tracing = [] |
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 ethtests
deleted from
066a58
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.