Skip to content

Commit

Permalink
fixed integration tests err
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed May 20, 2024
1 parent 077a93a commit 5466c3a
Showing 1 changed file with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use osmosis_std::{
types::{
cosmos::{
authz::v1beta1::{Grant, MsgExec, MsgGrant},
staking::v1beta1::{MsgCreateValidator, MsgDelegate},
staking::v1beta1::{CommissionRates, Description, MsgCreateValidator, MsgDelegate},
},
cosmwasm::wasm::v1::{
AcceptedMessageKeysFilter, ContractExecutionAuthorization, ContractGrant,
Expand Down Expand Up @@ -67,8 +67,18 @@ fn test_staked_voting_power_and_update() {
staking
.create_validator(
MsgCreateValidator {
description: None,
commission: None,
description: Some(Description {
moniker: "validator".to_string(),
identity: "validator".to_string(),
website: "validator".to_string(),
security_contact: "validator".to_string(),
details: "validator".to_string(),
}),
commission: Some(CommissionRates {
rate: "1".to_string(),
max_rate: "1".to_string(),
max_change_rate: "1".to_string(),
}),
min_self_delegation: "1".to_string(),
delegator_address: validator.address(),
validator_address: valoper.to_string(),
Expand Down

0 comments on commit 5466c3a

Please sign in to comment.