mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-24 16:28:24 +00:00
eth2-deposit-contract
This is a port of the Vyper Eth 2.0 deposit contract to Solidity.
The original motivation was to run the SMTChecker and the new Yul IR generator option (--ir
) in the compiler.
As of June 2020, this contract (the version tagged as r1
) has been verified and is considered for adoption.
See this blog post for more information.
Running web3 tests
- In the
eth2.0-specs
directory runmake install_deposit_contract_web3_tester
to install the tools needed (make sure to have Python 3.7 and pip installed) - In the
eth2.0-specs
directory runmake test_deposit_contract_web3_tests
to execute the tests
Running randomized dapp
tests:
Install the latest version of dapp
by following the instructions at dapp.tools. Then run
make test