prysm-pulse/contracts/deposit-contract
Raul Jordan b0dfc46603
Fix Up READMEs for Mainnet (#7910)
* fix up readmes

* Update README.md

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-11-23 18:47:55 +00:00
..
abi.json Update run time to v0.9 (#3935) 2019-11-11 17:03:43 -05:00
BUILD.bazel Update rules_go (#7202) 2020-11-10 03:01:56 +00:00
bytecode.bin Update to Discovery V5.1 (#7302) 2020-10-20 04:05:48 +00:00
deposit_tree_test.go Numeric conversion cleanup (#7465) 2020-10-13 12:43:49 +00:00
depositContract_test.go Unnecessary Slice-to-Slice Conversion analyzer (#7321) 2020-09-23 16:14:34 +00:00
depositContract.go Update to Discovery V5.1 (#7302) 2020-10-20 04:05:48 +00:00
depositContract.v.py Update run time to v0.9 (#3935) 2019-11-11 17:03:43 -05:00
ETH1logs.go Update to Discovery V5.1 (#7302) 2020-10-20 04:05:48 +00:00
README.md Fix Up READMEs for Mainnet (#7910) 2020-11-23 18:47:55 +00:00
testutils.go Unnecessary Slice-to-Slice Conversion analyzer (#7321) 2020-09-23 16:14:34 +00:00

Prysm Internal Validator Deposit Contract

NOTE: THIS IS NOT THE OFFICIAL ETH2 VALIDATOR DEPOSIT CONTRACT. THE OFFICIAL CONTRACT CAN ONLY BE FOUND HERE. THE ONLY DEPOSIT CONTRACT ON MAINNET HAS ADDRESS 0x00000000219ab540356cbb839cbe05303d7705fa. DO NOT USE THE CONTRACT IN THIS FOLDER OUTSIDE OF DEVELOPMENT

How to execute tests

bazel test //contracts/deposit-contract:go_default_test

Run with -v option for detailed log output

bazel test //contracts/deposit-contract:go_default_test --test_arg=-test.v --test_output=streamed 
=== RUN   TestSetupRegistrationContract_OK
--- PASS: TestSetupRegistrationContract_OK (0.07s)
=== RUN   TestRegister_Below1ETH
--- PASS: TestRegister_Below1ETH (0.02s)
=== RUN   TestRegister_Above32Eth
--- PASS: TestRegister_Above32Eth (0.02s)
=== RUN   TestValidatorRegister_OK
--- PASS: TestValidatorRegister_OK (0.08s)
=== RUN   TestDrain
--- PASS: TestDrain (0.04s)
PASS
ok      contracts/deposit-contract        0.633s