Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.09 KB

File metadata and controls

30 lines (21 loc) · 1.09 KB

Tests after upgrade

Tests after upgrade are used to verify the functionality of the pool after the upgrade.
The test suite contains Smoke test cases that cover basic read and write (excluding the MainNet environment) commands.

Environment Setup

The script supports three environments:

  • TestNet
  • MainNet
  • local

Each environment has a corresponding .env file located in the scripts/tests-after-upgrade/ directory.

Run the script with the desired environment as an argument:

./scripts/tests-after-upgrade/tests-after-upgrade.sh testnet  # Use TestNet environment
./scripts/tests-after-upgrade/tests-after-upgrade.sh mainnet  # Use MainNet environment
./scripts/tests-after-upgrade/tests-after-upgrade.sh local    # Use local environment

If no environment is specified, the script defaults to TestNet.

Write operation: keys recovery

An approved account is needed for sending transactions to a pool. That is why the TestNet environment, the corresponding .env file must include a non-empty mnemonic variable:

mnemonic="your mnemonic for recovering keys"