Skip to content

Commit 8a2b626

Browse files
committed
resolve warnings
1 parent b0c1b95 commit 8a2b626

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+14
-2948
lines changed

ethereum/circuits/lib/src/account_int_test.nr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ use crate::fixtures::mainnet::{
55
account::{
66
account as account_from_different_header, address as address_from_different_header,
77
},
8-
header::state_root as state_root_from_different_header,
98
state_proof::proof_input_serialized as state_proof_input_from_different_header_serialized,
109
},
1110
paris::usdc_circle::{
1211
account::{account, address},
13-
header::{block_header_partial, block_header_rlp, number, state_root},
12+
header::{block_header_partial, block_header_rlp, number},
1413
state_proof::proof_input_serialized as state_proof_input_serialized,
1514
},
1615
};

ethereum/circuits/lib/src/account_with_storage.nr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use crate::verifiers::storage::verify_storage_values;
1313

1414
use dep::keccak256::keccak256;
1515

16-
pub(crate) global MAX_KEY_LEN: u32 = 32;
1716
pub(crate) global MAX_PREFIXED_KEY_NIBBLE_LEN: u32 = 66; // (MAX_KEY_LEN + 1) * 2
1817
pub(crate) global MAX_STORAGE_DEPTH_NO_LEAF_M: u32 = 6; // Emperically correct values to be determined after we scan ethereum state trie.
1918

ethereum/circuits/lib/src/account_with_storage_int_test.nr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ fn test_get_account_with_storage_invalid_state_root() {
7373

7474
#[test(should_fail_with = "Invalid node hash")]
7575
fn test_get_account_with_storage_invalid_storage_root() {
76+
// Safety: test
7677
let _ = unsafe {
7778
OracleMock::mock("get_header").returns((
7879
crypto_punks_block_header_partial, crypto_punks_block_header_rlp,

ethereum/circuits/lib/src/account_with_storage_recursive_int_test.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fn success() {
1414
let result = StorageWithinBlock { block_hash: hash, account, values };
1515
// This is not a correct proof but it passes because nargo does not verify it. Nargo thinks that it's bb's job, but doesn't call bb.
1616
let recursive_proof: RecursiveProof = std::mem::zeroed();
17-
17+
// Safety: test
1818
let _ = unsafe {
1919
OracleMock::mock("get_storage_recursive").returns((result.serialize(), recursive_proof))
2020
};
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
pub(crate) mod transaction;
2-
pub(crate) mod transaction_proof;

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

Lines changed: 0 additions & 396 deletions
This file was deleted.

ethereum/circuits/lib/src/fixtures/mainnet/frontier/first/account.nr

Lines changed: 0 additions & 29 deletions
This file was deleted.

ethereum/circuits/lib/src/fixtures/mainnet/frontier/first/state_proof.nr

Lines changed: 0 additions & 441 deletions
This file was deleted.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
pub(crate) mod header;
2-
pub(crate) mod account;
3-
pub(crate) mod state_proof;

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

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)