forked from sei-protocol/sei-chain
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more DEX dapp tests (sei-protocol#1809)
* draft * draft * working protoype * poc fix * import * imports issue * use fund address * amount * expect * working tests * put package.json in dapp_tests * dont commit artifacts * no build * run ci * update package json * more tests * working tests * wasm access * wasmloc * fix * works with other chains * add workflow * path
- Loading branch information
Showing
11 changed files
with
536 additions
and
174 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Run Dapp Tests | ||
|
||
# Only runs when manually triggered | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
run-tests-devnet: | ||
name: Run Tests on Devnet | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: devnet | ||
needs: run-tests-testnet | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run Dapp Tests Script on Devnet | ||
run: | | ||
chmod +x ./integration_test/dapp_tests/dapp_tests.sh | ||
./integration_test/dapp_tests/dapp_tests.sh devnet | ||
run-tests-testnet: | ||
name: Run Tests on Testnet | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: testnet | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Run Dapp Tests Script on Testnet | ||
run: | | ||
chmod +x ./integration_test/dapp_tests/dapp_tests.sh | ||
./integration_test/dapp_tests/dapp_tests.sh testnet |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,24 @@ | ||
const tokenFactoryDenoms = { | ||
"testnet": "factory/sei10xlj95ef20tczjrq5w5ah0vz8t5pxzeza4gaad/dapptest" | ||
} | ||
|
||
const cw20Addresses = { | ||
"testnet": {"evm": "0xcD10A4FdeE9CefB7732161f4B20b018bA3F4e7fF", "sei": "sei1d5cs4y0cfdm8dvak4fnmcudqd9htgsnw0djryuvpwhhmyvywypmsxv7vnq"} | ||
} | ||
|
||
const rpcUrls = { | ||
"testnet": "https://rpc-testnet.sei-apis.com", | ||
"devnet": "https://rpc-arctic-1.sei-apis.com" | ||
} | ||
|
||
const chainIds = { | ||
"testnet": "atlantic-2", | ||
"devnet": "arctic-1" | ||
} | ||
|
||
module.exports = { | ||
tokenFactoryDenoms, | ||
cw20Addresses, | ||
rpcUrls, | ||
chainIds | ||
} |
Binary file not shown.
Oops, something went wrong.