Skip to content

Commit

Permalink
fix(test): fix two occasional errors when running bridge tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Nov 22, 2022
1 parent a86360d commit c528d67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/protocol/test/bridge/Bridge.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect } from "chai"
import { AddressManager, Bridge, EtherVault } from "../../typechain"
import { ethers } from "hardhat"
import { BigNumber, Signer } from "ethers"
import { ethers } from "hardhat"
import { AddressManager, Bridge, EtherVault } from "../../typechain"
import { Message } from "../utils/message"
import { Block, BlockHeader, EthGetProofResponse } from "../utils/rpc"
// import { getSlot, MessageStatus } from "../../tasks/utils"
Expand Down Expand Up @@ -860,7 +860,7 @@ describe("integration:Bridge", function () {
const storageValue = await ethers.provider.getStorageAt(
l1Bridge.address,
key,
block.hash
block.number
)
// make sure it equals 1 so our proof will pass
expect(storageValue).to.be.eq(
Expand Down Expand Up @@ -984,7 +984,7 @@ describe("integration:Bridge", function () {
const storageValue = await ethers.provider.getStorageAt(
l1Bridge.address,
key,
block.hash
block.number
)
// make sure it equals 1 so our proof will pass
expect(storageValue).to.be.eq(
Expand Down

0 comments on commit c528d67

Please sign in to comment.