Skip to content

Commit

Permalink
Updated to l1 provider
Browse files Browse the repository at this point in the history
  • Loading branch information
yahgwai committed Nov 14, 2023
1 parent 62a2731 commit 137dd85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-ts/proposalStage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ export class L1OutboxStage implements ProposalStage {
const message = L2ToL1Message.fromEvent(this.l1SignerOrProvider, this.l2ToL1TxEvent);
const status = await message.status(this.l2Provider);
const l2Network = await getL2Network(this.l2Provider);
const rollup = RollupUserLogic__factory.connect(l2Network.ethBridge.rollup, this.l2Provider);
const rollup = RollupUserLogic__factory.connect(l2Network.ethBridge.rollup, getProvider(this.l1SignerOrProvider)!);

const latestConfirmedNodeNum = await rollup.callStatic.latestConfirmed();
const latestCreatedNodeNum = await rollup.callStatic.latestNodeCreated();
Expand Down

0 comments on commit 137dd85

Please sign in to comment.