Skip to content

Commit

Permalink
Change log_idx to u32 in get_log
Browse files Browse the repository at this point in the history
  • Loading branch information
LogvinovLeon committed Jun 18, 2024
1 parent 7b5f64c commit 4849a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethereum/circuits/get_log/src/main.nr
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ fn main(
chain_id: pub Field,
block_number: pub u64,
tx_idx: pub Field,
log_idx: pub u64
log_idx: pub u32
) -> pub LogWithinBlock<MAX_LOG_DATA_LEN> {
get_log::<MAX_LOG_DATA_LEN, MAX_LOGS_COUNT>(chain_id, block_number, tx_idx, log_idx)
}

0 comments on commit 4849a16

Please sign in to comment.