Skip to content

Commit

Permalink
pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianElvis committed Dec 2, 2024
1 parent a3f6322 commit d8eccac
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ func (ak *AppKeepers) InitKeepers(
ak.AccountKeeper,
ak.BankKeeper,
ak.IBCKeeper.ClientKeeper,
ak.IBCKeeper.ChannelKeeper,
ak.WasmKeeper,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
)
Expand Down
2 changes: 1 addition & 1 deletion contrib/images/ibcsim-bcd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ENV PATH $GOPATH/bin:$PATH

ENV GO111MODULE on
ENV RELAYER_TAG v2.5.2
ENV BABYLON_SDK_VERSION main
ENV BABYLON_SDK_VERSION v0.6.0-rc.1

# Install the relayer
RUN git clone https://github.com/cosmos/relayer.git
Expand Down
2 changes: 0 additions & 2 deletions test/e2e/btc_staking_integration_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,6 @@ func (s *BTCStakingIntegrationTestSuite) Test6ContractQueries() {
s.Equal(nodefpDel.MustGetStakingTxHash().String(), contractDelsByFp.StakingTxHashes[0])
}

// TODO: add test for slashing when its supported in smart contract

// helper function: register a random consumer on Babylon and verify it
func (s *BTCStakingIntegrationTestSuite) registerVerifyConsumer(babylonNode *chain.NodeConfig, consumerID string) *bsctypes.ConsumerRegister {
// Register a random consumer on Babylon
Expand Down
1 change: 0 additions & 1 deletion testutil/keeper/btcstaking.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ func BTCStakingKeeperWithStore(
nil,
nil,
nil,
nil,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
)

Expand Down
1 change: 0 additions & 1 deletion testutil/keeper/btcstkconsumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ func BTCStkConsumerKeeper(t testing.TB) (keeper.Keeper, sdk.Context) {
nil,
nil,
nil,
nil,
authority.String(),
)

Expand Down
3 changes: 0 additions & 3 deletions x/btcstkconsumer/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ type Keeper struct {
accountKeeper types.AccountKeeper
bankKeeper types.BankKeeper
clientKeeper types.ClientKeeper
channelKeeper types.ChannelKeeper
wasmKeeper types.WasmKeeper

// the address capable of executing a MsgUpdateParams message. Typically, this
Expand All @@ -32,7 +31,6 @@ func NewKeeper(
accountKeeper types.AccountKeeper,
bankKeeper types.BankKeeper,
clientKeeper types.ClientKeeper,
channelKeeper types.ChannelKeeper,
wasmKeeper types.WasmKeeper,
authority string,
) Keeper {
Expand All @@ -46,7 +44,6 @@ func NewKeeper(
bankKeeper: bankKeeper,
accountKeeper: accountKeeper,
clientKeeper: clientKeeper,
channelKeeper: channelKeeper,
wasmKeeper: wasmKeeper,
authority: authority,
}
Expand Down
1 change: 1 addition & 0 deletions x/btcstkconsumer/keeper/msg_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ func FuzzRegisterConsumer(f *testing.F) {
consumerRegister2, err = bscKeeper.GetConsumerRegister(ctx, consumerRegister.ConsumerId)
require.NoError(t, err)
require.Equal(t, consumerRegister.String(), consumerRegister2.String())
require.Equal(t, types.ConsumerType_ETH_L2, consumerRegister2.Type())
})
}

Expand Down
3 changes: 0 additions & 3 deletions x/btcstkconsumer/types/expected_keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ type WasmKeeper interface {
GetContractInfo(ctx context.Context, contractAddress sdk.AccAddress) *wasmtypes.ContractInfo
}

type ChannelKeeper interface {
}

// ParamSubspace defines the expected Subspace interface for parameters.
type ParamSubspace interface {
Get(context.Context, []byte, interface{})
Expand Down

0 comments on commit d8eccac

Please sign in to comment.