Skip to content

Commit 61a624f

Browse files
committed
fixes
1 parent 8130404 commit 61a624f

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

ethereum/circuits/lib/src/fixtures/mainnet/cancun/transfer/receipt.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ global receipt_rlp: [u8; 999] = [
6868
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
6969
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
7070
];
71-
pub(crate) global encoded_receipt: Fragment<999, u8> = Fragment::from_array([
71+
pub(crate) global encoded_receipt: Fragment<1000, u8> = Fragment::from_array([
7272
0x02, 0xf9, 0x01, 0x09, 0x01, 0x83, 0x6a, 0xbf, 0x71, 0xb9, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
7373
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
7474
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

ethereum/circuits/lib/src/fixtures/mainnet/frontier/zero/header.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::header::BlockHeaderPartial;
1+
use crate::{header::BlockHeaderPartial, misc::types::Bytes32};
22

33
global number: u64 = 0;
44
global hash: Bytes32 = [

ethereum/circuits/lib/src/fixtures/mainnet/paris/usdc_uniswap/storage_proof.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use crate::account_with_storage::{
55
use crate::merkle_patricia_proofs::proof::{Proof, ProofInput};
66
use crate::serde::Serde;
77

8-
global proofs: [ProofInput<66, 32, 6, 69>; 1] = [
8+
pub(crate) global proofs: [ProofInput<66, 32, 6, 69>; 1] = [
99
ProofInput {
1010
key: [
1111
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

ethereum/circuits/lib/src/rlp/types_test.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ mod rlp_fragment {
244244

245245
#[test(should_fail_with = "Field: Invalid RLP value")]
246246
fn invalid_value() {
247-
fragment.assert_eq_u128("Field", encoded_value, value + U128::from_integer(1))
247+
fragment.assert_eq_u128("Field", encoded_value, value + 1)
248248
}
249249
}
250250

ethereum/circuits/lib/src/serde_test.nr

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,10 @@ mod proof_input {
172172
use crate::misc::arrays::sub_array_equals;
173173
use crate::receipt::{
174174
MAX_DEPTH_NO_LEAF as RECEIPT_MAX_DEPTH_NO_LEAF, MAX_LEAF_LEN_M as RECEIPT_MAX_LEAF_LEN_M,
175+
MAX_PREFIXED_KEY_NIBBLE_LEN as RECEIPT_MAX_PREFIXED_KEY_NIBBLE_LEN,
176+
MAX_VALUE_LEN_M as RECEIPT_MAX_VALUE_LEN_M,
175177
};
176-
use crate::serde::{RECEIPT_MAX_PREFIXED_KEY_NIBBLE_LEN, RECEIPT_MAX_VALUE_LEN_M, Serde};
178+
use crate::serde::Serde;
177179

178180
#[test]
179181
fn simple() {

0 commit comments

Comments
 (0)