Skip to content

Commit

Permalink
fix: another test with same problem as previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
uri-99 committed Mar 6, 2024
1 parent cec319e commit d2577d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/cairo/src/tests/test_escrow_allowance.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,10 @@ mod Escrow {
#[test]
fn test_fail_random_eth_user_calls_l1_handler() {
let (escrow, _) = setup();
let data: Array<felt252> = array![1, MM_ETHEREUM().into(), 3, 4];
let data: Array<felt252> = array![1.into(), MM_ETHEREUM().into(), 3.into(), 4.into()];
let mut payload_buffer: Array<felt252> = ArrayTrait::new();
data.serialize(ref payload_buffer);

let mut l1_handler = L1HandlerTrait::new(
contract_address: escrow.contract_address,
function_name: 'claim_payment',
Expand Down

0 comments on commit d2577d8

Please sign in to comment.