-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update runtime upgrade e2e tests script (#825)
* update runtime upgrade e2e tests * clean up
- Loading branch information
1 parent
d20e63d
commit 79dad4f
Showing
26 changed files
with
13,830 additions
and
10,243 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
|
@@ -21,3 +21,5 @@ typechain-types | |
cache | ||
artifacts | ||
|
||
# chopsticks db cache | ||
db.sqlite |
File renamed without changes.
Binary file not shown.
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,25 @@ | ||
# Runtime Upgrade E2E Tests | ||
## Setup | ||
- start a karura/acala fork | ||
``` | ||
npx @acala-network/chopsticks@latest -c configs/karura.yml | ||
npx @acala-network/chopsticks@latest -c configs/acala.yml | ||
``` | ||
|
||
- start a eth rpc adapter | ||
``` | ||
npx @acala-network/eth-rpc-adapter@2.7.7 -e ws://localhost:8000 | ||
``` | ||
|
||
## Run Tests | ||
- install deps and build artifacts | ||
``` | ||
yarn | ||
yarn build | ||
``` | ||
|
||
- run tests | ||
``` | ||
yarn test:karura | ||
yarn test:acala | ||
``` |
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,22 @@ | ||
endpoint: wss://acala-rpc.aca-api.network | ||
mock-signature-host: true | ||
# block: 2694000 | ||
db: ./db.sqlite | ||
wasm-override: ./wasm/acala-2210.wasm | ||
|
||
import-storage: | ||
Sudo: | ||
Key: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY # Alice | ||
System: | ||
Account: | ||
- - - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY | ||
- providers: 1 | ||
data: | ||
free: 1000000000000000 | ||
EvmAccounts: | ||
EvmAddresses: | ||
- - - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY | ||
- '0x75E480dB528101a381Ce68544611C169Ad7EB342' | ||
Accounts: | ||
- - - '0x75E480dB528101a381Ce68544611C169Ad7EB342' | ||
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY |
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,22 @@ | ||
endpoint: wss://karura-rpc.aca-api.network | ||
mock-signature-host: true | ||
# block: 3000000 | ||
db: ./db.sqlite | ||
wasm-override: ./wasm/karura-2210.wasm | ||
|
||
import-storage: | ||
Sudo: | ||
Key: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY # Alice | ||
System: | ||
Account: | ||
- - - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY | ||
- providers: 1 | ||
data: | ||
free: 1000000000000000 | ||
EvmAccounts: | ||
EvmAddresses: | ||
- - - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY | ||
- '0x75E480dB528101a381Ce68544611C169Ad7EB342' | ||
Accounts: | ||
- - - '0x75E480dB528101a381Ce68544611C169Ad7EB342' | ||
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.