Skip to content

Commit

Permalink
Test CI on failed e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
wcgcyx committed Nov 23, 2023
1 parent 48dc232 commit 4207a9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/bootstrap/7_imx_rebalancing.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async function run() {
// Get amount to balance on L2
let bridgeBal = await childProvider.getBalance(childBridgeAddr);
let multisigBal = await childProvider.getBalance(multisigAddr);
let balanceAmt = ethers.utils.parseEther(TOTAL_SUPPLY).sub(bridgeBal).sub(multisigBal).mul(1000);
let balanceAmt = ethers.utils.parseEther(TOTAL_SUPPLY).sub(bridgeBal).sub(multisigBal);

console.log("The amount to balance on L1 is: ", ethers.utils.formatEther(balanceAmt));
let IMX = new ethers.Contract(rootIMXAddr, IMX_ABI, rootProvider);
Expand Down
2 changes: 1 addition & 1 deletion scripts/e2e/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ describe("Bridge e2e test", () => {

// Verify
let expectedPostL1 = preBalL1.sub(amt);
let expectedPostL2 = preBalL2.add(amt);
let expectedPostL2 = preBalL2.add(amt).add(1);
expect(postBalL1.toBigInt()).to.equal(expectedPostL1.toBigInt());
expect(postBalL2.toBigInt()).to.equal(expectedPostL2.toBigInt());
}).timeout(60000)
Expand Down

0 comments on commit 4207a9d

Please sign in to comment.