diff --git a/cosmos/precompile/distribution/distribution.go b/cosmos/precompile/distribution/distribution.go index fb9a5de89..0e386b0da 100644 --- a/cosmos/precompile/distribution/distribution.go +++ b/cosmos/precompile/distribution/distribution.go @@ -170,7 +170,7 @@ func (c *Contract) WithdrawDelegatorReward( return amount, nil } -// GetDelegatorValidatorReward implements `getDelegatorValidatorReward(address,adresss)`. +// GetDelegatorValidatorReward implements `getDelegatorValidatorReward(address,address)`. func (c *Contract) GetDelegatorValidatorReward( ctx context.Context, delegator common.Address, diff --git a/cosmos/runtime/miner/miner.go b/cosmos/runtime/miner/miner.go index 6bb0a05dc..a1233214b 100644 --- a/cosmos/runtime/miner/miner.go +++ b/cosmos/runtime/miner/miner.go @@ -76,7 +76,7 @@ func (m *Miner) Init(serializer EnvelopeSerializer) { } // buildBlock builds and submits a payload, it also waits for the txs -// to resolve from the underying worker. +// to resolve from the underlying worker. func (m *Miner) buildBlock(ctx sdk.Context) ([]byte, uint64, error) { defer m.clearPayload() diff --git a/cosmos/x/README.md b/cosmos/x/README.md index b1546e136..2862c4a7c 100644 --- a/cosmos/x/README.md +++ b/cosmos/x/README.md @@ -2,4 +2,4 @@ Polaris implements the following custom modules: -* `evm` - Intergrates the Polaris Ethereum as a Cosmos-SDK module \ No newline at end of file +* `evm` - Integrates the Polaris Ethereum as a Cosmos-SDK module \ No newline at end of file diff --git a/cosmos/x/evm/keeper/host.go b/cosmos/x/evm/keeper/host.go index 1d40758e8..822ca69f1 100644 --- a/cosmos/x/evm/keeper/host.go +++ b/cosmos/x/evm/keeper/host.go @@ -74,7 +74,7 @@ func NewHost( return h } -// SetupPrecompiles intializes the precompile contracts. +// SetupPrecompiles initializes the precompile contracts. func (h *Host) SetupPrecompiles() error { // Set the query context function for the block and state plugins pcs := h.pcs().GetPrecompiles() diff --git a/cosmos/x/evm/plugins/precompile/plugin.go b/cosmos/x/evm/plugins/precompile/plugin.go index b3591db21..9daf56d08 100644 --- a/cosmos/x/evm/plugins/precompile/plugin.go +++ b/cosmos/x/evm/plugins/precompile/plugin.go @@ -146,7 +146,7 @@ func (p *plugin) Run( } // make sure the readOnly is only set if we aren't in readOnly yet, which also makes sure that - // the readOnly flag isn't removed for child calls (taken from geth core/vm/interepreter.go) + // the readOnly flag isn't removed for child calls (taken from geth core/vm/interpreter.go) if readOnly && !ms.IsReadOnly() { cem.SetReadOnly(true) ms.SetReadOnly(true) diff --git a/e2e/hive/simulators/rpc/ethclient.hive b/e2e/hive/simulators/rpc/ethclient.hive index f6af27c98..b1452cf4e 100644 --- a/e2e/hive/simulators/rpc/ethclient.hive +++ b/e2e/hive/simulators/rpc/ethclient.hive @@ -797,7 +797,7 @@ func logSubscriptionTest(t *TestEnv) { validatePredeployContractLogs(t, tx, fetchedLogs, arg0, arg1) } -// validatePredeployContractLogs tests wether the given logs are expected when +// validatePredeployContractLogs tests whether the given logs are expected when // the event function was called on the predeployed test contract was called // with the given args. The event function raises the following events: // event E0();