Skip to content

Commit

Permalink
Use provider for old rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
yahgwai committed Oct 11, 2023
1 parent 817929d commit eb74804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/scripts/boldUpgradeFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const populateLookup = async (
preImageHashLookupAddr: string,
rollupReaderAddr: string
) => {
const oldRollup = new Contract(rollupAddr, OldRollupAbi, wallet)
const oldRollup = new Contract(rollupAddr, OldRollupAbi, wallet.provider)
const latestConfirmed: number = await oldRollup.latestConfirmed()
const latestConfirmedLog = await wallet.provider!.getLogs({
address: rollupAddr,
Expand Down

0 comments on commit eb74804

Please sign in to comment.