Skip to content

Commit

Permalink
Update to zkVM v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgar2017 committed Apr 4, 2024
1 parent f867c80 commit 419914f
Show file tree
Hide file tree
Showing 116 changed files with 5,384 additions and 2,005 deletions.
17 changes: 9 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,25 @@
# These are backup files generated by rustfmt
**/*.rs.bk

# MacOS
/**/.DS_Store

# IDE
/.idea/
/.vscode/

# The LLVM framework source
/llvm/

# External compilers
/solc-bin/*
/solc-bin*/*
/vyper-bin/*

# The debug and trace artifacts
# The debug, trace, benchmark artifacts
/debug/
/trace/

# The dependency locks
# /Cargo.lock
# /LLVM.lock

# IDE
/.idea/
/.vscode/

# MacOS
/**/.DS_Store
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[submodule "tests"]
path = tests
url = https://github.com/matter-labs/era-compiler-tests
branch = main
branch = v1.5.0
[submodule "solidity"]
path = solidity
url = https://github.com/ethereum/solidity
branch = develop
[submodule "era-contracts"]
path = era-contracts
url = https://github.com/matter-labs/era-contracts
branch = release-v20-1.4.1-short-term-fee-model
branch = az-benchmark-evm-interpreter
119 changes: 96 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion benchmark_analyzer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "benchmark-analyzer"
version = "1.4.1"
version = "1.5.0"
authors = [
"Oleksandr Zarudnyi <[email protected]>",
]
Expand Down
13 changes: 10 additions & 3 deletions benchmark_analyzer/src/benchmark/group/element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,21 @@ pub struct Element {
/// The number of cycles.
pub cycles: usize,
/// The number of ergs.
pub ergs: u32,
pub ergs: u64,
/// The number of EVM gas.
pub gas: u64,
}

impl Element {
///
/// A shortcut constructor.
///
pub fn new(size: Option<usize>, cycles: usize, ergs: u32) -> Self {
Self { size, cycles, ergs }
pub fn new(size: Option<usize>, cycles: usize, ergs: u64, gas: u64) -> Self {
Self {
size,
cycles,
ergs,
gas,
}
}
}
Loading

0 comments on commit 419914f

Please sign in to comment.