Skip to content

Commit

Permalink
added epoch number to address unbonding query response
Browse files Browse the repository at this point in the history
  • Loading branch information
sampocs committed May 25, 2023
1 parent 7a581f5 commit d822315
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 25 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ import (
const (
AccountAddressPrefix = "stride"
Name = "stride"
Version = "9.0.1"
Version = "9.1.1"
)

// this line is used by starport scaffolding # stargate/wasm/app/enabledProposals
Expand Down
2 changes: 1 addition & 1 deletion cmd/strided/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func SetupConfig() {

version.AppName = "stride"
version.Name = "strided"
version.Version = "v9.0.1"
version.Version = "v9.1.1"
}

// SetBech32Prefixes sets the global prefixes to be used when serializing addresses and public keys to Bech32 strings.
Expand Down
2 changes: 1 addition & 1 deletion dockernet/tests/run_tests_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ INTEGRATION_TEST_FILE=${SCRIPT_DIR}/integration_tests.bats
if [[ "$PART" == "1" ]]; then
CHAIN_NAME=GAIA TRANSFER_CHANNEL_NUMBER=0 $BATS $INTEGRATION_TEST_FILE
elif [[ "$PART" == "2" ]]; then
CHAIN_NAME=OSMO TRANSFER_CHANNEL_NUMBER=1 $BATS $INTEGRATION_TEST_FILE
CHAIN_NAME=EVMOS TRANSFER_CHANNEL_NUMBER=1 $BATS $INTEGRATION_TEST_FILE
NEW_BINARY=true CHAIN_NAME=HOST TRANSFER_CHANNEL_NUMBER=2 $BATS $INTEGRATION_TEST_FILE
fi

1 change: 1 addition & 0 deletions proto/stride/stakeibc/address_unbonding.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ message AddressUnbonding {
];
string denom = 5;
bool claim_is_pending = 8;
uint64 epoch_number = 9;
}
1 change: 1 addition & 0 deletions x/stakeibc/keeper/grpc_query_address_unbondings.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func (k Keeper) AddressUnbondings(c context.Context, req *types.QueryAddressUnbo
Amount: userRedemptionRecord.Amount,
Denom: userRedemptionRecord.Denom,
ClaimIsPending: userRedemptionRecord.ClaimIsPending,
EpochNumber: userRedemptionRecord.EpochNumber,
}
addressUnbondings = append(addressUnbondings, addressUnbonding)
}
Expand Down
80 changes: 58 additions & 22 deletions x/stakeibc/types/address_unbonding.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d822315

Please sign in to comment.