Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
likesToEatFish committed Jul 22, 2024
1 parent 0370f42 commit 50ba5e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion x/meshsecurityprovider/ibc_module.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provider
package meshsecurityprovider

import (
"fmt"
Expand Down
7 changes: 4 additions & 3 deletions x/meshsecurityprovider/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package keeper
import (
"testing"

"github.com/cometbft/cometbft/libs/rand"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/osmosis-labs/mesh-security-sdk/x/meshsecurityprovider/types"
"github.com/stretchr/testify/require"
Expand All @@ -13,7 +14,7 @@ func TestStoreDelegator(t *testing.T) {
k := keepers.MeshKeeperProvider

d1 := types.Depositors{
Address: "delegate",
Address: sdk.AccAddress(rand.Bytes(32)).String(),
Tokens: sdk.NewCoins([]sdk.Coin{sdk.NewCoin("osmo", sdk.NewInt(123))}...),
}
err := k.SetDepositors(pCtx, d1)
Expand All @@ -39,9 +40,9 @@ func TestStoreIntermediary(t *testing.T) {

coin := sdk.NewCoin("osmo", sdk.NewInt(123))
e1 := types.Intermediary{
ConsumerValidator: "validator",
ConsumerValidator: sdk.ValAddress(rand.Bytes(32)).String(),
ChainId: "osmo-1",
ContractAddress: "address",
ContractAddress: sdk.AccAddress(rand.Bytes(32)).String(),
Jailed: false,
Tombstoned: false,
Status: types.Bonded,
Expand Down
2 changes: 1 addition & 1 deletion x/meshsecurityprovider/module.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package provider
package meshsecurityprovider

import (
"context"
Expand Down

0 comments on commit 50ba5e3

Please sign in to comment.