prysm-pulse/testing/endtoend/components/BUILD.bazel

71 lines
2.7 KiB
Python
Raw Normal View History

load("@prysm//tools/go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
testonly = True,
srcs = [
"beacon_node.go",
"boot_node.go",
"lighthouse_beacon.go",
"lighthouse_validator.go",
"log.go",
"tracing_sink.go",
"validator.go",
"web3remotesigner.go",
],
data = [
"//testing/endtoend/static-files/eth1:eth1data",
"@lighthouse//:lighthouse_bin",
],
importpath = "github.com/prysmaticlabs/prysm/v3/testing/endtoend/components",
visibility = ["//testing/endtoend:__subpackages__"],
deps = [
"//cmd:go_default_library",
"//cmd/beacon-chain/flags:go_default_library",
"//cmd/validator/flags:go_default_library",
"//config/features:go_default_library",
E2E: fee-recipient evaluator (#10528) * testing out fee-recipient evaluator * fixing bazel linter * adjusting comparison * typo on file rolling back * adding fee recipient is present to minimal e2e * fixing gofmt * fixing gofmt * fixing flag usage name * adding in log to help debug * fixing log build * trying to figure out why suggested fee recipient isn't working in e2e, adding more logging temporarily * rolling back logs * making e2e test more dynamic * fixing deepsource issue * fixing bazel * adding in condition for latest release * duplicate condtion check. * fixing gofmt * rolling back changes * adding fee recipient evaluator in new file * fixing validator component logic * testing rpc client addition * testing fee recipient evaluator * fixing bazel: * testing casting * test casting * reverting * testing casting * testing casting * testing log * adding bazel fix * switching mixed case and adding temp logging * fixing gofmt * rolling back changes * removing fee recipient evaluator when web3signer is used * test only minimal config * reverting changes * adding fee recipient evaluator to mainnet * current version uses wrong flag name * optimizing key usage * making mining address a variable * moving from global to local variable * removing unneeded log * removing redundant check * make proposer settings mroe deterministic and also have the evaluator compare the wanting values * fixing err return * fixing bazel * checking file too much moving it out * fixing gosec * trying to fix gosec error * trying to fix address * fixing linting * trying to gerenate key and random address * fixing linting * fixing check for proposer config * trying with multi config files * fixing is dir check * testing for older previous balance * adding logging to help debug * changing how i get the block numbers * fixing missed error check * adding gasused check * adding log for current gas used * taking suggestion to make fee recipient more deterministic * fixing linting * fixing check * fixing the address check * fixing format error * logic to differentiate recipients * fixing linting
2022-06-30 00:24:39 +00:00
"//config/fieldparams:go_default_library",
"//config/params:go_default_library",
E2E: fee-recipient evaluator (#10528) * testing out fee-recipient evaluator * fixing bazel linter * adjusting comparison * typo on file rolling back * adding fee recipient is present to minimal e2e * fixing gofmt * fixing gofmt * fixing flag usage name * adding in log to help debug * fixing log build * trying to figure out why suggested fee recipient isn't working in e2e, adding more logging temporarily * rolling back logs * making e2e test more dynamic * fixing deepsource issue * fixing bazel * adding in condition for latest release * duplicate condtion check. * fixing gofmt * rolling back changes * adding fee recipient evaluator in new file * fixing validator component logic * testing rpc client addition * testing fee recipient evaluator * fixing bazel: * testing casting * test casting * reverting * testing casting * testing casting * testing log * adding bazel fix * switching mixed case and adding temp logging * fixing gofmt * rolling back changes * removing fee recipient evaluator when web3signer is used * test only minimal config * reverting changes * adding fee recipient evaluator to mainnet * current version uses wrong flag name * optimizing key usage * making mining address a variable * moving from global to local variable * removing unneeded log * removing redundant check * make proposer settings mroe deterministic and also have the evaluator compare the wanting values * fixing err return * fixing bazel * checking file too much moving it out * fixing gosec * trying to fix gosec error * trying to fix address * fixing linting * trying to gerenate key and random address * fixing linting * fixing check for proposer config * trying with multi config files * fixing is dir check * testing for older previous balance * adding logging to help debug * changing how i get the block numbers * fixing missed error check * adding gasused check * adding log for current gas used * taking suggestion to make fee recipient more deterministic * fixing linting * fixing check * fixing the address check * fixing format error * logic to differentiate recipients * fixing linting
2022-06-30 00:24:39 +00:00
"//config/validator/service:go_default_library",
"//contracts/deposit:go_default_library",
"//crypto/bls:go_default_library",
"//encoding/bytesutil:go_default_library",
"//io/file:go_default_library",
"//runtime/interop:go_default_library",
"//testing/endtoend/components/eth1:go_default_library",
"//testing/endtoend/helpers:go_default_library",
"//testing/endtoend/params:go_default_library",
"//testing/endtoend/types:go_default_library",
"//testing/util:go_default_library",
"//validator/keymanager:go_default_library",
"@com_github_ethereum_go_ethereum//accounts/abi/bind:go_default_library",
"@com_github_ethereum_go_ethereum//accounts/keystore:go_default_library",
E2E: fee-recipient evaluator (#10528) * testing out fee-recipient evaluator * fixing bazel linter * adjusting comparison * typo on file rolling back * adding fee recipient is present to minimal e2e * fixing gofmt * fixing gofmt * fixing flag usage name * adding in log to help debug * fixing log build * trying to figure out why suggested fee recipient isn't working in e2e, adding more logging temporarily * rolling back logs * making e2e test more dynamic * fixing deepsource issue * fixing bazel * adding in condition for latest release * duplicate condtion check. * fixing gofmt * rolling back changes * adding fee recipient evaluator in new file * fixing validator component logic * testing rpc client addition * testing fee recipient evaluator * fixing bazel: * testing casting * test casting * reverting * testing casting * testing casting * testing log * adding bazel fix * switching mixed case and adding temp logging * fixing gofmt * rolling back changes * removing fee recipient evaluator when web3signer is used * test only minimal config * reverting changes * adding fee recipient evaluator to mainnet * current version uses wrong flag name * optimizing key usage * making mining address a variable * moving from global to local variable * removing unneeded log * removing redundant check * make proposer settings mroe deterministic and also have the evaluator compare the wanting values * fixing err return * fixing bazel * checking file too much moving it out * fixing gosec * trying to fix gosec error * trying to fix address * fixing linting * trying to gerenate key and random address * fixing linting * fixing check for proposer config * trying with multi config files * fixing is dir check * testing for older previous balance * adding logging to help debug * changing how i get the block numbers * fixing missed error check * adding gasused check * adding log for current gas used * taking suggestion to make fee recipient more deterministic * fixing linting * fixing check * fixing the address check * fixing format error * logic to differentiate recipients * fixing linting
2022-06-30 00:24:39 +00:00
"@com_github_ethereum_go_ethereum//common:go_default_library",
"@com_github_ethereum_go_ethereum//common/hexutil:go_default_library",
"@com_github_ethereum_go_ethereum//ethclient:go_default_library",
"@com_github_ethereum_go_ethereum//rpc:go_default_library",
"@com_github_google_uuid//:go_default_library",
"@com_github_pkg_errors//:go_default_library",
"@com_github_sirupsen_logrus//:go_default_library",
"@com_github_wealdtech_go_eth2_wallet_encryptor_keystorev4//:go_default_library",
"@in_gopkg_yaml_v2//:go_default_library",
"@io_bazel_rules_go//go/tools/bazel:go_default_library",
],
)
go_test(
name = "go_default_test",
size = "small",
srcs = ["web3remotesigner_test.go"],
e2e: Provide e2e config yaml to web3signer (#10123) * e2e: Provide e2e config yaml to web3signer * fix build for //testing/endtoend:go_default_test * Update with web3signer with teku fixes * buildifier * Add slasher case for web3signer * Update testing/endtoend/minimal_e2e_test.go * Update web3signer to 21.10.6 * Revert "Update web3signer to 21.10.6" This reverts commit bdf3c408f2a0432379fa1a735a2e3f70c62d11cc. * Remove slasher part of web3signer e2e tests * Revert "Remove slasher part of web3signer e2e tests" This reverts commit 24249802ae34fb7727b83dbfa187d73c1d97d2f8. * fix slasher web3signer test * fixing build * updating yaml to match testnet_e2e_config.go * trying a different order to the e2e test and adding a log * trying different way to kill process * handling unhandled error * testing changes to config WIP * fixing bazel WIP * fixing build * ignoring test for now to test * fixing bazel * Test only web3signer e2e * rolling back some commits to test * fixing bazel * trying an updated web3signer version * changing flag to match version * trying current version of develop for web3signer * testing not using the --network property * addressing build error * testing config change * reverting to go bakc to using the network file * testing adding epochs per sync committee period * rolling back configs * removing check to test * adding log to get sync committee duties and changing bellatrix fork epoch to something large and altair to epoch 1 * fixing bazel * updating epoch in config file * fixing more descrepencies between the configurations * removing un used yaml * removing goland added duplicates * reverting using network minimal * fixing bug * rolling back some changes * rolling back some changes * rolling back changes * making sure web3signer test doesn't make it to bellatrix fork yet * reverting changes I did not touch * undo comment * Update testing/endtoend/deps.bzl * Apply suggestions from code review * rm nl * fix //testing/endtoend:go_mainnet_test * Remove unnecessary dep * fix //testing/endtoend:go_mainnet_test * addressing review comments * fixing build and internal conflict * removing web3signer slasher test as it's unneeded due to the interface nature of key signing, the regular slashing test is enough * fix: The validator we fetch from the binary can only run before altair, if you add that and the web3signer then these things can never run together as the web3signer sets it to before bellatrix Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com> Co-authored-by: James He <james@prysmaticlabs.com> Co-authored-by: Nishant Das <nishdas93@gmail.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-04-12 16:57:46 +00:00
data = [
"//config/params:custom_configs",
"@web3signer",
],
deps = [
":go_default_library",
"//config/params:go_default_library",
"//testing/endtoend/params:go_default_library",
"//testing/require:go_default_library",
],
)