Skip to content

Commit e32ff64

Browse files
committed
Merge branch 'main' of https://github.com/noir-lang/eth-proofs into jl/new_compile
2 parents c2698c0 + b2ff327 commit e32ff64

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

ethereum/circuits/lib/Nargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ authors = ["Arkadiusz Konior, Marek Kirejczyk"]
55
compiler_version = ">=0.30.0"
66

77
[dependencies]
8-
bignum = { tag = "v0.8.2", git = "https://github.com/noir-lang/noir-bignum" }
98
keccak256 = {tag = "v0.1.1", git = "https://github.com/noir-lang/keccak256" }

vlayer/ethereum/circuits/lib/Nargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ compiler_version = ">=0.30.0"
55

66
[dependencies]
77
ethereum = { path = "../../../../ethereum/circuits/lib" }
8-
bignum = { tag = "v0.8.2", git = "https://github.com/noir-lang/noir-bignum" }
98
keccak256 = {tag = "v0.1.1", git = "https://github.com/noir-lang/keccak256" }

vlayer/ethereum/circuits/lib/src/slot_test.nr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ mod mapping {
6161
mod dynamic_array {
6262
use crate::slot::dynamic_array;
6363
use dep::ethereum::misc::{bytes32::field_to_bytes32, bytes32_test::MAX_FIELD_VALUE};
64-
use bignum::U256;
64+
use dep::ethereum::uint256::U256;
6565

6666
#[test]
6767
fn index_zero() {
68-
let slot = U256::from(2);
68+
let slot = U256::from_field(2);
6969
let expected_slot = U256::from([
7070
0x40, 0x57, 0x87, 0xfa, 0x12, 0xa8, 0x23, 0xe0, 0xf2, 0xb7, 0x63, 0x1c, 0xc4, 0x1b,
7171
0x3b, 0xa8, 0x82, 0x8b, 0x33, 0x21, 0xca, 0x81, 0x11, 0x11, 0xfa, 0x75, 0xcd, 0x3a,

0 commit comments

Comments
 (0)