You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This directory contains integration tests that simulate simple use cases on the chain by deploying and running common dApp contracts.
4
+
The focus here is mainly on testing common interop scenarios (interactions with associated/unassociated accounts, pointer contracts etc.)
5
+
In each test scenario, we deploy the dapp contracts, fund wallets, then go through common end to end scenarios.
6
+
7
+
## Setup
8
+
To run the dapp tests, simply run the script at `/integration_test/dapp_tests/dapp_tests.sh <chain>`
9
+
10
+
3 chain types are supported, `seilocal`, `devnet` (arctic-1) and `testnet` (atlantic-2). The configs for each chain are stored in `./hardhat.config.js`.
11
+
12
+
If running on `seilocal`, the script assumes that a local instance of the chain is running by running `/scripts/initialize_local_chain.sh`.
13
+
A well funded `admin` account must be available on the local keyring.
14
+
15
+
If running on the live chains, the tests rely on a `deployer` account, which has to have sufficient funds on the chain the test is running on.
16
+
The deployer mnemonic must be stored as an environment variable: DAPP_TESTS_MNEMONIC.
17
+
On the test pipelines, the account used is:
18
+
- Deployer Sei address: `sei1rtpakm7w9egh0n7xngzm6vrln0szv6yeva6hhn`
0 commit comments