Skip to content

Commit

Permalink
feat: added test for signed repay with l2 pool
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaquinBattilana committed Sep 15, 2023
1 parent 30c68cc commit 718b1e3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -639,12 +639,14 @@ describe('PoolBundle', () => {
'0x532f8df4e2502bd869fb35e9301156f9b307380afdcc25cfbc87b2e939f16f7e47c326dc26eb918d327358797ee67ad7415d871ef7eaf0d4f6352d3ad021fbb41c',
deadline: '10000',
useOptimizedPath: true,
encodedTxData:
'0x0000000000000000000000000000000000000000000000000000006d6168616d',
});

expect(result.to).toEqual(POOL);
expect(result.from).toEqual(USER);
expect(result.data).toEqual(
'0xee3e210b00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000001c532f8df4e2502bd869fb35e9301156f9b307380afdcc25cfbc87b2e939f16f7e47c326dc26eb918d327358797ee67ad7415d871ef7eaf0d4f6352d3ad021fbb4',
'0x94b576de0000000000000000000000000000000000000000000000000000006d6168616d532f8df4e2502bd869fb35e9301156f9b307380afdcc25cfbc87b2e939f16f7e47c326dc26eb918d327358797ee67ad7415d871ef7eaf0d4f6352d3ad021fbb4',
);
});

Expand Down

0 comments on commit 718b1e3

Please sign in to comment.