Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V17 testing scripts #1064

Merged
merged 21 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
18b3e3e
airdrop testing
riley-stride Mar 28, 2023
db50e48
merge
riley-stride May 2, 2023
c5a94dd
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride May 27, 2023
4509194
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride Aug 21, 2023
d85a004
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride Sep 14, 2023
64b4dbb
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride Sep 20, 2023
6ff129b
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride Oct 25, 2023
8ba2058
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride Nov 27, 2023
7b8c75f
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride Dec 13, 2023
5e8f316
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride Dec 20, 2023
f7022bd
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride Dec 27, 2023
de22771
ear
riley-stride Jan 9, 2024
9ba5db4
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride Jan 10, 2024
22e2344
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride Jan 11, 2024
8089926
Merge branch 'main' of ssh://github.com/Stride-Labs/stride
riley-stride Jan 11, 2024
a27506c
Dockerfile.cosmovisor to golang:1.21-alpine3.19
riley-stride Jan 11, 2024
348ae42
rm mistakenly added comment
riley-stride Jan 11, 2024
bcee0b2
Merge branch 'main' into v17-testing-scripts
sampocs Jan 11, 2024
73c954c
fixed claim script
sampocs Jan 11, 2024
1c45c72
Merge branch 'v17-testing-scripts' of github.com:Stride-Labs/stride i…
sampocs Jan 11, 2024
1774d9f
updated readme
sampocs Jan 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,6 @@ func (app *StrideApp) setupUpgradeHandlers(appOpts servertypes.AppOptions) {
Added: []string{packetforwardtypes.ModuleName},
}
}
// TODO: uncomment when v17 upgrade is ready
// case "v17":
// storeUpgrades = &storetypes.StoreUpgrades{
// // Add PFM store key
// Added: []string{packetforwardtypes.ModuleName},
// }

if storeUpgrades != nil {
app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, storeUpgrades))
Expand Down
2 changes: 1 addition & 1 deletion dockernet/scripts/community-pool-staking/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ make start-docker
```
* Start relayers between dydx, noble and osmosis
```bash
bash dockernet/scripts/community-pool-staking/start_relayers.sh
bash dockernet/scripts/community-pool-staking/setup_relayers.sh
```
* Create a pool on osmosis to allow trades between dydx and noble
```bash
Expand Down
11 changes: 5 additions & 6 deletions dockernet/scripts/community-pool-staking/claim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,20 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
source ${SCRIPT_DIR}/../../config.sh

HOST_CHAIN=$REWARD_CONVERTER_HOST_ZONE
HOST_MAIN_CMD=$(GET_VAR_VALUE ${HOST_CHAIN}_MAIN_CMD)
HOST_DENOM=$(GET_VAR_VALUE ${HOST_CHAIN}_DENOM)
HOST_CHAIN_ID=$(GET_VAR_VALUE ${HOST_CHAIN}_CHAIN_ID)
HOST_MAIN_CMD=$(GET_VAR_VALUE ${HOST_CHAIN}_MAIN_CMD)
HOST_DENOM=$(GET_VAR_VALUE ${HOST_CHAIN}_DENOM)

community_pool_return_address=$(GET_ICA_ADDR $HOST_CHAIN community_pool_return)
community_pool_holding_address=$(GET_HOST_ZONE_FIELD $HOST_CHAIN community_pool_redeem_holding_address)

# check balances before claiming redeemed stake
echo ">>> Balances before claim..."
$HOST_MAIN_CMD q bank balances $community_pool_return_address

#claim stake
echo -e "\n>>> Claiming redeemed tokens..."
epoch=$($STRIDE_MAIN_CMD q records list-user-redemption-record | grep -B 3 -m 1 "receiver: $community_pool_return_address" | grep "epoch_number"| NUMBERS_ONLY)

$STRIDE_MAIN_CMD tx stakeibc claim-undelegated-tokens $HOST_CHAIN_ID $epoch $community_pool_holding_address --from ${STRIDE_VAL_PREFIX}1 -y | TRIM_TX
epoch=$($STRIDE_MAIN_CMD q records list-user-redemption-record | grep -B 5 -m 1 "receiver: $community_pool_return_address" | grep "epoch_number"| NUMBERS_ONLY)
$STRIDE_MAIN_CMD tx stakeibc claim-undelegated-tokens $HOST_CHAIN_ID $epoch $community_pool_return_address --from ${STRIDE_VAL_PREFIX}1 -y | TRIM_TX
sleep 5

# check balances after claiming redeemed stake
Expand Down
Loading