Skip to content

Commit

Permalink
force L1 origin to be finalized L1 block
Browse files Browse the repository at this point in the history
  • Loading branch information
claymega committed Oct 15, 2024
1 parent 0220aed commit cfd5610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-node/cmd/genesis/systemconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func NewSystemConfigContract(caller *batching.MultiCaller, addr common.Address)
}

func (c *SystemConfigContract) StartBlock(ctx context.Context) (*big.Int, error) {
result, err := c.caller.SingleCall(ctx, rpcblock.Latest, c.contract.Call(methodStartBlock))
result, err := c.caller.SingleCall(ctx, rpcblock.Finalized, c.contract.Call(methodStartBlock))
if err != nil {
return nil, fmt.Errorf("failed to call startBlock: %w", err)
}
Expand Down

0 comments on commit cfd5610

Please sign in to comment.