mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-04 00:44:27 +00:00
8a01d412f5
* starting * Reimplement store * begin on proposer boost * implement fork choice proposer boost algorithm * boosting * gaz * add mutexes and previous root * comment on compute proposer boost * safe * rem todo * reset and add tests * unit test for proposer boost score * boost works * Can process block * Basic test case passing * ex ante * test * propoer test * More progresses * More fixes * rm unused pieces * Refactor, add phase 0 * locks * vanilla ex-ante attack * test similar to spec test * works works works * boost test working for num votes > proposer boost weight * commentary fixes * rem unused * comments * Proposer boost use store time * Reset proposer root * debugging * passing * Rm unused visibility imports * Move update head to better place * Fix deepsrc complains * Fix more complains * Raul's feedback * Use correct byte lengths Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
15 lines
380 B
Python
15 lines
380 B
Python
load("@prysm//tools/go:def.bzl", "go_test")
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["forkchoice_test.go"],
|
|
data = glob(["*.yaml"]) + [
|
|
"@consensus_spec_tests_mainnet//:test_data",
|
|
],
|
|
tags = ["spectest"],
|
|
deps = [
|
|
"//runtime/version:go_default_library",
|
|
"//testing/spectest/shared/common/forkchoice:go_default_library",
|
|
],
|
|
)
|