Skip to content

Commit e6829b3

Browse files
committed
based changes
1 parent 303c47a commit e6829b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

op-node/cmd/genesis/systemconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func NewSystemConfigContract(caller *batching.MultiCaller, addr common.Address)
2828
}
2929

3030
func (c *SystemConfigContract) StartBlock(ctx context.Context) (*big.Int, error) {
31-
result, err := c.caller.SingleCall(ctx, rpcblock.Latest, c.contract.Call(methodStartBlock))
31+
result, err := c.caller.SingleCall(ctx, rpcblock.ByNumber(0), c.contract.Call(methodStartBlock))
3232
if err != nil {
3333
return nil, fmt.Errorf("failed to call startBlock: %w", err)
3434
}

0 commit comments

Comments
 (0)