prysm-pulse/contracts/deposit
Preston Van Loon 943dec525c
Refactor mock test helpers (#10133)
* Delete deploy contract tool. Move mock to its own package as testonly with some helper functions

* gofmt contracts/deposit/mock/mock.go

* move stategen mock.go to its on testonly pkg

* move password_reader_mock.go to mock testonly package

* move mock keymanager to its own testonly package

* move attestations mock

* move voluntaryexits mock

* Move slashings mock to mock pkg

* move the slasher mock

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-01-26 14:48:20 +00:00
..
mock Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
abi.json Add True Eth2 Deposit Contract, Bytecode, ABI (#9637) 2021-09-22 17:27:13 +00:00
BUILD.bazel Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
bytecode.bin Add True Eth2 Deposit Contract, Bytecode, ABI (#9637) 2021-09-22 17:27:13 +00:00
contract_test.go Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
contract.go Add True Eth2 Deposit Contract, Bytecode, ABI (#9637) 2021-09-22 17:27:13 +00:00
deposit_contract.sol Add True Eth2 Deposit Contract, Bytecode, ABI (#9637) 2021-09-22 17:27:13 +00:00
deposit_test.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
deposit_tree_test.go Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
deposit.go core: refactor signing and domain methods from helper to core/signing pkg (#9520) 2021-09-27 16:19:20 +00:00
helper.go Refactor mock test helpers (#10133) 2022-01-26 14:48:20 +00:00
logs.go Add True Eth2 Deposit Contract, Bytecode, ABI (#9637) 2021-09-22 17:27:13 +00:00
README.md Add True Eth2 Deposit Contract, Bytecode, ABI (#9637) 2021-09-22 17:27:13 +00:00

Validator Deposit Contract Local Copy

This package contains a copy of the official Ethereum Validator Deposit Contract along with its ABI, bytecode, and Go bindings generated by go-ethereum's abigen version 1.10.4-stable. It contains useful test harnesses for setting up and deploying a validator deposit contract using Go bindings, which are used across tests in Prysm.