Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

take chain_id modulo u32 in account as well #1085

Merged
merged 1 commit into from
Apr 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/kakarot/accounts/library.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ namespace AccountContract {
let r = Uint256(tx_info.signature[0], tx_info.signature[1]);
let s = Uint256(tx_info.signature[2], tx_info.signature[3]);
let v = tx_info.signature[4];
let (_, chain_id) = unsigned_div_rem(tx_info.chain_id, 2 ** 64);
let (_, chain_id) = unsigned_div_rem(tx_info.chain_id, 2 ** 32);

EthTransaction.validate(
address,
Expand Down
Loading