From 5bd76f333be3fdd54fd48db02723f8b84726daf1 Mon Sep 17 00:00:00 2001 From: ganeshvanahalli Date: Mon, 25 Sep 2023 10:13:48 -0500 Subject: [PATCH] add documentation --- nodeInterface/NodeInterface.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nodeInterface/NodeInterface.go b/nodeInterface/NodeInterface.go index f114cd5ac9..6984255393 100644 --- a/nodeInterface/NodeInterface.go +++ b/nodeInterface/NodeInterface.go @@ -592,6 +592,7 @@ func (n NodeInterface) LegacyLookupMessageBatchProof(c ctx, evm mech, batchNum h } // L2BlockRangeForL1 fetches the L1 block number of a given l2 block number. +// c ctx and evm mech arguments are not used but supplied to match the precompile function type in NodeInterface contract func (n NodeInterface) BlockL1Num(c ctx, evm mech, l2BlockNum uint64) (uint64, error) { blockHeader, err := n.backend.HeaderByNumber(n.context, rpc.BlockNumber(l2BlockNum)) if err != nil {