terencechain
99fbf5d3d8
Cancel context propoerly for validator runner ( #11429 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-09 18:28:20 +00:00
Preston Van Loon
d57a44b973
Update bazel to 5.3.0 (LTS) ( #11427 )
...
* update bazel version to 5.3.0
* Remove duplicated flags for test (inherits from build)
2022-09-09 16:43:15 +00:00
Nishant Das
fbe591c363
Fix Gossipsub Parameter ( #11425 )
2022-09-09 15:36:43 +00:00
Potuz
fc509cc220
Prune during on_tick ( #11387 )
...
* Prune during on_tick
* add unit test
* fix tests
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-08 14:41:10 +00:00
terencechain
78cbe4dfe1
Fall back to uncached getPaylod if first time outs ( #11404 )
...
* Fall back to uncached getPaylod if first time outs
* Skip only deadline error. Unit test
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-08 14:20:32 +00:00
Potuz
436fcb8682
flip defensive pull flag ( #11419 )
2022-09-08 13:42:29 +00:00
Radosław Kapka
b4d2395a38
Tests for builder service ( #11214 )
...
* Tests for builder service
* fix glob
* minor changes to mock
* add comments to mock
* Revert "Auxiliary commit to revert individual files from bc62a140347e3cbd8bd82e99cf5e9deb98b74df0"
This reverts commit c4c1016cb597b9340d1c81ab3816e037a6b97f9e.
* correct comment
* Do not init builder for empty endpoint
* revert merging issues
* better nil checks
* test fix
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-06 18:29:44 +00:00
Justin Traglia
0cee01ad55
Throw error if marshaling invalid Uint256 ( #11347 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-09-06 20:07:08 +02:00
terencechain
14a6fe3f01
Validate downloaded state slot matches header slot ( #11396 )
...
* Ensure downloaded state slot matches header slot
* Regression test
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-06 16:21:59 +00:00
Radosław Kapka
4d90afe944
Fixed size arrays in block interfaces and structs ( #11375 )
...
* Fixed size arrays in block fields
* test fix
* fmt
* fix fetcher test
* fix fuzz tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-06 14:30:16 +00:00
terencechain
b98e9019ce
Rename invalid count to invalid children count ( #11411 )
2022-09-06 14:04:32 +00:00
terencechain
45a637a3b0
Move provided time is later from warning to debug ( #11398 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-06 13:27:32 +00:00
terencechain
17f3d66885
Log ready for merge
every min ( #11410 )
...
* Log ready for merge every min
* Update beacon-chain/execution/check_transition_config.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2022-09-06 13:07:48 +00:00
Potuz
29390516b0
fix forkchoice endpoint ( #11403 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-05 17:57:08 +00:00
Potuz
135c30e912
remove children slice when pruning ( #11402 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-05 16:44:03 +00:00
Potuz
50f9d2bab8
Better log fee recipient mismatch ( #11395 )
...
* Better log fee recipient mismatch
Logs if the returned payload from the engine does not have the fee
recipient set in the validator.
Also warn the user if he's proposing a block with the burner fee
recipient address.
* fix tests
2022-09-05 14:13:51 +00:00
Potuz
8743e6a688
Harden witholding fix ( #11397 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-05 02:26:10 +00:00
Potuz
08e6274c14
add forkchoice node timestamp to json response ( #11394 )
2022-09-04 19:52:39 +00:00
kasey
cca9ea6989
move forkchoice init back to node ( #11344 )
...
* move forkchoice init back to node
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2022-09-02 13:56:50 -05:00
Mike Neuder
cbc2153664
Wallet Create CLI manager integration ( #11331 )
...
* Wallet recover CLI Manager migration
* bazel run //:gazelle -- fix
* Wallet create CLI Manager migration
* Wallet recover CLI Manager migration (#11278 )
* Wallet recover CLI Manager migration
* bazel run //:gazelle -- fix
* fix lint and build errors
* add TODO to remove duplicate code
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Wallet recover CLI Manager migration
* bazel run //:gazelle -- fix
* Wallet recover CLI Manager migration
* bazel run //:gazelle -- fix
* Wallet recover CLI Manager migration
* bazel run //:gazelle -- fix
* fix lint and build errors
* Wallet recover CLI Manager migration (#11278 )
* Wallet recover CLI Manager migration
* bazel run //:gazelle -- fix
* fix lint and build errors
* add TODO to remove duplicate code
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* bazel run //:gazelle -- fix
* rename to ConstructCLIManagerOpts
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-09-02 14:56:47 +00:00
terencechain
8627fe72e8
Remove activation/exit queue metrics ( #11389 )
...
* Remove activation/exit queue metrics
* Gaz
* Rm unused vars
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-01 19:11:25 +00:00
Raul Jordan
65bf3d0fa8
Fix Div By 0 in Small Helper ( #11390 )
2022-09-01 18:26:28 +00:00
Raul Jordan
a5da9aedd4
Add in P2P Metrics for Mainnet ( #11386 )
...
* connected peers gauge vec
* build
* add in gossip metric
* clean
2022-09-01 18:00:54 +00:00
Potuz
e1ab034d25
Defensive pulls protoarray ( #11385 )
...
* Defensive pull tips protoarray
* unit test
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-01 15:05:44 +00:00
Potuz
84bc8f3d64
Fix fillInMissingBlocks ( #11353 )
...
* Fix fillInMissingBlocks
Only check that the chain's parent is in forkchoice, rather than it
being the finalized checkpoint. Forkchoice anyway guarantees that the
chain will be a descendant of the finalized checkpoint.
* ensure root is not zero
* fix tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-01 14:40:32 +00:00
Radosław Kapka
c4deb84012
Simplify BeaconBlockIsNil()
( #11373 )
...
* Simplify `BeaconBlockIsNil()`
* remove unused code
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2022-09-01 03:40:20 +00:00
kasey
488e19e428
less ominous --weak-subjectivity-checkpoint warning ( #11362 )
...
* fix #11361
* change log level to debug
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-09-01 01:56:56 +00:00
Raul Jordan
bcaae1c440
Performance Metrics for Prysm ( #11377 )
...
* atts performance and blocks
* idiomatic observe
* all attestation related errors
* block metrics
* db metrics
* metrics func
* rem old metrics
* naming
* rem metric
* rem unneeded
* fix
* fix up
* rev
* fix
* rem
2022-09-01 01:26:19 +00:00
terencechain
587ba83aca
Better batch block processing warning ( #11372 )
...
* Better batch block warning
* Fix test
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-09-01 00:57:55 +00:00
terencechain
091f16b26c
Don't hard shutdown if mev-boost / relay is not available ( #11380 )
...
* Don't hard shtudown if mev-boost / relay is not available
* Add else
2022-08-31 23:58:27 +00:00
Potuz
fb9626fdd7
Feature flag to disregard deposit contract ( #11370 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-31 22:35:59 +00:00
terencechain
c638e114db
Add new metrics ( #11374 )
...
* Better batch block warning
* New metrics
* Revert "Better batch block warning"
This reverts commit e21fcfcebec3a7a15f39c6336de2aba58f87c625.
* More metrics
* Add activation and exit queues
* Gaz
2022-08-31 18:05:50 -04:00
terencechain
b1e08307ed
Fix time to duty to round slot number ( #11371 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-31 19:54:44 +00:00
kasey
cac5d0f234
giving commands more clear names per issue #11287 ( #11360 )
...
* giving commands more clear names per issue #11287
* mark the top-level help text for cpt deprecated
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2022-08-31 13:18:35 -05:00
james-prysm
52d48b328f
Improve Validator Index RPC Error Handling ( #11363 )
...
* adding in nil check for head
* adding changes based on feedback
* Update beacon-chain/rpc/prysm/v1alpha1/validator/server_test.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-08-31 16:42:49 +00:00
Nishant Das
9729b2ec77
Remove The Header Time Check ( #11329 )
...
* remove the check
* remove function and tests
* dead code
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-31 14:54:29 +00:00
terencechain
7aa3776aa6
Log tx count only on payload ( #11368 )
2022-08-31 14:38:44 +02:00
Potuz
760c71ef77
Only update finalized checkpoint in DB if it's newer ( #11356 )
...
* Only update finalized checkpoint in DB if it's newer
Do not save to DB a finalized checkpoint that it's older than the
current one.
* Add a test
* Add more strict condition check
* Revert params.SetupTestConfigCleanupWithLock(t)
* Remove new line
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2022-08-31 00:16:22 +00:00
james-prysm
6c209db3ca
fixing json unmarshalling ( #11357 )
...
* fixing json unmarshalling
* adding unit test for no conent
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-30 19:31:23 +00:00
Raul Jordan
0725905797
Informative Errors on Execution Client Connection Issues ( #11359 )
...
* add err auth help
* error working
* add err auth fix
2022-08-30 19:09:42 +00:00
terencechain
166f8a1eb6
Log corerct header value ( #11354 )
...
* Log corerct header value
* gaz
* Go fmt
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-30 16:23:21 +00:00
Radosław Kapka
85896e994e
Explain the purpose of deprecatedBeaconFlags
( #11355 )
2022-08-30 15:47:36 +00:00
Nishant Das
4a00b295ed
Pin Fuzzbuzz to Go 1.18 ( #11350 )
2022-08-30 10:18:23 +02:00
Potuz
d2b39e9697
Defensive pull tips, doubly-linked-tree ( #11175 )
...
* Defensive pull tips, doubly-linked-tree
* feature flag
* gaz
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-30 00:48:25 +00:00
Shem Leong
97dc86e742
Support passing of headers to all Engine API calls ( #11330 )
...
* Support passing of headers to all Engine API calls
* Update execution headers example
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-08-29 23:34:29 +00:00
terencechain
cff3b99918
Fix can propose blind block ( #11346 )
2022-08-29 13:30:28 -07:00
terencechain
be9847f23c
Remove unused code ( #11345 )
2022-08-29 18:03:03 +00:00
Håvard Anda Estensen
4796827d22
Replace deprecated linter deadcode with unused ( #11334 )
...
* Replace deprecated linter deadcode with unused
* Ignore unused warnings
* Print filename and line number when linting fails
* Fix path
* Remove unused methods
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2022-08-29 12:45:25 -04:00
Preston Van Loon
57b7e0b572
db: Wrap errors in db.fetchAncestor to better identify unmarshalling issues ( #11342 )
...
* db: Wrap errors in db.fetchAncestor to better identify unmarshalling issues. See #11327
* Wrap genesis state fetch, just in case
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-29 16:08:03 +00:00
terencechain
b5039e9bd9
Better chain start log ( #11332 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-29 15:48:23 +00:00