-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.45.15-ics-onomy provider upgrade (#146)
* Remove Gravity module * Update go.mod * go vendor and recheck * fixes * ignore onomyd binaries * updates * add provider module * update to use github link * Version 1.1.0 * Use evmos upgrade strategy * fix chain upgrade problem * remove old tests * introduce super_orchestrator based test system * Create .gitignore * add ics_with_interchain_security_cd * working without changes needed to consumer example * use "native" token * refactoring chain ids * build consumer in dockerfile * faster block times in tests * Update ci.yml * fix test on CI * add chain_upgrade test * Version 1.1.1 * Update chain_upgrade.rs * add README * add go unit tests to ci.yml * go mod tidy * use ICS v1.1.0-multiden This is the version used on Gaia, we do not want to use a version without some fixes on the battle tested line. * use v0.45.16-ics-onomy * fmt
- Loading branch information
1 parent
d0cb6f2
commit cb18c9e
Showing
79 changed files
with
3,607 additions
and
73,943 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
This file was deleted.
Oops, something went wrong.
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,20 +5,23 @@ on: | |
branches: | ||
- 'dev' | ||
- 'main' | ||
|
||
pull_request: | ||
branches: | ||
- 'dev' | ||
- 'main' | ||
|
||
jobs: | ||
ci: | ||
test_suite: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.19 | ||
id: go | ||
- name: Install Rust components | ||
run: | | ||
rustup set profile minimal | ||
rustup default stable | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- uses: satackey/[email protected] | ||
continue-on-error: true | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Cache Docker layers | ||
|
@@ -28,6 +31,50 @@ jobs: | |
key: ${{ runner.os }}-buildx-${{ github.sha }} | ||
restore-keys: | | ||
${{ runner.os }}-buildx- | ||
- name: CI | ||
- name: test suite | ||
# TODO there is some unused stuff we need to fix or remove | ||
# make all-in-docker | ||
run: | | ||
go test ./... | ||
cargo r --bin onomyd_only | ||
cargo r --bin ics_with_interchain_security_cd | ||
cargo r --bin chain_upgrade | ||
cargo r --bin clean | ||
rustfmt: | ||
name: Rustfmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# Acquire the most recent nightly with a rustfmt component | ||
- name: Install most recent Rustfmt | ||
run: | | ||
make all-in-docker | ||
rustup set profile minimal | ||
rustup default "nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/rustfmt)" | ||
rustup component add rustfmt | ||
- name: Run `cargo fmt` | ||
run: | | ||
cargo fmt -- --check | ||
clippy: | ||
name: Clippy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# Acquire the most recent nightly with a clippy component | ||
- name: Install most recent Clippy | ||
run: | | ||
rustup set profile minimal | ||
rustup default "nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/clippy)" | ||
rustup component add clippy | ||
- name: Run `cargo clippy` | ||
run: | | ||
cargo clippy --all --all-targets --all-features -- -D clippy::all | ||
markdown-link-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: gaurav-nelson/[email protected] | ||
with: | ||
folder-path: "docs" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,5 +4,7 @@ release/ | |
/.idea/ | ||
*.iml | ||
*.tar.gz | ||
|
||
onomyd | ||
/tmp-swagger-gen/ | ||
/target | ||
Cargo.lock |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# this was made for rustfmt 1.4.37-nightly (fdf65053 2021-09-07) | ||
|
||
condense_wildcard_suffixes = true # better | ||
error_on_line_overflow = true # be more strict | ||
error_on_unformatted = true # be more strict | ||
format_code_in_doc_comments = true # needed | ||
format_macro_bodies = true # changed | ||
format_macro_matchers = true # changed | ||
format_strings = true # better | ||
ignore = [] | ||
imports_granularity = "Crate" # changed | ||
match_arm_blocks = true # needed | ||
newline_style = "Unix" # prevents `\r\n` being accidentally introduced | ||
overflow_delimited_expr = true # preferred | ||
reorder_impl_items = true # better | ||
group_imports = "StdExternalCrate" # promotes consistency | ||
trailing_semicolon = false # the keyword is explicit enough | ||
unstable_features = true | ||
use_field_init_shorthand = true # better | ||
wrap_comments = true # enforce the default comment_width |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[workspace] | ||
resolver = "2" | ||
members = [ | ||
"tests", | ||
] | ||
|
||
[patch.crates-io] |
Oops, something went wrong.