From 4cfda614e8fb9664ce72861d32824d72430d4436 Mon Sep 17 00:00:00 2001 From: dev-stride <114107648+dev-stride@users.noreply.github.com> Date: Thu, 29 Aug 2024 22:39:22 -0500 Subject: [PATCH] v24 Changelog (#1279) --- CHANGELOG.md | 145 +++++++++++++++++++++++------------ dockernet/src/init_chain.sh | 2 +- dockernet/upgrades/README.md | 50 +++++++----- 3 files changed, 130 insertions(+), 67 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6fb499bf6..de11c52a13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,7 +28,7 @@ Types of changes (Stanzas): "Bug Fixes" for any bug fixes. "Client Breaking" for breaking CLI commands and REST routes used by end-users. "API Breaking" for breaking exported APIs used by developers building on SDK. -"State Machine Breaking" for any changes that result in a different AppState +"State Machine Breaking" for any changes that result in a different AppState given same genesisState and txList. Ref: https://keepachangelog.com/en/1.0.0/ --> @@ -42,13 +42,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [v24.0.0](https://github.com/Stride-Labs/stride/releases/tag/v24.0.0) - 2024-08-29 + +### On-Chain changes + +1. batching delegations and undelegations ([#1263](https://github.com/Stride-Labs/stride/pull/1263)) +2. removed autopilot support for metadata in receiver field and increased memo lengths ([#1273](https://github.com/Stride-Labs/stride/pull/1273)) +3. changed osmosis swap type URL ([#1275](https://github.com/Stride-Labs/stride/pull/1275)) +4. v24 Import Paths ([#1278](https://github.com/Stride-Labs/stride/pull/1278)) +5. bumped wasmd to v0.46 ([#1274](https://github.com/Stride-Labs/stride/pull/1274)) +6. Loosened outer redemption rate bounds ([#1280](https://github.com/Stride-Labs/stride/pull/1280)) +7. fixed map nondeterminism ([#1281](https://github.com/Stride-Labs/stride/pull/1281)) + +### Off-Chain changes + +1. New integration test framework ([#1244](https://github.com/Stride-Labs/stride/pull/1244), [#1256](https://github.com/Stride-Labs/stride/pull/1256), [#1258](https://github.com/Stride-Labs/stride/pull/1258), [#1276](https://github.com/Stride-Labs/stride/pull/1276), [#1257](https://github.com/Stride-Labs/stride/pull/1257)) + ## [v23.0.0](https://github.com/Stride-Labs/stride/releases/tag/v23.0.0) - 2024-07-19 ### On-Chain changes + 1. added airdrop module ([#1235](https://github.com/Stride-Labs/stride/pull/1235)) 2. removed trade route dead code ([#1189](https://github.com/Stride-Labs/stride/pull/1189)) 3. added wasm light client ([#1224](https://github.com/Stride-Labs/stride/pull/1224)), ([#1231](https://github.com/Stride-Labs/stride/pull/1231)) -4. consolidated cli txs in to same file ([#1211](https://github.com/Stride-Labs/stride/pull/1211)) +4. consolidated cli txs in to same file ([#1211](https://github.com/Stride-Labs/stride/pull/1211)) 5. v23 upgrade handler (final) ([#1243](https://github.com/Stride-Labs/stride/pull/1243)) 6. close delegation channel tx ([#1242](https://github.com/Stride-Labs/stride/pull/1242)) 7. v23 Import Paths ([#1246](https://github.com/Stride-Labs/stride/pull/1246)) @@ -56,14 +73,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 9. Add Default Config Settings ([#1245](https://github.com/Stride-Labs/stride/pull/1245)) ### Off-Chain changes + 1. Faster `make sync` ([#1209](https://github.com/Stride-Labs/stride/pull/1209)) 2. Replace `docker-compose` with `docker compose` ([#1221](https://github.com/Stride-Labs/stride/pull/1221)) 3. removed version from docker compose ([#1227](https://github.com/Stride-Labs/stride/pull/1227)) - ## [v22.0.0](https://github.com/Stride-Labs/stride/releases/tag/v22.0.0) - 2024-04-16 ### On-Chain changes + 1. added v22 upgrade handler ([#1174](https://github.com/Stride-Labs/stride/pull/1174)) 2. Fix validator weight check ([#1176](https://github.com/Stride-Labs/stride/pull/1176)) 3. added stToken burn to unregister host zone function ([#1175](https://github.com/Stride-Labs/stride/pull/1175)) @@ -75,28 +93,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 9. fixed ibc hooks store key ([#1184](https://github.com/Stride-Labs/stride/pull/1184)) ### Off-Chain changes -1. v21 Changelog ([#1168](https://github.com/Stride-Labs/stride/pull/1168)) +1. v21 Changelog ([#1168](https://github.com/Stride-Labs/stride/pull/1168)) ## [v21.0.0](https://github.com/Stride-Labs/stride/releases/tag/v21.0.0) - 2024-03-27 ### On-Chain changes + 1. added help info to toggle command ([#1163](https://github.com/Stride-Labs/stride/pull/1163)) 2. added v21 upgrade handler ([#1165](https://github.com/Stride-Labs/stride/pull/1165)) 3. updated rebate to use native denom instead of reward denom ([#1162](https://github.com/Stride-Labs/stride/pull/1162)) 4. added function to unregister host zone ([#1166](https://github.com/Stride-Labs/stride/pull/1166)) 5. v21 Import Paths ([#1167](https://github.com/Stride-Labs/stride/pull/1167)) - ## [v20.0.0](https://github.com/Stride-Labs/stride/releases/tag/v20.0.0) - 2024-03-21 ### On-Chain changes + 1. v20 upgrade handler scaffolding ([#1148](https://github.com/Stride-Labs/stride/pull/1148)) 2. Upgraded ICS to 4.0 ([#1153](https://github.com/Stride-Labs/stride/pull/1153),[#1157](https://github.com/Stride-Labs/stride/pull/1157)) 3. add community pool rebate feature ([#1135](https://github.com/Stride-Labs/stride/pull/1135)) 4. v20 Import Paths ([#1155](https://github.com/Stride-Labs/stride/pull/1155)) ### Off-Chain changes + 1. fixing init_chain script to not clobber new params ([#1139](https://github.com/Stride-Labs/stride/pull/1139)) 2. added wasm to cosmovisor upgrade image ([#1158](https://github.com/Stride-Labs/stride/pull/1158)) 3. added dockernet scripts to test rebate ([#1156](https://github.com/Stride-Labs/stride/pull/1156)) @@ -104,6 +124,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [v19.0.0](https://github.com/Stride-Labs/stride/releases/tag/v19.0.0) - 2024-03-07 ### On-Chain changes + 1. fixed vscode settings ([#1111](https://github.com/Stride-Labs/stride/pull/1111)) 2. stakeibc re-org part 1 (keepers) ([#1112](https://github.com/Stride-Labs/stride/pull/1112)) 3. Add cosmwasm ([#1103](https://github.com/Stride-Labs/stride/pull/1103)) @@ -118,14 +139,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 12. Add x/stakedym ([#1126](https://github.com/Stride-Labs/stride/pull/1126)) ### Off-Chain changes + 1. chore(dev-deps): upgrade ledger dependencies ([#1099](https://github.com/Stride-Labs/stride/pull/1099)) 2. switched to stride fork of sdk for v0.47.10 ([#1128](https://github.com/Stride-Labs/stride/pull/1128)) 3. upgraded pfm ([#1122](https://github.com/Stride-Labs/stride/pull/1122)) - ## [v18.0.0](https://github.com/Stride-Labs/stride/releases/tag/v18.0.0) - 2024-01-26 ### On-Chain changes + 1. Query redemption records for multiple addresses ([#1075](https://github.com/Stride-Labs/stride/pull/1075)) 2. Remove address validation from query ([#1079](https://github.com/Stride-Labs/stride/pull/1079)) 3. reset delegation change in progress to 0 when a channel is restored ([#1074](https://github.com/Stride-Labs/stride/pull/1074)) @@ -134,10 +156,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 6. V18 Upgrade Migrations ([#1084](https://github.com/Stride-Labs/stride/pull/1084)) 7. v18 Import Paths ([#1093](https://github.com/Stride-Labs/stride/pull/1093)) - ## [v17.0.0](https://github.com/Stride-Labs/stride/releases/tag/v17.0.0) - 2024-01-11 ### On-Chain changes + 1. sDYDX: Phase 1/3 - LS & Redeem ([#926](https://github.com/Stride-Labs/stride/pull/926)) 2. Properly Account for slash_query_in_progress in Unbondings ([#981](https://github.com/Stride-Labs/stride/pull/981)) 3. Cleanup V14 (`DelegationChangesInProgress`) ([#1017](https://github.com/Stride-Labs/stride/pull/1017)) @@ -162,8 +184,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 22. Update ICQ for compatibility with IBC v7.3.1 ([#1068](https://github.com/Stride-Labs/stride/pull/1068)) 23. Rename native amount and host zone unbonding status ([#1071](https://github.com/Stride-Labs/stride/pull/1071)) - ### Off-Chain changes + 1. Add security instructions ([#990](https://github.com/Stride-Labs/stride/pull/990)) 2. Bump go 1.19 -> 1.21 ([#1052](https://github.com/Stride-Labs/stride/pull/1052)) 3. Add PFM testing scripts ([#1054](https://github.com/Stride-Labs/stride/pull/1054)) @@ -175,12 +197,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [v16.0.0](https://github.com/Stride-Labs/stride/releases/tag/v16.0.0) - 2023-10-14 ### On-Chain changes + 1. Inflation Fix ([#951](https://github.com/Stride-Labs/stride/pull/951)) 2. v16 Import Paths ([#952](https://github.com/Stride-Labs/stride/pull/952)) ## [v15.0.0](https://github.com/Stride-Labs/stride/releases/tag/v15.0.0) - 2023-09-18 ### On-Chain changes + 1. Added ICAOracle route implementations for legacy Msg type ([#923](https://github.com/Stride-Labs/stride/pull/923)) 2. increased precision error buffer on delegator shares callback ([#933](https://github.com/Stride-Labs/stride/pull/933)) 3. Use detokenization amount from tx response ([#934](https://github.com/Stride-Labs/stride/pull/934)) @@ -192,14 +216,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 9. v15 Import Paths ([#944](https://github.com/Stride-Labs/stride/pull/944)) ### Off-Chain changes + 1. Fixed bug in import path CI ([#919](https://github.com/Stride-Labs/stride/pull/919)) 2. Finished auto changelog script ([#928](https://github.com/Stride-Labs/stride/pull/928)) 3. updated osmo submodule ([#931](https://github.com/Stride-Labs/stride/pull/931)) - ## [v14.0.0](https://github.com/Stride-Labs/stride/releases/tag/v14.0.0) - 2023-08-27 ### On-Chain changes + 1. Add LSM support ([#708](https://github.com/Stride-Labs/stride/pull/708)) 2. Added oracle transfer channel to icaoracle MsgInstantiateOracle and register aminos ([#899](https://github.com/Stride-Labs/stride/pull/899)) 3. Init airdrops for Umee, Somm, Comdex, Injective ([#903](https://github.com/Stride-Labs/stride/pull/903)) @@ -207,21 +232,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 5. Add Evmos' x/vesting module ([#903](https://github.com/Stride-Labs/stride/pull/903)) ### Off-Chain changes -1. Add ICA Oracle License ([#901](https://github.com/Stride-Labs/stride/pull/901)) +1. Add ICA Oracle License ([#901](https://github.com/Stride-Labs/stride/pull/901)) ## [v13.0.0](https://github.com/Stride-Labs/stride/releases/tag/v13.0.0) - 2023-08-08 ### On-Chain changes + 1. Adds ICA-Based Oracle for Cosmwasm-based Chains ([#884](https://github.com/Stride-Labs/stride/pull/884)) 2. Switch to SDK Fork to address SDKv0.47 Distribution Bug ([#885](https://github.com/Stride-Labs/stride/pull/885)) 3. Add Redundant IBC Relay Decorator ([#882](https://github.com/Stride-Labs/stride/pull/882)) -4. Whitelist missing param keys and register stTokens as consumer fees ([#881](https://github.com/Stride-Labs/stride/pull/881)) -5. Add v13 Upgrade Handler ([#886](https://github.com/Stride-Labs/stride/pull/886)) +4. Whitelist missing param keys and register stTokens as consumer fees ([#881](https://github.com/Stride-Labs/stride/pull/881)) +5. Add v13 Upgrade Handler ([#886](https://github.com/Stride-Labs/stride/pull/886)) 6. Change paths to point towards v13 ([#891](https://github.com/Stride-Labs/stride/pull/888)) 7. Removed consumer param store updates ([#892](https://github.com/Stride-Labs/stride/pull/892)) ### Off-Chain changes + 1. Add `build-linux` command ([#859](https://github.com/Stride-Labs/stride/pull/859)) 2. Remove `provider` dependency for Dockernet ([#860](https://github.com/Stride-Labs/stride/pull/860)) 3. Update Dockernet host zone versions ([#883](https://github.com/Stride-Labs/stride/pull/883)) @@ -229,47 +256,53 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [v12.0.0](https://github.com/Stride-Labs/stride/releases/tag/v12.0.0) - 2023-07-15 ### On-Chain changes + 1. Add code required for ICS-consumer-migration ([#811](https://github.com/Stride-Labs/stride/pull/811)) ### Off-Chain changes + 1. Add helper scripts and tester files for ICS-consumer-migration ([#811](https://github.com/Stride-Labs/stride/pull/811)) ## [v11.0.0](https://github.com/Stride-Labs/stride/releases/tag/v11.0.0) - 2023-06-23 ### On-Chain changes + 1. IBCv7 version bump ([#840](https://github.com/Stride-Labs/stride/pull/840)) 2. Modified version command ([#831](https://github.com/Stride-Labs/stride/pull/831)) ### Off-Chain Changes + 1. Remove redundant build tags ([#829](https://github.com/Stride-Labs/stride/pull/829)) ## [v10.0.0](https://github.com/Stride-Labs/stride/releases/tag/v10.0.0) - 2023-06-15 ### On-Chain changes + 1. SDK 47 / IBC v7 ([#765](https://github.com/Stride-Labs/stride/pull/765)) 2. Fix bug in ICA SendTx ([#812](https://github.com/Stride-Labs/stride/pull/812)) 3. IBC Rate Limiting Audit Fixes ([#818](https://github.com/Stride-Labs/stride/pull/818)) 4. V10 import paths ([#825](https://github.com/Stride-Labs/stride/pull/825)) -5. v10 Upgrade Handler ([#805](https://github.com/Stride-Labs/stride/pull/805)) -6. Removed comdex from list of new rate limits ([#826](https://github.com/Stride-Labs/stride/pull/826)) +5. v10 Upgrade Handler ([#805](https://github.com/Stride-Labs/stride/pull/805)) +6. Removed comdex from list of new rate limits ([#826](https://github.com/Stride-Labs/stride/pull/826)) 7. Dependency bumps ([0fb5fb6](https://github.com/Stride-Labs/stride/commit/0fb5fb6c014338a7837a569ba5b081235fd9af8a), [fc70522](https://github.com/Stride-Labs/stride/commit/fc7052268cd21c941dfebcb9560123e40e14e5b8), [6aac1d5](https://github.com/Stride-Labs/stride/commit/6aac1d5bb2c4f6cbc00ed0c31793cfc091f7550f), [eddf1ea](https://github.com/Stride-Labs/stride/commit/eddf1eae49e669432dfcce56d28ec71f67f8cff6), [4871518](https://github.com/Stride-Labs/stride/commit/b89d88ce02a23ca01fc574ae1c1a0226a9b2ef74), [b89d88c](https://github.com/Stride-Labs/stride/commit/0fb5fb6c014338a7837a569ba5b081235fd9af8a), [7a332fc](https://github.com/Stride-Labs/stride/commit/7a332fc5e690b71c10b48b6630cba1488fa2f90b), [7eea5ee](https://github.com/Stride-Labs/stride/commit/7eea5eea66973241edbb4261c1408410bfffc4e3), [c74f8f2](https://github.com/Stride-Labs/stride/commit/c74f8f28c9bbc794e70f5ded0af6930d2d10a3a8)) ### Off-Chain Changes -1. Automated changelog [Part 1] ([#788](https://github.com/Stride-Labs/stride/pull/788)) + +1. Automated changelog [Part 1] ([#788](https://github.com/Stride-Labs/stride/pull/788)) 2. Automated changelog [Part 2] ([#799](https://github.com/Stride-Labs/stride/pull/799)) -3. Automated version increment [Part 1] ([#770](https://github.com/Stride-Labs/stride/pull/770)) -4. Automated version increment [Part 2] ([#786](https://github.com/Stride-Labs/stride/pull/786)) -5. Automate binary versioning ([#789](https://github.com/Stride-Labs/stride/pull/789)) -6. Check if binaries exist during dockernet startup ([#816](https://github.com/Stride-Labs/stride/pull/816)) -7. Fix dockernet typos ([#754](https://github.com/Stride-Labs/stride/pull/754)) +3. Automated version increment [Part 1] ([#770](https://github.com/Stride-Labs/stride/pull/770)) +4. Automated version increment [Part 2] ([#786](https://github.com/Stride-Labs/stride/pull/786)) +5. Automate binary versioning ([#789](https://github.com/Stride-Labs/stride/pull/789)) +6. Check if binaries exist during dockernet startup ([#816](https://github.com/Stride-Labs/stride/pull/816)) +7. Fix dockernet typos ([#754](https://github.com/Stride-Labs/stride/pull/754)) 8. Remove third party protos ([#782](https://github.com/Stride-Labs/stride/pull/782)) 9. Changes required to get local to mainnet testing working with Umee ([#776](https://github.com/Stride-Labs/stride/pull/776)) 10. Enabled evmos in upgrade integration tests ([#736](https://github.com/Stride-Labs/stride/pull/736)) - ## [v9.0.0](https://github.com/Stride-Labs/stride/releases/tag/v9.0.0) - 2023-04-19 ### On-Chain changes + 1. Autopilot Channel Verification ([62295e3](https://github.com/Stride-Labs/stride/commit/62295e3818de10c13295855d8fc8a224aff3bc70)) 2. Set epoch provisions in mint init genesis ([16dee3e](https://github.com/Stride-Labs/stride/commit/16dee3e4e3645f3118aa30a45159801873cd8bd4)) 3. Add Unit Test to Check Host Zone Min/Max RR ([3a5c7bf](https://github.com/Stride-Labs/stride/commit/3a5c7bfcc3b8c5e7dd870f01bebeb9d949492203)) @@ -277,12 +310,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 5. v9 Import Paths ([c88b52e](https://github.com/Stride-Labs/stride/commit/c88b52e34a484fe1e055b58abfce86bc19932990)) ### Off-Chain Changes + These changes do not affect any on-chain functionality, but have been implemented since `v8.0.0`. + 1. Add evmos to dockernet ([3323949](https://github.com/Stride-Labs/stride/commit/332394936f57b87ad0b2987572eaa1cade5ce68b)) 2. Update dockernet go relayer and integration test timing ([edeffb3](https://github.com/Stride-Labs/stride/commit/edeffb320bc93c3cc6f3cabc5d2ce18448bebae0)) ## [v8.0.0](https://github.com/Stride-Labs/stride/releases/tag/v8.0.0) - 2023-03-23 + ### On-Chain changes + 1. Add Multiple Validators in One Transaction ([4ce1317](https://github.com/Stride-Labs/stride/commit/4ce1317073f4119a891229530677603c10e5700c)) 2. Add new claim queries ([7e7335a](https://github.com/Stride-Labs/stride/commit/7e7335a6466abc13fd51aed1f7c76d621fb3d524)) 3. Autopilot JSON Memo ([d16d7f2](https://github.com/Stride-Labs/stride/commit/d16d7f2676dc6182dd0fd655530136ff3e5780ad)) @@ -293,31 +330,35 @@ These changes do not affect any on-chain functionality, but have been implemente 8. v8 Import Paths ([0a42766](https://github.com/Stride-Labs/stride/commit/0a42766e900310ce31a9b0b62354229924cb1ee9)) ### Off-Chain changes + These changes do not affect any on-chain functionality, but have been implemented since `v7.0.0`. + 1. Fixed typo in docs for adding a new host ([75f6b6b](https://github.com/Stride-Labs/stride/commit/75f6b6b06fa9058b200eba9395f4b516941bba69)) 2. Automatically Build Docker Image on New Release (in CI) ([26aaf00](https://github.com/Stride-Labs/stride/commit/26aaf00e636c317e5a57cc29a973e1f476072976)),([4febc23](https://github.com/Stride-Labs/stride/commit/4febc230f40dba8c7e1d6443677f8eb0ba34c00a)) 3. Airdrop Testing Scripts ([f305dc](https://github.com/Stride-Labs/stride/commit/f305dc16fb91ec6526292ab039c8dd29a66f619b)) ## [v7.0.0](https://github.com/Stride-Labs/stride/releases/tag/v7.0.0) - 2023-03-12 + ### On-Chain changes + 1. IBC Rate Limiting ([94e3a91](https://github.com/Stride-Labs/stride/commit/94e3a91dc582218a477771d9a694966bf901fdf5)) 2. Host Zone Reward Reallocation ([3539983](https://github.com/Stride-Labs/stride/commit/353998347af20ae14967e5da73a3f9059c0e1826)) 3. Add Autopilot ([1c173fe](https://github.com/Stride-Labs/stride/commit/1c173fed57418bea8fbb19240245757708f25472)) -3. Prevent undelegations of amount 0 ([3e0f404](https://github.com/Stride-Labs/stride/commit/3e0f40457ed90faa964556c6498c9d976336aa84)) -4. Change `sdkerrors` to `errorsmod` ([dfc5fb0](https://github.com/Stride-Labs/stride/commit/dfc5fb0fb33a471f86f1f74992ff3809919e7e80)) -5. Remove Epoch Unbonding Records with 0 amounts ([470268d](https://github.com/Stride-Labs/stride/commit/470268d393b15b0a4014e3a61c0478eaddc10756)) -6. Remove ICACallbacks from Middleware ([59a872b](https://github.com/Stride-Labs/stride/commit/59a872b20d8553c1a0e8187b2d70304c2a7341b7)) -7. Remove unnecessary setting of EXIT_TRANSFER_QUEUE ([0413e99](https://github.com/Stride-Labs/stride/commit/0413e999d3c67369e50ca40c61763f522dd02e06)) -8. Airdrop Reset ([b7371d7](https://github.com/Stride-Labs/stride/commit/b7371d7b4e02e40cc979d0a0e417113276e3b8a3)) -9. Module Account Safety ([0a325de](https://github.com/Stride-Labs/stride/commit/0a325deddc0bac58cc43e650773cc3408eabc011)) -10. Minor optimizations ([c3df52d](https://github.com/Stride-Labs/stride/commit/c3df52d178ebe1e7e3ccf0a697bec3a9fecfdc48), [85e76ec](https://github.com/Stride-Labs/stride/commit/85e76ec9b932f0b5bf5617677d1b8306fd33298f), [5ff42a9](https://github.com/Stride-Labs/stride/commit/5ff42a93b189a240f8cc0ac0a750ac4cd26272f7, [b3196d2](https://github.com/Stride-Labs/stride/commit/b3196d2b3fca62b72b2ba451237379b0747f7b1c), [ddc951a](https://github.com/Stride-Labs/stride/commit/ddc951a7656423c7277671ea89a4fff9b8d0be6f), [bdd05b0](https://github.com/Stride-Labs/stride/commit/bdd05b0f39317e9ce428508fdcda0d66bd2a0ce1) [3d4ba72](https://github.com/Stride-Labs/stride/commit/3d4ba729cfd2529730fdccdb8ee0fdfe151413bd)) -11. Queries ([9b17edf](https://github.com/Stride-Labs/stride/commit/9b17edfe62a752865eaa9b7b95103345d5c66448), [f07ff73](https://github.com/Stride-Labs/stride/commit/f07ff73bd957a6e23afb5c7ec48a6d2334e0d5d7)) -12. Dependency Bumps ([2a04046](https://github.com/Stride-Labs/stride/commit/2a040460dcafdabafca15010facc7e6e2d29609c)) -13. v7 Upgrade Handler ([9bc47dc](https://github.com/Stride-Labs/stride/commit/9bc47dc4efb3ebbbbb8a50fd5b371cb5a37bfb14)) -14. v7 Import Paths ([563bc25](https://github.com/Stride-Labs/stride/commit/563bc25b341c85c8e09d4499f5b3f810338ded60)) - +4. Prevent undelegations of amount 0 ([3e0f404](https://github.com/Stride-Labs/stride/commit/3e0f40457ed90faa964556c6498c9d976336aa84)) +5. Change `sdkerrors` to `errorsmod` ([dfc5fb0](https://github.com/Stride-Labs/stride/commit/dfc5fb0fb33a471f86f1f74992ff3809919e7e80)) +6. Remove Epoch Unbonding Records with 0 amounts ([470268d](https://github.com/Stride-Labs/stride/commit/470268d393b15b0a4014e3a61c0478eaddc10756)) +7. Remove ICACallbacks from Middleware ([59a872b](https://github.com/Stride-Labs/stride/commit/59a872b20d8553c1a0e8187b2d70304c2a7341b7)) +8. Remove unnecessary setting of EXIT_TRANSFER_QUEUE ([0413e99](https://github.com/Stride-Labs/stride/commit/0413e999d3c67369e50ca40c61763f522dd02e06)) +9. Airdrop Reset ([b7371d7](https://github.com/Stride-Labs/stride/commit/b7371d7b4e02e40cc979d0a0e417113276e3b8a3)) +10. Module Account Safety ([0a325de](https://github.com/Stride-Labs/stride/commit/0a325deddc0bac58cc43e650773cc3408eabc011)) +11. Minor optimizations ([c3df52d](https://github.com/Stride-Labs/stride/commit/c3df52d178ebe1e7e3ccf0a697bec3a9fecfdc48), [85e76ec](https://github.com/Stride-Labs/stride/commit/85e76ec9b932f0b5bf5617677d1b8306fd33298f), [5ff42a9](https://github.com/Stride-Labs/stride/commit/5ff42a93b189a240f8cc0ac0a750ac4cd26272f7, [b3196d2](https://github.com/Stride-Labs/stride/commit/b3196d2b3fca62b72b2ba451237379b0747f7b1c), [ddc951a](https://github.com/Stride-Labs/stride/commit/ddc951a7656423c7277671ea89a4fff9b8d0be6f), [bdd05b0](https://github.com/Stride-Labs/stride/commit/bdd05b0f39317e9ce428508fdcda0d66bd2a0ce1) [3d4ba72](https://github.com/Stride-Labs/stride/commit/3d4ba729cfd2529730fdccdb8ee0fdfe151413bd)) +12. Queries ([9b17edf](https://github.com/Stride-Labs/stride/commit/9b17edfe62a752865eaa9b7b95103345d5c66448), [f07ff73](https://github.com/Stride-Labs/stride/commit/f07ff73bd957a6e23afb5c7ec48a6d2334e0d5d7)) +13. Dependency Bumps ([2a04046](https://github.com/Stride-Labs/stride/commit/2a040460dcafdabafca15010facc7e6e2d29609c)) +14. v7 Upgrade Handler ([9bc47dc](https://github.com/Stride-Labs/stride/commit/9bc47dc4efb3ebbbbb8a50fd5b371cb5a37bfb14)) +15. v7 Import Paths ([563bc25](https://github.com/Stride-Labs/stride/commit/563bc25b341c85c8e09d4499f5b3f810338ded60)) ### Off-Chain changes + These changes do not affect any on-chain functionality, but have been implemented since `v6.0.0`. 1. Relayer Permissions ([42e2618](https://github.com/Stride-Labs/stride/commit/42e26186e1a4e3fdac60674c322919b5999b5f47)) @@ -325,14 +366,16 @@ These changes do not affect any on-chain functionality, but have been implemente 3. Minor README updates ([7414ce9](https://github.com/Stride-Labs/stride/commit/7414ce9a4c273a92f7a033cb2552eff651c25143)) 4. Dependency Bumps ([24487b8](https://github.com/Stride-Labs/stride/commit/24487b8744c3490aced1e153a81eaa8c5ec3b200)) - ## [v6.0.0](https://github.com/Stride-Labs/stride/releases/tag/v6.0.0) - 2023-02-22 + ### On-Chain changes -1. Reset Stride Airdrops to kick off Season 2. +1. Reset Stride Airdrops to kick off Season 2. ## [v5.0.0](https://github.com/Stride-Labs/stride/releases/tag/v5.0.0) - 2023-01-19 + ### On-Chain changes + 1. Added query for next send packet sequence number ([fec8b45](https://github.com/Stride-Labs/stride/commit/fec8b4570d9a4a85efd944a1b859cec72d1bf9ea)) 2. Added additional fields to InitGenesis and ExportGenesis in stakeibc ([ea5a9a4](https://github.com/Stride-Labs/stride/commit/ea5a9a4babbe958c6309fefedc30df4c21a03028)) 3. Incremented module version to v5 ([50eb2b4](https://github.com/Stride-Labs/stride/commit/50eb2b4ec541e94ccd46c02ea543ac9293094cef)) @@ -345,6 +388,7 @@ These changes do not affect any on-chain functionality, but have been implemente 10. Dependency bumps ([c1ff649](https://github.com/Stride-Labs/stride/commit/c1ff6495d01dcac519ee9643038c739b4265a4a1)), ([b06abe3](https://github.com/Stride-Labs/stride/commit/b06abe3ef6211bce1bbc1ee179866c24bad3dab5)) ### Off-Chain changes + These changes do not affect any on-chain functionality, but have been implemented since `v4.0.3`. 1. Localstride upgrade support ([50eb2b4](https://github.com/Stride-Labs/stride/commit/50eb2b4ec541e94ccd46c02ea543ac9293094cef)) @@ -353,17 +397,20 @@ These changes do not affect any on-chain functionality, but have been implemente 4. Dockernet updates: improved docs, added v5 host zone, updated dependencies ([2a60eb5](https://github.com/Stride-Labs/stride/commit/2a60eb5222f5b17de0de28aa8e85ad9a257f7496)), ([e9351a2](https://github.com/Stride-Labs/stride/commit/e9351a2f5718e95c98b0fe1e329dda73be92beb8)), ([2e461a3](https://github.com/Stride-Labs/stride/commit/2e461a3fdc42de9f9007dfa8ec7f9b2ac8fa2dcb)), ([619f704](https://github.com/Stride-Labs/stride/commit/619f704c54bfdc8d3d77a280e8a325faf173ba9b)), ([39ad5b8](https://github.com/Stride-Labs/stride/commit/39ad5b887a922d385e04b3cbae24771ba3045fa3)) 5. CI updates ([1c0a4b8](https://github.com/Stride-Labs/stride/commit/78225e2d18d50592f0a40d853419ddc596ad64a5)), ([5f73659](https://github.com/Stride-Labs/stride/commit/5f7365992782224c21fdabec5ade71be88080000)) - ## [v4.0.3](https://github.com/Stride-Labs/stride/releases/tag/v4.0.3) - 2022-12-10 -1. Add list-pending-queries query to interchainquery module ([433dabc](https://github.com/Stride-Labs/stride/commit/433dabcc02c46d2ff038946fe2525a41b9e29b43)) + +1. Add list-pending-queries query to interchainquery module ([433dabc](https://github.com/Stride-Labs/stride/commit/433dabcc02c46d2ff038946fe2525a41b9e29b43)) 2. Updated docs ([a37a56d](https://github.com/Stride-Labs/stride/commit/a37a56d0f17ff54763d77f2864c35a0c8141bd09), [87f7e6d](https://github.com/Stride-Labs/stride/commit/87f7e6d1c620633dca2286f2136dc4c4c855164d), [c913955](https://github.com/Stride-Labs/stride/commit/c913955cfef4bd23c238235c7592fd926427aaef)) 3. Added Makefile commands to start dockernet with different host chains ([33cb844](https://github.com/Stride-Labs/stride/commit/33cb84438c3b605ae0e4a96ee2f73b6d7837b3d2)) ## [v4.0.2](https://github.com/Stride-Labs/stride/releases/tag/v4.0.0) - 2022-12-05 + 1. Rebuild protos, fix v3 reference ((9d83474e7)[https://github.com/Stride-Labs/stride/commit/9d83474e741c4f79ba3a4132d10881362f28ab7e]) ## [v4.0.0](https://github.com/Stride-Labs/stride/releases/tag/v4.0.0) - 2022-11-27 + ### On-Chain changes + 1. Dependency bumps ([384178b2c](https://github.com/Stride-Labs/stride/commit/384178b2cf98e9af0815ffaf3c29649f41784f3e)), ([0a2297ea](https://github.com/Stride-Labs/stride/commit/0a2297eabe287d38723ab8213d5256ce34d2bb2d)), ([802a1dee3](https://github.com/Stride-Labs/stride/commit/802a1dee380e02916f1e89a231d36365a026bb46)), ([f1d90c6a](https://github.com/Stride-Labs/stride/commit/f1d90c6aa50daf75d9608095cc39cbbbe3fac16c)) 2. Add max claimable tokens query ([613e8571](https://github.com/Stride-Labs/stride/commit/613e85711485d3bebeeb5777ba35e701cc795a43)) 3. Interchain query proto cleanup ([9d5e1f6d](https://github.com/Stride-Labs/stride/commit/9d5e1f6d9e24113afa5b7f21e72a736bc8059b7f)) @@ -375,35 +422,37 @@ These changes do not affect any on-chain functionality, but have been implemente ### Off-Chain changes These changes do not affect any on-chain functionality, but have been implemented since `v4.0.0`. + 1. Update Go Relayer to use Stride v3 ([faf3e7b2](https://github.com/Stride-Labs/stride/commit/faf3e7b21f4213b64a61bc2de5b400964cb61963)) 2. Generalized Integration Tests ([80e8e2a4](https://github.com/Stride-Labs/stride/commit/80e8e2a49c3d63d8deabf4235e8e00151fcd8747)) 3. Add localstride ([46a54f6c2](https://github.com/Stride-Labs/stride/commit/80e8e2a49c3d63d8deabf4235e8e00151fcd8747)) 4. Dockernet updates ([b903866c64](https://github.com/Stride-Labs/stride/commit/b903866c6493e7f569d1975dc5f8efd34bdcc24e)), ([df2fcea21c](https://github.com/Stride-Labs/stride/commit/df2fcea21ce89e85d756d2cf8cbdf7e45bec2b0e)) 5. Add ctx app test helper ([0e0238b3](https://github.com/Stride-Labs/stride/commit/0e0238b3dbddceaa7971e150649192e1f8be6982)) - ## [v3.0.0](https://github.com/Stride-Labs/stride/releases/tag/v3.0.0) - 2022-11-18 + ### On-Chain changes -1. Airdrop module ([24224f7](https://github.com/Stride-Labs/stride/commit/9be3314f7bca7e91f099d27ca11177639b76b468), [24224f7](https://github.com/Stride-Labs/stride/commit/24224f7386e7ee56781e7d254f9a48fab60a3bed)). Adds support for airdrop claims, including vesting. -2. Proto reorganization ([8e3668a](https://github.com/Stride-Labs/stride/commit/8e3668a8e87381fb0f470ab60e4f0ba8590139cc)). This cleans up proto files to be more in-line with other Cosmos projects. +1. Airdrop module ([24224f7](https://github.com/Stride-Labs/stride/commit/9be3314f7bca7e91f099d27ca11177639b76b468), [24224f7](https://github.com/Stride-Labs/stride/commit/24224f7386e7ee56781e7d254f9a48fab60a3bed)). Adds support for airdrop claims, including vesting. +2. Proto reorganization ([8e3668a](https://github.com/Stride-Labs/stride/commit/8e3668a8e87381fb0f470ab60e4f0ba8590139cc)). This cleans up proto files to be more in-line with other Cosmos projects. 3. Add Authz support ([e59c98e](https://github.com/Stride-Labs/stride/commit/e59c98e7bce574fa53e6e70222a80b974d84db3b)). -4. Cleanup ICQ Callbacks ([3ec6b8e](https://github.com/Stride-Labs/stride/commit/3ec6b8ebe9f4ba49aed3d671432a9d77e61b095a), [e747ac7](https://github.com/Stride-Labs/stride/commit/e747ac7bdd9385fdaa7d5cd6f2926f7efd519480)). Reorganizes ICQ Callbacks and errors self-heal faster. +4. Cleanup ICQ Callbacks ([3ec6b8e](https://github.com/Stride-Labs/stride/commit/3ec6b8ebe9f4ba49aed3d671432a9d77e61b095a), [e747ac7](https://github.com/Stride-Labs/stride/commit/e747ac7bdd9385fdaa7d5cd6f2926f7efd519480)). Reorganizes ICQ Callbacks and errors self-heal faster. 5. Versioning ([78fd819](https://github.com/Stride-Labs/stride/commit/78fd81918fe8f763f10525770eba1fee0a6dbe25), [0dbbbd8](https://github.com/Stride-Labs/stride/commit/0dbbbd867ffad5b331d09c155dca53a3f581ad5c), [dd6c26](https://github.com/Stride-Labs/stride/commit/dd6c264ea09448130484f7289eb085eb8bdb5766), [f77eac1](https://github.com/Stride-Labs/stride/commit/f77eac106291a59fd839c128f6aa9adb974eb7ef), [24f4b44](https://github.com/Stride-Labs/stride/commit/24f4b44e85518c0e800605265486af5f55f02693)). Updating versions to v3, as well as updating some Go modules. ### Off-Chain changes These changes do not affect any on-chain functionality, but have been implemented since `v2.0.3`. -1. Testing flow to connect a local Stride chain to a production mainnet ([4cb9626](https://github.com/Stride-Labs/stride/commit/4cb9626a92b9cae5a970b3e4ddedf91bd44e8cef)). This is used to streamline onboarding a new Host Zone. +1. Testing flow to connect a local Stride chain to a production mainnet ([4cb9626](https://github.com/Stride-Labs/stride/commit/4cb9626a92b9cae5a970b3e4ddedf91bd44e8cef)). This is used to streamline onboarding a new Host Zone. 2. Cleanup testing flow ([4133ccd](https://github.com/Stride-Labs/stride/commit/4133ccd3ef3f9b17c2602090078e3dae88e62e63), [1ba0b50](https://github.com/Stride-Labs/stride/commit/b18f483293ed6906b3f07ad5f6ab62e02130313d), [1ba0b50](https://github.com/Stride-Labs/stride/commit/1ba0b503ac4dec8fec167b680514dd367fc29bda), [fb03e0d](https://github.com/Stride-Labs/stride/commit/fb03e0d4cd7b7fd648e8b090d90a21cbb835a5d7)). There were a few deprecated testing scripts locally (e.g. testing outside of Docker, and spinning up a separate ICQ relayer), as well as some additional testing functionality (e.g. support for Linux, testing slashing) 3. Additional Docs ([c5cbb83](https://github.com/Stride-Labs/stride/commit/c5cbb83dfbc909f09e99a5633553fedeb0c0fd84)). ## [v2.0.3](https://github.com/Stride-Labs/stride/releases/tag/v2.0.3) - 2022-10-25 ### On-Chain Changes -1. PENDING status for IBC/ICA function calls ([6660f60](https://github.com/Stride-Labs/stride/commit/6660f60094674b2e077f3775982ab4acc8a5ea96)). Added additional status field on internal accounting records to track when IBC/ICA calls are in flight and prevent re-submission. -2. Add Validator through Governance ([c757364](https://github.com/Stride-Labs/stride/commit/c757364c4f532a8f7b9d17531f189c41cde90b14)). Added governance proposal type to enable adding validator's through governance. + +1. PENDING status for IBC/ICA function calls ([6660f60](https://github.com/Stride-Labs/stride/commit/6660f60094674b2e077f3775982ab4acc8a5ea96)). Added additional status field on internal accounting records to track when IBC/ICA calls are in flight and prevent re-submission. +2. Add Validator through Governance ([c757364](https://github.com/Stride-Labs/stride/commit/c757364c4f532a8f7b9d17531f189c41cde90b14)). Added governance proposal type to enable adding validator's through governance. 3. Validator Rebalancing ([725b991](https://github.com/Stride-Labs/stride/commit/725b9912073e4ff8c1fd5574ba4ebd68ec6aee88)). Added `rebalance-validators` transaction to redistribute delegations after validator weights are updated. ### Off-Chain changes @@ -415,9 +464,9 @@ These changes do not affect any on-chain functionality, but have been implemente ## [v1.0.2](https://github.com/Stride-Labs/stride/releases/tag/v1.0.2) - 2022-09-06 -* Fix stochastic sorting issue -* Add new query +- Fix stochastic sorting issue +- Add new query ## [v1.0.0](https://github.com/Stride-Labs/stride/releases/tag/v1.0.0) - 2022-09-04 -Initial Release! \ No newline at end of file +Initial Release! diff --git a/dockernet/src/init_chain.sh b/dockernet/src/init_chain.sh index dfc68e105a..24dc083c25 100644 --- a/dockernet/src/init_chain.sh +++ b/dockernet/src/init_chain.sh @@ -146,7 +146,7 @@ set_consumer_genesis() { # add consumer genesis home_directories="" for (( i=1; i <= $NUM_NODES; i++ )); do - home_directories+="${STATE}/stride${i}," + home_directories+="${STATE}/${NODE_PREFIX}${i}," done $MAIN_CMD add-consumer-section --validator-home-directories $home_directories diff --git a/dockernet/upgrades/README.md b/dockernet/upgrades/README.md index 032f7da599..b28b3007c2 100644 --- a/dockernet/upgrades/README.md +++ b/dockernet/upgrades/README.md @@ -1,41 +1,55 @@ # Testing Upgrades in Local Mode + ## Run Instructions -* Before working on the upgrade logic, you'll need to compile the original binary that represent the code before the upgrade takes place. This is done by the following command, where the `old_version` is the version you're upgrading *from*: -``` bash + +- Before working on the upgrade logic, you'll need to compile the original binary that represent the code before the upgrade takes place. This is done by the following command, where the `old_version` is the version you're upgrading _from_: + +```bash # e.g. make UPGRADE_OLD_VERSION=v8.0.0 upgrade-build-old-binary make UPGRADE_OLD_VERSION={VERSION} upgrade-build-old-binary ``` -* Then startup the chain, but specify the old tag or commit hash, as well as the upgrade name + +- Then startup the chain, but specify the old tag or commit hash, as well as the upgrade name + ```bash -# e.g. make UPGRADE_OLD_VERSION=v8.0.0 UPGRADE_NAME=v9 upgrade-build-old-binary -make UPGRADE_OLD_VERSION={VERSION} UPGRADE_NAME={NAME} start-docker +# e.g. make UPGRADE_OLD_VERSION=v8.0.0 UPGRADE_NAME=v9 start-docker +make UPGRADE_OLD_VERSION={VERSION} UPGRADE_NAME={NAME} start-docker ``` -* The startup script will: - * Compile the new binary - * Create the cosmosvisor file structure required for upgrades - * Rebuild and replace the stride docker image with an image that has both binaries and is running cosmosvisor - * This image pulls the new binary from the normal docker build that happens at the start of running this make command -* Once the chain is up and running, submit the upgrade by running the following (the upgrade will occur at block 150): + +- The startup script will: + - Compile the new binary + - Create the cosmosvisor file structure required for upgrades + - Rebuild and replace the stride docker image with an image that has both binaries and is running cosmosvisor + - This image pulls the new binary from the normal docker build that happens at the start of running this make command +- Once the chain is up and running, submit the upgrade by running the following (the upgrade will occur at block 150): + ```bash # e.g. make UPGRADE_NAME=v10 submit-upgrade-immediately make UPGRADE_NAME={NAME} submit-upgrade-immediately ``` -* View the stride logs - you should notice an update occuring at the specified upgrade height. + +- View the stride logs - you should notice an update occuring at the specified upgrade height. ## Testing Upgrades with Integration Tests -* **WARNING**: The integration tests may change between versions - the following only works if there were not breaking changes. If there are breaking changes, you can replace the GAIA and EVMOS integration test files with those from the old version. -* Compile the old binary -``` bash + +- **WARNING**: The integration tests may change between versions - the following only works if there were not breaking changes. If there are breaking changes, you can replace the GAIA and EVMOS integration test files with those from the old version. +- Compile the old binary + +```bash # e.g. make UPGRADE_OLD_VERSION=v8.0.0 upgrade-build-old-binary make UPGRADE_OLD_VERSION={VERSION} upgrade-build-old-binary ``` -* Run the following to start the network, run the integration tests on the old binary, and then propose and vote on the upgrade: + +- Run the following to start the network, run the integration tests on the old binary, and then propose and vote on the upgrade: + ```bash # e.g. make UPGRADE_OLD_VERSION=v8.0.0 UPGRADE_NAME=v10 upgrade-integration-tests-part-1 make UPGRADE_OLD_VERSION={VERSION} UPGRADE_NAME={NAME} upgrade-integration-tests-part-1 ``` -* Once the integration tests pass and the upgrade has been proposed, wait for the upgrade to occur at block 400. Check the stride logs to confirm the upgrade passes successfully -* Finally, run the remaining integration tests + +- Once the integration tests pass and the upgrade has been proposed, wait for the upgrade to occur at block 500. Check the stride logs to confirm the upgrade passes successfully +- Finally, run the remaining integration tests + ```bash # e.g. make UPGRADE_NAME=v10 finish-upgrade-integration-tests make UPGRADE_NAME={NAME} finish-upgrade-integration-tests