Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into wasm-support
Browse files Browse the repository at this point in the history
  • Loading branch information
adria0 authored Jan 17, 2024
2 parents a5cfcd8 + 05b2b17 commit c2058c6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"zkevm-circuits",
"bus-mapping",
Expand Down
1 change: 1 addition & 0 deletions bus-mapping/src/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ impl RWCounter {
}

/// Enum used to differenciate between EVM Stack, Memory and Storage operations.
/// This is also used as the RwTableTag for the RwTable.
#[derive(Debug, Clone, PartialEq, Eq, Copy, EnumIter, Hash)]
pub enum Target {
/// Start is a padding operation.
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ mock_prover = []

[build-dependencies]
env = "0.0.0"
ethers = "=2.0.10"
ethers = { version = "=2.0.10", features = ["ethers-solc"] }
ethers-contract-abigen = "=2.0.10"
glob = "0.3.1"
log = "0.4.14"
Expand Down
3 changes: 1 addition & 2 deletions light-client-poc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name = "light-client-poc"
version = "0.1.0"
edition = "2021"
resolver = "2"

[dependencies]
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -28,4 +27,4 @@ ahash = "=0.8.6"
ctor = "0.1.22"

[features]
disable-keccak = []
disable-keccak = []
2 changes: 1 addition & 1 deletion zkevm-circuits/src/evm_circuit/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ pub(crate) enum Lookup<F> {
/// A boolean value to specify if the access record is a read or write.
is_write: Expression<F>,
/// Tag to specify which read-write data to access, see RwTableTag for
/// all tags.
/// all tags. RwTableTag is bus_mapping::operation::Target (PR#1406)
tag: Expression<F>,
/// Values corresponding to the tag.
values: RwValues<F>,
Expand Down
2 changes: 1 addition & 1 deletion zkevm-circuits/src/table/rw_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub struct RwTable {
pub rw_counter: Column<Advice>,
/// Is Write
pub is_write: Column<Advice>,
/// Tag
/// Tag (bus_mapping::operation::Target)
pub tag: Column<Advice>,
/// Key1 (Id)
pub id: Column<Advice>,
Expand Down

0 comments on commit c2058c6

Please sign in to comment.