Skip to content

Commit

Permalink
Merge branch 'master' of github.com:desmos-labs/desmos into paul/quer…
Browse files Browse the repository at this point in the history
…y-params-optional
  • Loading branch information
dadamu committed Jul 27, 2021
2 parents 9f62c6c + 3d93d51 commit 906a9d0
Show file tree
Hide file tree
Showing 69 changed files with 2,380 additions and 4,350 deletions.
32 changes: 32 additions & 0 deletions .changeset/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
github_repo: github.com/desmos-labs/desmos
version: 0.17.0

types:
- code: "added"
description: "Added a new feature"
category: change
- code: "changed"
description: "Changed a feature"
category: change
- code: "deprecated"
description: "Deprecated a feature"
category: change
- code: "removed"
description: "Removed a feature"
category: change
- code: "fixed"
description: "Fixed a bug"
category: fix
- code: "security"
description: "Fix a security issue"
category: fix

modules:
- id: "x/profiles"
description: "Profiles"
- id: "x/posts"
description: "Posts"
- id: "x/subspaces"
description: "Subspaces"
- id: "external"
description: "External"
58 changes: 58 additions & 0 deletions .github/workflows/on-chain-upgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Test on chain upgrade
# On chain upgrade workflow tests the on-chain upgrade procedure.
# This workflow is run on pushes to master & every Pull Requests where a .go, .mod, .sum have been changed
on:
pull_request:
push:
branches:
- master
jobs:
Cleanup-runs:
runs-on: ubuntu-latest
steps:
- name: Cleanup 🧹
uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"

Perform-upgrade:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
GENESIS_DESMOS_VERSION: "v0.17.2"
GENESIS_URL: "https://raw.githubusercontent.com/desmos-labs/morpheus/master/morpheus-apollo-2/genesis.json"
UPGRADE_NAME: "desmos-v0.17.4-upgrade"
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2

- name: Setup Go 🧰
uses: actions/setup-go@v2.1.3
with:
go-version: 1.15

- name: Compute diff 📜
uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: Install Desmos 🔧
run: make clean install
if: env.GIT_DIFF

- name: Start testnet ⛓
run: |
make upgrade-testnet-start \
GENESIS_VERSION="$GENESIS_DESMOS_VERSION" \
GENESIS_URL="$GENESIS_URL" \
UPGRADE_NAME="$UPGRADE_NAME"
if: env.GIT_DIFF

- name: Submit upgrade ✅
run: |
./contrib/upgrade_testnet/submit_upgrade_proposal.sh 4 $UPGRADE_NAME 50
if: env.GIT_DIFF
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -324,3 +324,4 @@ jobs:
run: |
./contrib/localnet_liveness.sh 100 5 50 localhost
if: env.GIT_DIFF

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

# Build
vendor
venv
build
tools/bin/*
examples/build/*
Expand Down
Loading

0 comments on commit 906a9d0

Please sign in to comment.