Skip to content

Commit a2df451

Browse files
committed
fix
1 parent 3e2adea commit a2df451

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed
Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
use crate::{account::Account, misc::types::Bytes32};
22

3-
global address: [u8; 20] = [
4-
0x9c, 0x8f, 0xf3, 0x14, 0xc9, 0xbc, 0x7f, 0x6e, 0x59, 0xa9, 0xd9, 0x22, 0x5f, 0xb2, 0x29, 0x46,
5-
0x42, 0x7e, 0xdc, 0x03,
6-
];
7-
8-
global rlp_encoded_left_padded_account: [u8; 110] = [
9-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
10-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
11-
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x44, 0x01, 0x80, 0xa0, 0x85, 0xf1, 0x2f,
12-
0x77, 0x60, 0xbd, 0x7c, 0x79, 0x5a, 0xc3, 0x9c, 0x42, 0xc6, 0xba, 0xc1, 0xb0, 0x9e, 0xbe, 0xd8,
13-
0x73, 0x31, 0xba, 0x07, 0x13, 0xe3, 0xcf, 0xea, 0x16, 0x5d, 0xee, 0x32, 0xa2, 0xa0, 0xd4, 0xe5,
14-
0xa9, 0xdf, 0xf2, 0x2a, 0xcb, 0x67, 0x5a, 0x29, 0x1c, 0x79, 0x61, 0x6f, 0x91, 0xb1, 0x52, 0x6c,
15-
0xe1, 0xa8, 0x4d, 0xff, 0x4b, 0xd9, 0x69, 0x5f, 0x3f, 0x39, 0xae, 0x77, 0x9f, 0x11,
16-
];
17-
183
global nonce: u64 = 1;
194
global balance: Field = 0;
205
global storage_root: Bytes32 = [
@@ -25,5 +10,3 @@ global code_hash: Bytes32 = [
2510
0xd4, 0xe5, 0xa9, 0xdf, 0xf2, 0x2a, 0xcb, 0x67, 0x5a, 0x29, 0x1c, 0x79, 0x61, 0x6f, 0x91, 0xb1,
2611
0x52, 0x6c, 0xe1, 0xa8, 0x4d, 0xff, 0x4b, 0xd9, 0x69, 0x5f, 0x3f, 0x39, 0xae, 0x77, 0x9f, 0x11,
2712
];
28-
29-
global account: Account = Account { nonce, balance, storage_root, code_hash };

ethereum/circuits/lib/src/merkle_patricia_proofs/proof_test.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ mod verify_leaf {
420420
use crate::misc::{bytes::bytes_to_nibbles, fragment::Fragment};
421421

422422
global empty_key: Fragment<2, u8> = Fragment::new_with_length(0, [0; 2]);
423-
global empty_value: [u8; 3] = [0xc2, 0x20, 0x80];
423+
global empty_value: [u8; 0] = [];
424424
global empty_leaf: [u8; 3] = [0xc2, 0x20, 0x80]; // ["0x20","0x"]
425425

426426
global MAX_PREFIXED_KEY_NIBBLE_LEN: u32 = 6;

0 commit comments

Comments
 (0)