Skip to content

Commit

Permalink
chore: fix some function names (#1174)
Browse files Browse the repository at this point in the history
Signed-off-by: welfuture <wellfuture@qq.com>
  • Loading branch information
welfuture authored May 29, 2024
1 parent 4cba67d commit 1dc1924
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rpc/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ func (h *handler) addRequestOp(op *requestOp) {
}
}

// removeRequestOps stops waiting for the given request IDs.
// removeRequestOp stops waiting for the given request IDs.
func (h *handler) removeRequestOp(op *requestOp) {
for _, id := range op.ids {
delete(h.respWait, string(id))
Expand Down
2 changes: 1 addition & 1 deletion sync/statesync/state_syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (t *stateSync) onStorageTrieFinished(root common.Hash) error {
return t.removeTrieInProgress(root)
}

// onMainTrieFinishes is called after the main trie finishes syncing.
// onMainTrieFinished is called after the main trie finishes syncing.
func (t *stateSync) onMainTrieFinished() error {
t.codeSyncer.notifyAccountTrieCompleted()

Expand Down
2 changes: 1 addition & 1 deletion tests/utils/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func RegisterNodeRun() {
})
}

// RunDefaultHardhatTests runs the hardhat tests in the given [testPath] on the blockchain with [blockchainID]
// RunHardhatTests runs the hardhat tests in the given [testPath] on the blockchain with [blockchainID]
// [execPath] is the path where the test command is executed
func RunHardhatTests(ctx context.Context, blockchainID string, execPath string, testPath string) {
chainURI := GetDefaultChainURI(blockchainID)
Expand Down

0 comments on commit 1dc1924

Please sign in to comment.