Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comments #2143

Merged
merged 3 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/axelarnet/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func NewAxelarnetIBCModule(
}

// OnRecvPacket implements the IBCModule interface. A successful acknowledgement
// is returned if the packet data is succesfully decoded and the receive application
// is returned if the packet data is successfully decoded and the receive application
// logic returns without error.
func (m AxelarnetIBCModule) OnRecvPacket(
ctx sdk.Context,
Expand Down
4 changes: 2 additions & 2 deletions x/nexus/keeper/general_message_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func TestRouteMessage(t *testing.T) {
assert.ErrorContains(t, keeper.RouteMessage(ctx, msg.ID), "not an hex address")
}),

When("the destination chain does't support the asset", func() {
When("the destination chain doesn't support the asset", func() {
msg.Recipient = exported.CrossChainAddress{
Chain: evm.Ethereum,
Address: evmtestutils.RandomAddress().Hex(),
Expand Down Expand Up @@ -327,7 +327,7 @@ func TestRouteMessage(t *testing.T) {
assert.ErrorContains(t, keeper.RouteMessage(ctx, msg.ID), "not an hex address")
}),

When("the sender chain does't support the asset", func() {
When("the sender chain doesn't support the asset", func() {
msg.Sender = exported.CrossChainAddress{
Chain: evm.Ethereum,
Address: evmtestutils.RandomAddress().Hex(),
Expand Down
2 changes: 1 addition & 1 deletion x/snapshot/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func (k Keeper) GetOperator(ctx sdk.Context, proxy sdk.AccAddress) sdk.ValAddres
}

// GetProxy returns the proxy address for a given operator address. Returns nil if not set.
// The bool value denotes wether or not the proxy is active and to be included in the next snapshot
// The bool value denotes whether or not the proxy is active and to be included in the next snapshot
func (k Keeper) GetProxy(ctx sdk.Context, operator sdk.ValAddress) (addr sdk.AccAddress, active bool) {
if proxiedValidator, ok := k.getProxiedValidator(ctx, operator); ok {
return proxiedValidator.Proxy, proxiedValidator.Active
Expand Down
Loading