From 817ac4809afc484f2327a7a9f56d439419b46e80 Mon Sep 17 00:00:00 2001 From: jinjingroad Date: Thu, 19 Jun 2025 15:20:42 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: jinjingroad --- nil/services/synccommittee/prover/tracer/keccak_tracer_test.go | 2 +- nil/tests/multitoken/multitoken_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nil/services/synccommittee/prover/tracer/keccak_tracer_test.go b/nil/services/synccommittee/prover/tracer/keccak_tracer_test.go index 831ead690..9bce6b95f 100644 --- a/nil/services/synccommittee/prover/tracer/keccak_tracer_test.go +++ b/nil/services/synccommittee/prover/tracer/keccak_tracer_test.go @@ -12,7 +12,7 @@ import ( "github.com/stretchr/testify/require" ) -// traceExpOperation encapsulates the setup and invocation of tracing an KECCAK256 operation. +// traceKeccakOperation encapsulates the setup and invocation of tracing an KECCAK256 operation. func traceKeccakOperation(t *testing.T, tracer *KeccakTracer, opCode vm.OpCode, offset, size uint64, mem []byte) bool { t.Helper() stack := []uint256.Int{*uint256.NewInt(size), *uint256.NewInt(offset)} diff --git a/nil/tests/multitoken/multitoken_test.go b/nil/tests/multitoken/multitoken_test.go index 1c61abc27..d7db6e516 100644 --- a/nil/tests/multitoken/multitoken_test.go +++ b/nil/tests/multitoken/multitoken_test.go @@ -664,7 +664,7 @@ func (s *SuiteMultiTokenRpc) TestIncomingBalance() { checkBalance(big.NewInt(20_000), big.NewInt(20_100), receipt.OutReceipts[0]) } -// NameTokensTestNoExternalAccess contract has no external access to token +// TestNoExternalAccess contract has no external access to token func (s *SuiteMultiTokenRpc) TestNoExternalAccess() { abiTest, err := contracts.GetAbi(contracts.NameTokensTestNoExternalAccess) s.Require().NoError(err)