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

Mainnet v6.5.0 chain upgrade #473

Merged
merged 78 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
3d4fd33
revert go
kkast Jan 22, 2024
8e3e89c
replace notional-labs with composablefi
rjonczy Jan 22, 2024
0e070ba
1.20
kkast Jan 29, 2024
94b2ffc
t
kkast Jan 29, 2024
5ddacff
t
kkast Jan 29, 2024
aa035a4
Merge pull request #436 from ComposableFi/ci_fixes_1
kkast Jan 29, 2024
66b44f7
remove add-revenue tx
kkast Jan 29, 2024
d841b1f
remove fee_collector from blacklist
kkast Jan 29, 2024
7aae203
Merge pull request #434 from ComposableFi/fee_collector_unblock
kkast Jan 29, 2024
b20f113
double wasm size
kkast Jan 31, 2024
f893c04
Merge pull request #438 from ComposableFi/increase_wasm_size
dzmitry-lahoda Jan 31, 2024
9d6a2f7
new upgrade
kkast Jan 31, 2024
ec27a77
Merge pull request #439 from ComposableFi/testnetv6_4_4
kkast Jan 31, 2024
adf4fac
change upgrade name to v6_4_7
RustNinja Mar 11, 2024
dbf175f
rename v6_4_47
RustNinja Mar 11, 2024
2a46603
delete proposal #6
kkast Feb 6, 2024
562674a
use develop branch for ci
kkast Feb 6, 2024
0503474
use another image
kkast Feb 7, 2024
3c4f2d6
test
kkast Feb 7, 2024
22e484a
removing more broken proposals
kkast Feb 7, 2024
448efe5
introduce goreleaser
rjonczy Feb 19, 2024
7a0cbd3
remove separate gha for building docker images
rjonczy Feb 19, 2024
64edb69
rename registry owner
rjonczy Feb 19, 2024
976423e
clean comments
rjonczy Feb 19, 2024
c51b8d3
use version with v
rjonczy Feb 19, 2024
c1d647e
add additional tags
rjonczy Feb 19, 2024
bc93276
fix org
rjonczy Feb 19, 2024
aa9a360
update docker image
rjonczy Feb 20, 2024
9c878a8
added jq
rjonczy Feb 20, 2024
118b79c
slashing fixes
kkast Feb 23, 2024
e6149ed
review fixes
kkast Feb 27, 2024
da8d687
fix tests
kkast Feb 28, 2024
8d539fc
local setup
kkast Feb 28, 2024
07573bd
introduce ibc transfer custom module
RustNinja Feb 20, 2024
98d1a44
custom ibc transfer module ready to replace for testing.
RustNinja Feb 21, 2024
23cf7cc
activate custom ibc module for cosmos chain. chain works.
RustNinja Feb 21, 2024
ec78315
added ibc transfer module that is going to store all params for eth fees
RustNinja Feb 21, 2024
25dc69d
resolve conflict with a same name for MsgUpdateEpochParams from staking.
RustNinja Feb 21, 2024
0166205
add dependency to transfer keeper from ibc transfer middleware/params
RustNinja Feb 21, 2024
5683e1b
added repeated FeeItem into Params + MVP logic in transfer msg server
RustNinja Feb 21, 2024
28d5504
finalized the Transfer method. send fee to fee. build. chain works.
RustNinja Feb 21, 2024
be3097d
only useful params in genesis for ibc transfer module. Works
RustNinja Feb 21, 2024
8d7eb68
golangci-lint run
RustNinja Feb 21, 2024
675ae5e
remove unused types in proto
RustNinja Feb 23, 2024
cb60b1f
add docs and fix all requested changes by reviewers
RustNinja Feb 23, 2024
7720595
refactoring.
RustNinja Mar 5, 2024
79e03f3
allow devnet with custom key gov
dzmitry-lahoda Feb 28, 2024
7bc093e
relay from master
dzmitry-lahoda Nov 13, 2023
2adf5bd
porting fix from v7
dzmitry-lahoda Feb 28, 2024
0bdb814
add runtime upgrade handler. for ibc fee feature.
RustNinja Mar 5, 2024
bb19b89
upgrade merged. BankKeeper + GovKeeper + IbcTransferMiddlewareKeeper
RustNinja Mar 5, 2024
69cf6f2
Revert "Merge pull request #451 from ComposableFi/slashing_fix"
RustNinja Mar 6, 2024
186f8e7
revert banksy changes to resolve halted chain.
RustNinja Mar 6, 2024
a0e588c
Revert "allow devnet with custom key gov"
RustNinja Mar 7, 2024
fd9785d
create a new chain upgrade handler for chain upgrade.
RustNinja Mar 7, 2024
7265629
introduce the validation to now allow timeout timestamp less then Xnanos
RustNinja Mar 19, 2024
290f193
fix lint
RustNinja Mar 19, 2024
62c5ae8
slashing + pfm
kkast Mar 18, 2024
06dafe6
upgrade fix
kkast Mar 19, 2024
9836bc5
test fix
kkast Mar 19, 2024
71e93e0
use ComposableFi fork
kkast Mar 20, 2024
6c4ffee
introduce validation for timeout timestamp for eth ibc bridge
RustNinja Mar 19, 2024
50195a2
extra validation that timeoutTimeInFuture.Before(blockTime) return error
RustNinja Mar 19, 2024
c6a028e
check
kkast Mar 20, 2024
ca10944
try2
kkast Mar 20, 2024
ff68541
change storage key and module name.
RustNinja Mar 20, 2024
a76ebd3
set mint modules to be a minter
kkast Mar 20, 2024
6a2efe4
add extra tx to update and remove channel fee from module's storage
RustNinja Mar 25, 2024
2c06ec9
added 2 extra method that allow to add/remove allowed tokens for ibc tx
RustNinja Mar 25, 2024
31e6e99
use list of addresses as authority to update/remove ibc fee configs,coin
RustNinja Mar 25, 2024
a4762f7
fix lint and unused comments
RustNinja Mar 25, 2024
e3efd9a
remove commented code
RustNinja Mar 25, 2024
a0ac066
Merge pull request #470 from ComposableFi/rustninja/cosmos-fee-config
RustNinja Mar 25, 2024
198a508
use v6_4_9 as a next chain upgrade name for ibc fee module.
RustNinja Mar 25, 2024
62f24de
inject a new ibc transfer custom wrapper module instead of original ibc
RustNinja Mar 25, 2024
56becc4
Merge pull request #471 from ComposableFi/rustninja/cosmos-eth-fees-i…
RustNinja Mar 26, 2024
cee4449
v6_4_91 chain upgrade name to replace original ibc module
RustNinja Mar 26, 2024
55484a4
Merge pull request #472 from ComposableFi/rustdev/upgrade-v6491
RustNinja Mar 26, 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
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ jobs:
runs-on: ubuntu-latest
name: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'
- run: go build ./...

tidy:
runs-on: ubuntu-latest
name: tidy
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'
- run: |
go mod tidy
CHANGES_IN_REPO=$(git status --porcelain)
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/build_docker.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v3
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/goreleaser-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: goreleaser-latest

on:
push:
branches:
- main
- develop

permissions:
contents: write
packages: write

jobs:
goreleaser-latest:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Fetch all tags
run: git fetch --force --tags

- name: Release (snapshot)
run: make release-snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Login to GHCR container register
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push versioned image
uses: docker/build-push-action@v5
with:
file: contrib/docker/goreleaser.Dockerfile
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ghcr.io/composablefi/composable-cosmos:latest
55 changes: 55 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: goreleaser

on:
push:
tags:
- "*"

permissions:
contents: write
packages: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Fetch all tags
run: git fetch --force --tags

- name: Release
run: make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get version
id: get_version
uses: battila7/get-version-action@v2

- name: Login to GHCR container register
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push versioned image
uses: docker/build-push-action@v5
with:
file: contrib/docker/goreleaser.Dockerfile
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/composablefi/composable-cosmos:${{ steps.get_version.outputs.version }}
ghcr.io/composablefi/composable-cosmos:v${{ steps.get_version.outputs.major }}
ghcr.io/composablefi/composable-cosmos:v${{ steps.get_version.outputs.major }}.${{ steps.get_version.outputs.minor }}
54 changes: 27 additions & 27 deletions .github/workflows/interchaintest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- develop

permissions:
contents: read
Expand All @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
Expand All @@ -33,18 +33,18 @@ jobs:
push: true
platforms: linux/amd64
tags: |
ghcr.io/notional-labs/centauri-ictest:latest
ghcr.io/composablefi/centauri-ictest:latest
test-start-cosmos-chain:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v3
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'

- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: make ictest-start-cosmos
env:
Expand All @@ -54,13 +54,13 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v3
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'

- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: make ictest-upgrade
env:
Expand All @@ -70,13 +70,13 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v3
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'

- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: make ictest-start-polkadot
env:
Expand All @@ -86,13 +86,13 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-push-image
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v3
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'

- name: checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- run: make ictest-validator
env:
Expand All @@ -102,13 +102,13 @@ jobs:
# runs-on: ubuntu-latest
# needs: build-and-push-image
# steps:
# - name: Set up Go 1.19
# uses: actions/setup-go@v3
# - name: Set up Go 1.20
# uses: actions/setup-go@v4
# with:
# go-version: 1.19
# go-version: 1.20

# - name: checkout code
# uses: actions/checkout@v3
# uses: actions/checkout@v4

# - run: make ictest-ibc
# env:
Expand All @@ -118,13 +118,13 @@ jobs:
# runs-on: ubuntu-latest
# needs: build-and-push-image
# steps:
# - name: Set up Go 1.19
# uses: actions/setup-go@v3
# - name: Set up Go 1.20
# uses: actions/setup-go@v4
# with:
# go-version: 1.19
# go-version: 1.20

# - name: checkout code
# uses: actions/checkout@v3
# uses: actions/checkout@v4

# - run: make ictest-push-wasm
# env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
- uses: actions/checkout@v3
go-version: '1.20'
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
65 changes: 0 additions & 65 deletions .github/workflows/push_docker_images.yml

This file was deleted.

Loading
Loading