Skip to content

Commit

Permalink
feat: local dev environment (#1554)
Browse files Browse the repository at this point in the history
* localosmosis

* extract docker runs to script

* change ubuntu to alpine

* nicco suggestions

* update changelog
  • Loading branch information
czarcas7ic committed Jun 2, 2022
1 parent d234f86 commit 6d6fba9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 70 deletions.
41 changes: 0 additions & 41 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,47 +41,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

<<<<<<< HEAD
## [v7.3.0](https://github.com/osmosis-labs/osmosis/releases/tag/v7.3.0)
=======
* [#1554](https://github.com/osmosis-labs/osmosis/pull/1554) local dev environment
* [#1535](https://github.com/osmosis-labs/osmosis/pull/1535) upgrade wasmd to v0.27.0.rc3-osmo and ibc-go to v3
* [#1435] `x/tokenfactory` create denom fee for spam resistance
* [#1429] solver for multi-asset CFMM
* [#1253] Add lockup duration edit method
* [#1253] Add lockup duration edit method
* [#1312] Stableswap: Createpool logic
* [#1230] Stableswap CFMM equations
* [#1541] Add arm64 support to Docker

## [v8.0.0 - Emergency proposals upgrade](https://github.com/osmosis-labs/osmosis/releases/tag/v8.0.0)

This upgrade is a patch that must be hard forked in, as on-chain governance of Osmosis approved proposal [227](https://www.mintscan.io/osmosis/proposals/227) and proposal [228](https://www.mintscan.io/osmosis/proposals/228).

This upgrade includes:

* Adding height-gated AnteHandler message filter to filter unpooling tx pre-upgrade.
* At block height 4402000 accelerates prop 225, which in turn moves incentives from certain pools according to props 222-224
* Adds a msg allowing unpooling of UST pools.
* This procedure is initiated by whitelisting pools 560, 562, 567, 578, 592, 610, 612, 615, 642, 679, 580, 635.
* Unpooling allows exiting whitelisted pools directly, finish unbonding duration with the exited tokens instead of having to wait unbonding duration to swap LP shares back to collaterals.
* This procedure also includes locks that were already unbonding pre-upgrade and locks that were superfluid delegated.

Every node should upgrade their software version to v8.0.0 before the upgrade block height 4402000. If you use cosmovisor, simply swap out the binary at upgrades/v7/bin to be v8.0.0, and restart the node. Do check cosmovisor version returns v8.0.0

### Features
* {Across many PRs} Initiate emergency upgrade
* [#1481] Emergency upgrade as of prop [226] (https://www.mintscan.io/osmosis/proposals/226)
* [#1482] Checking Whitelisted Pools contain UST
* [#1486] Update whitelisted pool IDs
* [#1262] Add a forceprune command to the binaries, that prunes golevelDB data better
* [#1154] Database stability improvements
* [#840] Move lock.go functions into iterator.go, lock_refs.go and store.go
* [#916] And a fn for Unbond and Burn tokens
* [#908] Superfluid slashing code
* [#904] LockAndSuperfluidDelegate
>>>>>>> f5472e0 (feat: local dev environment (#1554))
### Bug Fixes

* [1390](https://github.com/osmosis-labs/osmosis/pull/1390) Upgrade sdk to v0.45.0x-osmo-v7.9, fixing data races with GRPC
Expand Down
29 changes: 0 additions & 29 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -266,34 +266,6 @@ format:
### Localnet ###
###############################################################################

<<<<<<< HEAD
build-docker-osmosisdnode:
$(MAKE) -C contrib/localtestnet

# Run a 4-node testnet locally
localnet-start: build-linux build-docker-osmosisdnode # localnet-stop
@if ! [ -f $(BUILDDIR)/node0/osmosisd/config/genesis.json ]; \
then docker run --rm -v $(BUILDDIR):/osmosisd:Z osmosis-labs/osmosisdnode testnet --v 4 -o . --starting-ip-address 192.168.10.2 --keyring-backend=test ; \
fi
docker-compose up -d

# Stop testnet
localnet-stop:
docker-compose down

clean-localnet: localnet-stop
rm -rf $(BUILDDIR)/node* $(BUILDDIR)/gentxs

test-docker:
@docker build -f contrib/Dockerfile.test -t ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) .
@docker tag ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) ${TEST_DOCKER_REPO}:$(shell git rev-parse --abbrev-ref HEAD | sed 's#/#_#g')
@docker tag ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD) ${TEST_DOCKER_REPO}:latest

test-docker-push: test-docker
@docker push ${TEST_DOCKER_REPO}:$(shell git rev-parse --short HEAD)
@docker push ${TEST_DOCKER_REPO}:$(shell git rev-parse --abbrev-ref HEAD | sed 's#/#_#g')
@docker push ${TEST_DOCKER_REPO}:latest
=======
localnet-keys:
. tests/localosmosis/keys.sh

Expand All @@ -305,7 +277,6 @@ localnet-start:

localnet-remove:
@docker-compose -f tests/localosmosis/docker-compose.yml down
>>>>>>> f5472e0 (feat: local dev environment (#1554))

.PHONY: all build-linux install format lint \
go-mod-cache draw-deps clean build \
Expand Down

0 comments on commit 6d6fba9

Please sign in to comment.