We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SetBatchToLastBlock
1 parent a9ab08f commit d677404Copy full SHA for d677404
eth/taiko_api_backend.go
@@ -173,9 +173,9 @@ func (a *TaikoAuthAPIBackend) SetHeadL1Origin(blockID *math.HexOrDecimal256) *he
173
func (a *TaikoAuthAPIBackend) SetBatchToLastBlock(
174
batchID *math.HexOrDecimal256,
175
blockID *math.HexOrDecimal256,
176
-) *big.Int {
+) *hexutil.Big {
177
rawdb.WriteBatchToLastBlockID(a.eth.ChainDb(), (*big.Int)(batchID), (*big.Int)(blockID))
178
- return (*big.Int)(batchID)
+ return (*hexutil.Big)(batchID)
179
}
180
181
// UpdateL1Origin updates the L2 block's corresponding L1 origin.
0 commit comments