-
Notifications
You must be signed in to change notification settings - Fork 46
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
Neutrino upgrade #68
Open
ChristianBorst
wants to merge
25
commits into
main
Choose a base branch
from
c/sdk-46-upgrade
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Neutrino upgrade #68
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
4437ab1
Update go, fedora in dockerfile
ChristianBorst 85b8bd9
Upgrade SDK to v0.46.16, IBC to 6.3.1, Ethermint to v0.22, add upgrade
ChristianBorst ef43ff0
Configure block max gas in test env
ChristianBorst f764a69
Configure althea root cmd
ChristianBorst 1b91186
Copy ERC20 module implementation from Canto repo
ChristianBorst ad0cfd0
Add contracts from Canto
ChristianBorst b190479
Add Multicall3 to test env
ChristianBorst b66792d
Run Integration tests natively in CI
jkilpatr 46ec816
Advanced dex usage
ChristianBorst 65a728b
Change testnet chain id to 6633438
ChristianBorst 3fa9bdf
Fix contract deployment
ChristianBorst 057d688
Update solidity-dex
ChristianBorst d24593c
Fix multicall deployment
ChristianBorst bae9262
Update solidity-dex
ChristianBorst 5868a62
Add CONTRACTS_ROOT, DEX_CONTRACTS_ROOT env var support
ChristianBorst f0e389e
Add WETH contract to solidity folder, fix lots of DEX test issues
ChristianBorst 6ca9dc5
Update solidity-dex
ChristianBorst a2220e7
Fix gasfree module tests
ChristianBorst c2877af
Mint DEX positions in base and quote quantities
ChristianBorst 6c326a5
Improve DEX_ADVANCED test, calculate liq -> flows, add DEX_SWAP_MANY …
ChristianBorst 7c69ee2
Implement evm fee burning test
ChristianBorst 9bce867
Fix MsgEthereumTx support in lockup module
ChristianBorst 4acdb8c
Update dex contracts for events
ChristianBorst 1e6bcf2
Make two-script tests easier to run
ChristianBorst 5a9267d
Add supply check to evm fee burning test
ChristianBorst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -14,205 +14,201 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: Swatinem/rust-cache@v1 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
working-directory: integration-tests/ | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Build Integration Tests | ||
run: cd integration_tests && cargo check --all --verbose | ||
native_token: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
continue-on-error: true | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
- name: Prune cache to keep the size down | ||
run: docker builder prune -af && docker system prune -af | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Test the native token features of the EVM | ||
run: tests/all-up-test.sh NATIVE_TOKEN | ||
run: tests/all-up-test-ci.sh NATIVE_TOKEN | ||
lockup: | ||
runs-on: ubuntu-latest | ||
needs: native_token | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Lock up the chain and ensure funds are not transferrable | ||
run: tests/all-up-test.sh LOCKUP | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh LOCKUP | ||
microtx_fees: | ||
runs-on: ubuntu-latest | ||
needs: native_token | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Assert that fees are collected by the microtx module | ||
run: tests/all-up-test.sh MICROTX_FEES | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh MICROTX_FEES | ||
erc20_conversion: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Test the erc20 module's token conversion functionality | ||
run: tests/all-up-test.sh ERC20_CONVERSION | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh ERC20_CONVERSION | ||
liquid_accounts: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Test the microtx module's liquid infrastructure accounts functions | ||
run: tests/all-up-test.sh LIQUID_ACCOUNTS | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh LIQUID_ACCOUNTS | ||
ica_host: | ||
needs: native_token | ||
#needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Test the interchain accounts host module on Althea-L1 | ||
run: tests/all-up-test.sh ICA_HOST | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh ICA_HOST | ||
ONBOARDING_DEFAULT_PARAMS: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Starts the onboarding module with the default params | ||
run: tests/all-up-test.sh ONBOARDING_DEFAULT_PARAMS | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh ONBOARDING_DEFAULT_PARAMS | ||
ONBOARDING_DISABLED_WHITELISTED: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Starts the onboarding module disabled with a whitelisted channel | ||
run: tests/all-up-test.sh ONBOARDING_DISABLED_WHITELISTED | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh ONBOARDING_DISABLED_WHITELISTED | ||
ONBOARDING_DISABLE_AFTER: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Starts the onboarding module permissively, but disables it after a transfer | ||
run: tests/all-up-test.sh ONBOARDING_DISABLE_AFTER | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh ONBOARDING_DISABLE_AFTER | ||
ONBOARDING_DELIST_AFTER: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Starts the onboarding module permissively, but removes the channel from the whilelist after a transfer | ||
run: tests/all-up-test.sh ONBOARDING_DELIST_AFTER | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh ONBOARDING_DELIST_AFTER | ||
DEX: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Performs basic DEX tests | ||
run: tests/all-up-test.sh DEX | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh DEX | ||
DEX_UPGRADE: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Tests the DEX callpath upgrade functionality | ||
run: tests/all-up-test.sh DEX_UPGRADE | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh DEX_UPGRADE | ||
DEX_SAFE_MODE: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Tests the DEX safe mode lockdown functionality | ||
run: tests/all-up-test.sh DEX_SAFE_MODE | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh DEX_SAFE_MODE | ||
DEX_OPS_PROPOSAL: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: jpribyl/[email protected] | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
key: integration-test-cache-{hash} | ||
restore-keys: | | ||
integration-test-cache- | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Tests the nativedex OpsProposal function | ||
run: tests/all-up-test.sh DEX_OPS_PROPOSAL | ||
env: | ||
NO_IMAGE_BUILD: True | ||
run: tests/all-up-test-ci.sh DEX_OPS_PROPOSAL | ||
EVM_FEE_BURNING: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Checks that evm fees are truly burned | ||
run: tests/all-up-test-ci.sh EVM_FEE_BURNING | ||
UPGRADE: | ||
needs: native_token | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v5 | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: integration_tests/ | ||
cache-on-failure: true | ||
- name: Tests the Neutrino upgrade | ||
run: tests/run-upgrade-test.sh v1.4.0 |
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this removed?