From e62ecbd276ec0645865cac74a6dbcdb99d18c6ab Mon Sep 17 00:00:00 2001 From: Afanti <127061691+threewebcode@users.noreply.github.com> Date: Fri, 19 Apr 2024 16:31:53 +0800 Subject: [PATCH 1/2] fix: typo in the code comments --- op-node/node/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op-node/node/node.go b/op-node/node/node.go index 324a595f4ab2..4ee67085d95b 100644 --- a/op-node/node/node.go +++ b/op-node/node/node.go @@ -56,7 +56,7 @@ type OpNode struct { l2Source *sources.EngineClient // L2 Execution Engine RPC bindings server *rpcServer // RPC server hosting the rollup-node API p2pNode *p2p.NodeP2P // P2P node functionality - p2pSigner p2p.Signer // p2p gogssip application messages will be signed with this signer + p2pSigner p2p.Signer // p2p gossip application messages will be signed with this signer tracer Tracer // tracer to get events for testing/debugging runCfg *RuntimeConfig // runtime configurables From 1d2ff027a940ae9b1ebf74249e04a6b63c06a2d5 Mon Sep 17 00:00:00 2001 From: Afanti <127061691+threewebcode@users.noreply.github.com> Date: Sat, 20 Apr 2024 05:16:22 +0800 Subject: [PATCH 2/2] fix: correct the syntax error in the code comment --- op-node/node/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op-node/node/api.go b/op-node/node/api.go index d6252c84540e..cb60d22d911b 100644 --- a/op-node/node/api.go +++ b/op-node/node/api.go @@ -75,7 +75,7 @@ func (n *adminAPI) SequencerActive(ctx context.Context) (bool, error) { return n.dr.SequencerActive(ctx) } -// PostUnsafePayload is a special API that allow posting an unsafe payload to the L2 derivation pipeline. +// PostUnsafePayload is a special API that allows posting an unsafe payload to the L2 derivation pipeline. // It should only be used by op-conductor for sequencer failover scenarios. // TODO(ethereum-optimism/optimism#9064): op-conductor Dencun changes. func (n *adminAPI) PostUnsafePayload(ctx context.Context, envelope *eth.ExecutionPayloadEnvelope) error {