Edgeware Frontier Tester

Unit tests for Edgeware Frontier.

You'll need to run a frontier-compatible Edgeware node. We are currently testing against the erup-4 branch.

Quickstart

Start the Edgeware node:

./target/release/edgeware --dev

To run all included frontier tests, use the following:

yarn all-tests

To run only the Uniswap add liquidity test, use the following:

yarn add-liquidity

To run a specific test, provide the name of the test. For example:

yarn test web3tests/testLockdrop.js

Known issues:

The following functionality is tested:

  • Adding Liquidity to a fresh Uniswap deployment
  • Generating an ERC20 Token Allowance
  • Create Factory Contract
    • See the known issue above
  • Create2 Factory Contract
  • Calling a precompile (ECRecover)
  • Event emission and subscription
  • Fallback function
  • Hashing (on chain and with web3 provider): keccak256, sha3, ripemd
  • Contract Interfaces
  • Edgeware Lockdrop
  • Contract Owners
  • Transferring balance into EVM pallet
  • Timestamps
  • Contract creation with non-zero contract balance