Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into 222
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdevbear authored Jan 17, 2024
2 parents 0292437 + 4649850 commit af457a4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cosmos/precompile/distribution/distribution.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion cosmos/runtime/miner/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion cosmos/x/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

Polaris implements the following custom modules:

* `evm` - Intergrates the Polaris Ethereum as a Cosmos-SDK module
* `evm` - Integrates the Polaris Ethereum as a Cosmos-SDK module
2 changes: 1 addition & 1 deletion cosmos/x/evm/keeper/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion cosmos/x/evm/plugins/precompile/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion e2e/hive/simulators/rpc/ethclient.hive
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit af457a4

Please sign in to comment.