Skip to content

Commit

Permalink
v23 Changelog (#1247)
Browse files Browse the repository at this point in the history
Co-authored-by: stride-dev <dev@stridelabs.com>
Co-authored-by: sampocs <sam.pochyly@gmail.com>
  • Loading branch information
3 people committed Jul 20, 2024
1 parent 22a35fc commit 3f521dd
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 56 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- GH ACTIONS TEMPLATE - INSERT NEW VERSION HERE -->

## [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))
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))
8. version bumps ([#1187](https://github.com/Stride-Labs/stride/pull/1187)), ([#1228](https://github.com/Stride-Labs/stride/pull/1228))
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
Expand Down
9 changes: 5 additions & 4 deletions dockernet/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ build_local_and_docker() {

echo "Building $title Docker... "
if [[ "$module" == "stride" ]]; then
image=Dockerfile
else
image=dockernet/dockerfiles/Dockerfile.$module
# First build stride with the main image, then use the override
# in the dockerfiles folder below
DOCKER_BUILDKIT=1 docker build --tag stridezone:$module -f Dockerfile .
fi


image=dockernet/dockerfiles/Dockerfile.$module
DOCKER_BUILDKIT=1 docker build --tag stridezone:$module -f $image .
docker_build_succeeded=${PIPESTATUS[0]}

Expand Down
41 changes: 19 additions & 22 deletions dockernet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ services:
# Stride nodes
stride1:
image: stridezone:stride
command: strided start --reject-config-defaults
volumes:
- ./state/stride1:/home/stride/.stride
ports:
Expand All @@ -12,13 +11,11 @@ services:

stride2:
image: stridezone:stride
command: strided start --reject-config-defaults
volumes:
- ./state/stride2:/home/stride/.stride

stride3:
image: stridezone:stride
command: strided start --reject-config-defaults
volumes:
- ./state/stride3:/home/stride/.stride

Expand Down Expand Up @@ -103,7 +100,7 @@ services:
# being run when testing upgrades
host1:
image: stridezone:stride
command: strided start
command: strided start --reject-config-defaults
volumes:
- ./state/host1:/home/stride/.stride
ports:
Expand All @@ -113,13 +110,13 @@ services:

host2:
image: stridezone:stride
command: strided start
command: strided start --reject-config-defaults
volumes:
- ./state/host2:/home/stride/.stride

host3:
image: stridezone:stride
command: strided start
command: strided start --reject-config-defaults
volumes:
- ./state/host3:/home/stride/.stride

Expand Down Expand Up @@ -195,113 +192,113 @@ services:
volumes:
- ./state/relayer-gaia:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "stride-gaia"]
command: [ "bash", "start.sh", "stride-gaia" ]

relayer-gaia-ics:
image: stridezone:relayer
volumes:
- ./state/relayer-gaia-ics:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "stride-gaia-ics"]
command: [ "bash", "start.sh", "stride-gaia-ics" ]

relayer-juno:
image: stridezone:relayer
volumes:
- ./state/relayer-juno:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "stride-juno"]
command: [ "bash", "start.sh", "stride-juno" ]

relayer-osmo:
image: stridezone:relayer
volumes:
- ./state/relayer-osmo:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "stride-osmo"]
command: [ "bash", "start.sh", "stride-osmo" ]

relayer-stars:
image: stridezone:relayer
volumes:
- ./state/relayer-stars:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "stride-stars"]
command: [ "bash", "start.sh", "stride-stars" ]

relayer-host:
image: stridezone:relayer
volumes:
- ./state/relayer-host:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "stride-host"]
command: [ "bash", "start.sh", "stride-host" ]

relayer-evmos:
image: stridezone:relayer
volumes:
- ./state/relayer-evmos:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "stride-evmos"]
command: [ "bash", "start.sh", "stride-evmos" ]

relayer-dydx:
image: stridezone:relayer
volumes:
- ./state/relayer-dydx:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "stride-dydx"]
command: [ "bash", "start.sh", "stride-dydx" ]

# Relayers for rate limiter tests
relayer-juno-osmo:
image: stridezone:relayer
volumes:
- ./state/relayer-juno-osmo:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "juno-osmo"]
command: [ "bash", "start.sh", "juno-osmo" ]

# Relayers for reward converter accessory chains
relayer-stride-noble:
image: stridezone:relayer
volumes:
- ./state/relayer-stride-noble:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "stride-noble"]
command: [ "bash", "start.sh", "stride-noble" ]

relayer-noble-osmo:
image: stridezone:relayer
volumes:
- ./state/relayer-noble-osmo:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "noble-osmo"]
command: [ "bash", "start.sh", "noble-osmo" ]

relayer-stride-osmo:
image: stridezone:relayer
volumes:
- ./state/relayer-stride-osmo:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "stride-osmo"]
command: [ "bash", "start.sh", "stride-osmo" ]

# Relayers for reward converter with dydx
relayer-dydx-noble:
image: stridezone:relayer
volumes:
- ./state/relayer-dydx-noble:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "dydx-noble"]
command: [ "bash", "start.sh", "dydx-noble" ]

relayer-osmo-dydx:
image: stridezone:relayer
volumes:
- ./state/relayer-osmo-dydx:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "osmo-dydx"]
command: [ "bash", "start.sh", "osmo-dydx" ]

# Relayers for reward converter with gaia
relayer-gaia-noble:
image: stridezone:relayer
volumes:
- ./state/relayer-gaia-noble:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "gaia-noble"]
command: [ "bash", "start.sh", "gaia-noble" ]

relayer-osmo-gaia:
image: stridezone:relayer
volumes:
- ./state/relayer-osmo-gaia:/home/relayer/.relayer
restart: always
command: ["bash", "start.sh", "osmo-gaia"]
command: [ "bash", "start.sh", "osmo-gaia" ]
3 changes: 3 additions & 0 deletions dockernet/dockerfiles/Dockerfile.stride
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM stridezone:stride

CMD strided start --reject-config-defaults
2 changes: 1 addition & 1 deletion dockernet/upgrades/Dockerfile.stride
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ WORKDIR /home/stride

EXPOSE 26657 26656 1317 9090

RUN echo "mv ${COSMOVISOR_HOME} ${DAEMON_HOME}/cosmovisor && cosmovisor run start" > start.sh
RUN echo "mv ${COSMOVISOR_HOME} ${DAEMON_HOME}/cosmovisor && cosmovisor run start --reject-config-defaults" > start.sh

CMD ["bash", "start.sh" ]
5 changes: 2 additions & 3 deletions proto/stride/stakeibc/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ import "gogoproto/gogo.proto";
import "stride/stakeibc/params.proto";
import "stride/stakeibc/host_zone.proto";
import "stride/stakeibc/epoch_tracker.proto";
// this line is used by starport scaffolding # genesis/proto/import
import "stride/stakeibc/trade_route.proto";

option go_package = "github.com/Stride-Labs/stride/v23/x/stakeibc/types";

// GenesisState defines the stakeibc module's genesis state.
message GenesisState {
Params params = 1 [ (gogoproto.nullable) = false ];
string port_id = 2;
// list of zones that are registered by the protocol
repeated HostZone host_zone_list = 5 [ (gogoproto.nullable) = false ];
repeated EpochTracker epoch_tracker_list = 10
[ (gogoproto.nullable) = false ];
// this line is used by starport scaffolding # genesis/proto/state
repeated TradeRoute trade_routes = 12 [ (gogoproto.nullable) = false ];
reserved 3, 4, 6, 9, 11;
}
4 changes: 4 additions & 0 deletions x/stakeibc/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ func InitGenesis(ctx sdk.Context, k keeper.Keeper, genState types.GenesisState)
for _, epochTracker := range genState.EpochTrackerList {
k.SetEpochTracker(ctx, epochTracker)
}
for _, tradeRoute := range genState.TradeRoutes {
k.SetTradeRoute(ctx, tradeRoute)
}

k.SetParams(ctx, genState.Params)
}
Expand All @@ -27,6 +30,7 @@ func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState {
genesis.Params = k.GetParams(ctx)
genesis.HostZoneList = k.GetAllHostZone(ctx)
genesis.EpochTrackerList = k.GetAllEpochTracker(ctx)
genesis.TradeRoutes = k.GetAllTradeRoutes(ctx)

return genesis
}
Loading

0 comments on commit 3f521dd

Please sign in to comment.