Skip to content

Commit

Permalink
chore: minor miscellaneous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnletey committed Jun 3, 2024
1 parent ad9bb87 commit 927f6ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

This repository includes the `x/aura` Cosmos SDK module implementation.

For more information, refer to the modules [spec](../x/aura/spec) files.
For more information, refer to the module's [spec](../x/aura/spec) files.
6 changes: 5 additions & 1 deletion utils/mocks/aura.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ func AuraKeeperWithBank(_ testing.TB, bank BankKeeper) (*keeper.Keeper, sdk.Cont
key := storetypes.NewKVStoreKey(types.ModuleName)
tkey := storetypes.NewTransientStoreKey("transient_aura")

reg := codectypes.NewInterfaceRegistry()
types.RegisterInterfaces(reg)
cdc := codec.NewProtoCodec(reg)

k := keeper.NewKeeper(
codec.NewProtoCodec(codectypes.NewInterfaceRegistry()),
cdc,
key,
"ausdy",
nil,
Expand Down
2 changes: 1 addition & 1 deletion x/aura/keeper/query_server_blocklist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func TestBlocklistAddressQuery(t *testing.T) {
_, err = server.Address(goCtx, &blocklist.QueryAddress{
Address: "cosmos10d07y265gmmuvt4z0w9aw880jnsr700j6zn9kn",
})
// ASSERT: The action should've failed due to invalid address.
// ASSERT: The query should've failed due to invalid address.
require.ErrorContains(t, err, "unable to decode address")

// ACT: Attempt to query blocked state of unblocked address.
Expand Down

0 comments on commit 927f6ea

Please sign in to comment.