Skip to content

Commit

Permalink
fix testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing committed Mar 20, 2023
1 parent f2fd571 commit 095b5ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
7 changes: 0 additions & 7 deletions proto/cosmos/staking/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,10 @@ message MsgCreateValidator {
google.protobuf.Any pubkey = 6 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"];
cosmos.base.v1beta1.Coin value = 7 [(gogoproto.nullable) = false];

<<<<<<< HEAD
string from = 8 [(cosmos_proto.scalar) = "cosmos.AddressString"];
string relayer_address = 9 [(cosmos_proto.scalar) = "cosmos.AddressString"];
string challenger_address = 10 [(cosmos_proto.scalar) = "cosmos.AddressString"];
string bls_key = 11;

=======
string from = 8 [(cosmos_proto.scalar) = "cosmos.AddressString"];
string relayer_address = 9 [(cosmos_proto.scalar) = "cosmos.AddressString"];
string relayer_bls_key = 10;
>>>>>>> develop
}

// MsgCreateValidatorResponse defines the Msg/CreateValidator response type.
Expand Down
8 changes: 4 additions & 4 deletions x/genutil/client/testutil/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ func (s *IntegrationTestSuite) TestGenTxCmd() {
amount.String(),
val.Address.String(),
val.Address.String(),
blsPk,
val.Address.String(),
blsPk,
},
expError: true,
},
Expand All @@ -82,8 +82,8 @@ func (s *IntegrationTestSuite) TestGenTxCmd() {
amount.String(),
val.Address.String(),
val.Address.String(),
blsPk,
val.Address.String(),
blsPk,
},
expError: false,
},
Expand All @@ -96,8 +96,8 @@ func (s *IntegrationTestSuite) TestGenTxCmd() {
amount.String(),
val.Address.String(),
val.Address.String(),
blsPk,
val.Address.String(),
blsPk,
},
expError: true,
},
Expand All @@ -110,8 +110,8 @@ func (s *IntegrationTestSuite) TestGenTxCmd() {
amount.String(),
val.Address.String(),
val.Address.String(),
blsPk,
val.Address.String(),
blsPk,
},
expError: false,
},
Expand Down
2 changes: 1 addition & 1 deletion x/staking/client/testutil/create_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ func (s *CreateValidatorTestSuite) createValidatorProposal(valAddr sdk.AccAddres
pubKey,
from,
relayerAddress,
blsKey,
challengerAddress,
blsKey,
base64.StdEncoding.EncodeToString(propMetadata),
sdk.NewCoin(s.cfg.BondDenom, v1.DefaultMinDepositTokens),
)
Expand Down

0 comments on commit 095b5ec

Please sign in to comment.