From 86311f3ae893a1e2e6c586452f960dea8a397530 Mon Sep 17 00:00:00 2001 From: jinjingroad Date: Wed, 5 Jun 2024 15:23:43 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: jinjingroad --- e2e/testapp/docker/local/config/app.toml | 2 +- eth/core/state/mock/state.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/testapp/docker/local/config/app.toml b/e2e/testapp/docker/local/config/app.toml index 697a22805..2150c5a8e 100644 --- a/e2e/testapp/docker/local/config/app.toml +++ b/e2e/testapp/docker/local/config/app.toml @@ -47,7 +47,7 @@ halt-time = 0 # It has no bearing on application state pruning which is determined by the # "pruning-*" configurations. # -# Note: CometBFT block pruning is dependant on this parameter in conjunction +# Note: CometBFT block pruning is dependent on this parameter in conjunction # with the unbonding (safety threshold) period, state pruning and state sync # snapshot parameters to determine the correct minimum value of # ResponseCommit.RetainHeight. diff --git a/eth/core/state/mock/state.go b/eth/core/state/mock/state.go index b875737f4..93237907e 100644 --- a/eth/core/state/mock/state.go +++ b/eth/core/state/mock/state.go @@ -121,7 +121,7 @@ func NewEmptyStatePlugin() *PluginMock { }, SetCodeFunc: func(address common.Address, bytes []byte) { if _, ok := Accounts[address]; !ok { - panic("acct doesnt exist") + panic("acct doesn't exist") } Accounts[address] = &Account{ Balance: Accounts[address].Balance, @@ -140,7 +140,7 @@ func NewEmptyStatePlugin() *PluginMock { }, SubBalanceFunc: func(address common.Address, intMoqParam *big.Int) { if _, ok := Accounts[address]; !ok { - panic("acct doesnt exist") + panic("acct doesn't exist") } Accounts[address] = &Account{ Balance: Accounts[address].Balance.Sub(Accounts[address].Balance, intMoqParam),