Skip to content

Commit

Permalink
deadline comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-kothari committed Oct 11, 2023
1 parent 55df0d4 commit 1b9f555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion yarn-project/end-to-end/src/canary/uniswap_l1_l2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const uniswapL1L2TestSuite = (
const wethAmountToBridge = parseEther('1');
const uniswapFeeTier = 3000n;
const minimumOutputAmount = 0n;
const deadlineForDepositingSwappedDai = BigInt(2 ** 32 - 1); // max uint32 - 1
const deadlineForDepositingSwappedDai = BigInt(2 ** 32 - 1); // max uint32

beforeAll(async () => {
let publicClient: PublicClient<HttpTransport, Chain>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class CrossChainTestHarness {
await this.underlyingERC20.write.approve([this.tokenPortalAddress.toString(), bridgeAmount], {} as any);

// Deposit tokens to the TokenPortal
const deadline = 2 ** 32 - 1; // max uint32 - 1
const deadline = 2 ** 32 - 1; // max uint32

this.logger('Sending messages to L1 portal to be consumed publicly');
const args = [
Expand All @@ -141,7 +141,7 @@ export class CrossChainTestHarness {
await this.underlyingERC20.write.approve([this.tokenPortalAddress.toString(), bridgeAmount], {} as any);

// Deposit tokens to the TokenPortal
const deadline = 2 ** 32 - 1; // max uint32 - 1
const deadline = 2 ** 32 - 1; // max uint32

this.logger('Sending messages to L1 portal to be consumed privately');
const args = [
Expand Down

0 comments on commit 1b9f555

Please sign in to comment.