prysm-pulse/contracts/deposit-contract
Nishant Das a9ee3ee06a
Update Go-Ethereum (#9157)
* update

* tidy

* fix

* fix e2e

* fix e2e

* fix bad tx opts
2021-07-09 07:58:43 -05:00
..
abi.json Update run time to v0.9 (#3935) 2019-11-11 17:03:43 -05:00
BUILD.bazel Bazel: minimal test build transitions (#9122) 2021-06-30 19:22:09 +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 Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
testutils.go Update Go-Ethereum (#9157) 2021-07-09 07:58:43 -05:00

Prysm Internal Validator Deposit Contract

NOTE: THIS IS NOT THE OFFICIAL ETHEREUM 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