-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v2] sdk v0.47.x migration & ibc v7 (#93)
* update app to v2 * upgrade to sdk v0.47 & ibc-go v7 * update ibc storekey * cosmos-sdk v0.47 updates, improvements & cleanup * update go version * add v2 upgrade handler * update sdkerrors to errorsmod * update github workflows * fix github workflows * fix lint issues * fix lint issues * gofumpted * fix tests * lint * fix tests * add update params message * add migrations * removed unused handler * seperated params and legacy params * add store migration logic * add update params message and it's types * add params store key for module * update init genesis to panic on error * include subspace argument in alloc module call * fix lint * fix codec register msg * update protos * add paramset in exported types for migration * seperated legacy fuciton of params * add msg types for update params * updated params get & set fuctions to fetch data from module store * fix lint * add upgrade params msg * fix params grpc query * fix itc keeper init * add & register migration * register params msg with codec * migration tests * fix lint * fix sdk msg implementation * refactor: remove unused legacy handler * replace gogo protobuf with cosmos gogoproto * add update params msg protos * add update params related types * add updateParams message * add & register migration * lint * feat: x/streampay params migration * fix streampay module initialization * feat: onft params migration * feat: update upgrade handler sdk & ibc migrations * add consensus and crisis modules to store upgrades * update go lint config * fix lint issues * fix lint issues * remove min commission decorator * add migration test for alloc params * fix params migration issue
- Loading branch information
Showing
186 changed files
with
5,265 additions
and
5,466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,46 +5,65 @@ name: omniflixhub | |
# Controls when the action will run. Workflow runs when manually triggered using the UI | ||
# or API. | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- development | ||
tags: | ||
- v* | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
- development | ||
- "**" | ||
push: | ||
branches: | ||
- "main" | ||
- "v[0-9]**" | ||
workflow_dispatch: | ||
|
||
env: | ||
GO_VERSION: "1.20.5" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
# This workflow makes x86_64 binaries for mac, windows, and linux. | ||
|
||
jobs: | ||
build: | ||
name: omniflixhub ${{ matrix.arch }} for ${{ matrix.targetos }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
arch: [ amd64, arm64 ] | ||
targetos: [ darwin, linux ] | ||
name: omniflixhub ${{ matrix.arch }} for ${{ matrix.targetos }} | ||
include: | ||
- targetos: darwin | ||
arch: arm64 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup go | ||
uses: actions/setup-go@v1 | ||
- name: Check out repository code | ||
uses: actions/checkout@v4 | ||
- name: Get git diff | ||
uses: technote-space/[email protected] | ||
with: | ||
PATTERNS: | | ||
**/**.wasm | ||
!tests/** | ||
**/**.go !**/*_test.go | ||
go.mod | ||
go.sum | ||
Makefile | ||
.github/workflows/build.yml | ||
- name: Setup Golang | ||
uses: actions/setup-go@v4 | ||
if: env.GIT_DIFF | ||
with: | ||
go-version: 1.18 | ||
go-version: ${{env.GO_VERSION}} | ||
env: | ||
GOOS: ${{ matrix.targetos }} | ||
GOARCH: ${{ matrix.arch }} | ||
|
||
- name: Compile | ||
- name: Download Dependencies | ||
if: env.GIT_DIFF | ||
run: go mod download | ||
- name: Build omnniflixhubd | ||
if: env.GIT_DIFF | ||
run: | | ||
go mod download | ||
cd cmd/omniflixhubd | ||
go build . | ||
- uses: actions/upload-artifact@v2 | ||
GOWRK=off go build cmd/omniflixhubd/main.go | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: omniflixhubd ${{ matrix.targetos }} ${{ matrix.arch }} | ||
path: cmd/omniflixhubd/omniflixhubd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.