Search
# EVM Test Suite
The commands (script) will clone and run the contract tests [compound, synthetix, uniswap, ...] against the Ethermint's EVM. This test will comprehensively check the EVM against that of Ethereum's to verify that the results show the exact same behaviour.
# Test Suites
The following are instructions on how to run the specified EVM test suite on the Ethermint network.
# Synthetix
# Uniswap
Add ethermint network in hardhat.config.ts
# Compound
Add ethermint network in saddle.config.ts
# Known Issues:
ether.js
is not compatible with Ethermint. Currently, Ethermint is unable to interact with the test suites and there is a slight incompatibility with ethers.js. The issue has been documented and has been in theicebox
for some time (https://github.com/cosmos/ethermint/issues/349).
In the future, when compatible with ethers.js
, the test suites can be run with the simple command and will be run against the Ethermint EVM. If the all of the tests pass without incident, the Ethermint EVM implementation can be deemed to produce the same output as the Ethereum EVM.
- For
Uniswap V3
, Hardhat tests only work for hardhat test network when loading the node accounts. - For
Compound
, some tests are failing in their CI.