Nishant Das
6957f0637f
Bring Down Error To A Debug Log ( #11283 )
2022-08-22 12:00:50 +00:00
Nishant Das
01b1f15bdf
Add Back Resync Routine ( #11280 )
2022-08-21 13:31:40 +00:00
Nishant Das
b787fd877a
Handle Deprecated Flags Correctly ( #11276 )
2022-08-20 04:16:14 +00:00
Nishant Das
2c89ce810d
Bring back old execution flag as an alias ( #11275 )
2022-08-20 03:28:22 +00:00
Potuz
e687fff922
Insert attestations on block ( #11260 )
...
* Insert attestations from blocks to forkchoice
* do not insert twice
* use OnAttestation instead
* Revert "use OnAttestation instead"
This reverts commit 577c37bbebf05bc6881a2a5b29c7079503d9ccd1.
* unit test
* fix test
* Update beacon-chain/blockchain/receive_block_test.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2022-08-19 17:02:17 +00:00
james-prysm
5e2498be7e
Gas_Limit as string ( #11264 )
...
* setting gas limit as string in json and yaml
* adding more tests
* fixing unit test
* fixing string conversion
2022-08-19 11:36:49 -05:00
Potuz
76f958710f
Protoarray deadlocks ( #11271 )
...
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-19 14:46:12 +00:00
Potuz
1775cf89c6
Call on_tick on every skipped slot for spectests ( #11262 )
...
New spectests ensure that we call on_tick for every slot between the
last tick and the current one. This PR fixes that
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-19 14:25:35 +00:00
Potuz
8fecfaee48
DoublyLinkedTree double locks ( #11269 )
...
* DoublyLinkedTree double locks
* fix updateCheckpoints
* add comment
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-19 14:06:57 +00:00
terencechain
f089405d2f
Update spec tests to v1.2.0-rc.3 ( #11261 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-19 13:46:41 +00:00
Nishant Das
029c81a2e4
Switch Down Libp2p Logging Level By Default ( #11266 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-19 13:09:29 +00:00
Nishant Das
56c48b4971
Tag Gosec To Last Stable Version ( #11267 )
2022-08-19 13:00:30 +00:00
Raul Jordan
20ed47a107
Add a Generate Genesis State Command to Prysmctl ( #11259 )
...
* genesis tool
* done with tool
* delete old tool
* no fatal
* fix up
* Update cmd/prysmctl/testnet/generate_genesis.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* radek feedback
* more feedback
* required
* fix up
* gaz
* radek feedback
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-08-19 09:26:25 +00:00
terencechain
e30471f1a0
Remove inclusion distance & slots ( #11265 )
2022-08-18 16:31:22 -07:00
terencechain
3b38765a2d
Better re-org log ( #11253 )
...
* Better re-org log
* Dont' return err
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-18 16:53:17 +00:00
Raul Jordan
b60e508c89
Remove Slasher Deprecated Protos ( #11257 )
...
* rem deprecated
* fix slasher
2022-08-18 15:56:05 +00:00
Justin Traglia
a65c670f5e
Use function argument in error message instead of return value ( #11244 )
...
* Do not use return value in error handling
* Revert changes to EpochFromString & SlotFromString
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-08-18 14:01:24 +00:00
Han Shen
4af7d8230a
Implement "set gaslimit" for KeyManager API ( #11208 )
...
* This PR is for issue #11155 "Keymanager APIs: gas limit api"'s task "set gas limit".
* This PR is for issue #11155 "Keymanager APIs: gas limit api"'s task "set gas limit".
* Fixed comment string.
* Regenerated key_management proto files.
* Addressed code review comment - explitly set BuildConfig.Enabled to false.
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2022-08-18 04:49:54 +00:00
Han Shen
27733969f7
Fixed flag usage text typo. ( #11254 )
2022-08-17 23:50:26 +00:00
Raul Jordan
e70fe1c9fd
Support Chain Config File Loading in Genesis State Tool ( #11249 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 19:44:29 +00:00
Justin Traglia
9b3a834437
Parse slot as uint64 in spectest ( #11252 )
...
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2022-08-17 19:34:43 +00:00
terencechain
d815fa8f21
Remove deprecated eth endpoints ( #11251 )
...
* Remove deprecated eth endpoints
* Add back blockroot
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 19:20:34 +00:00
Justin Traglia
ac3079f8cd
Add lock around unsafe append in goroutine ( #11247 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-08-17 19:01:01 +00:00
Raul Jordan
cb8f6423e0
Do Not Push Prysmctl Docker Images to Dockerhub ( #11250 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 18:15:31 +00:00
terencechain
515e7c959f
Remove deprecated RPC ListBlocks
( #11243 )
...
* Remove deprecated RPC ListBlocks
* Fix test
* Rm mock
* Go imports
* Rm unused
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 18:07:28 +00:00
Raul Jordan
82bbfce524
Use GolangCI-Lint for Goimports Checking Instead of Third-Party Image ( #11246 )
2022-08-17 17:15:08 +00:00
terencechain
95430ddb57
Remove deprecated SubmitValidatorRegistration
( #11242 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 16:35:41 +00:00
james-prysm
21b7861d37
Keymanager API: enum lowercase ( #11194 )
2022-08-17 16:11:04 +00:00
Raul Jordan
c1e7afa201
Prysm Web UI Release v2.0.1 ( #11240 )
...
Co-authored-by: james-prysm <james-prysm@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 15:38:18 +00:00
terencechain
dfa400d4a1
Add mainnet merge epoch and ttd ( #11207 )
...
* Add tentative mainnet merge epoch and ttd
* Update minimal
* Update commit
* Update WORKSPACE
* Update spec tests
* Add eip4844 place holders
* Skip lightclient types
* Skip lightclient types
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 15:18:43 +00:00
terencechain
b04c28b30c
Remove disable-attesting-history-db-cache
( #11239 )
2022-08-17 14:23:13 +00:00
Taranpreet26311
ed07359573
Enable Gofmt Linting via Golang-CI Lint to Allow for Generic Code in Prysm ( #11205 )
...
* converting to generic
* enable gofmt linting
* enable gofmt
Co-authored-by: James He <james@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-08-17 13:53:46 +00:00
Nishant Das
25d87dd27b
Remove Disable DiscoveryV5 Flag ( #11237 )
...
* remove flag
* go fmt
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 12:45:12 +00:00
Nishant Das
a9ccabf6c9
Remove Bolt Mmap Flag ( #11236 )
...
* remove mmap flag
* fix mmap
* fix all build
* gaz
* config
* fix
2022-08-17 12:22:41 +00:00
james-prysm
2377d6d6ea
Register validator beacon api ( #11225 )
...
* adding in beacon API request Object
* fixed proto generation
* fixing protos
* adding new API logic and fixing linting
* adding work in progress unit test for validator registrations
* fixing unit test
* fixing linting
* fixing function name to match interface
* changing emptypb to empty.Empty
* fixing import complaint
* removing unused import
* fixing import
* Update beacon-chain/rpc/eth/validator/validator.go
Co-authored-by: terencechain <terence@prysmaticlabs.com>
* adding emptypb.Empty back in
* Update beacon-chain/rpc/eth/validator/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/validator/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update beacon-chain/rpc/eth/validator/validator.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* adding validator registration API to apimiddleware
* fixing import
* fixing import format
* fixing protos
* fixing goimports
* removing duplicate import
* fixing proto
* fixing error message in test
Co-authored-by: terencechain <terence@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-08-17 11:41:51 +00:00
Raul Jordan
100ca0ebaf
Prysmctl Command to Request Beacon Nodes for Block Ranges Over P2P ( #11035 )
...
* first
* attempt p2p connect send tool
* attempt
* stream registration
* trying to register
* attempt
* workinnnn
* begin
* p2p prysmctl tool
* ignore
* fix
* delete deprecated
* p2p smaller iface surface area
* further p2p refactor
* gaz
* better logging
* process
* all functionality
* fix up
* rhandle
* v2 req
* cmd
* send sub
* v1 handle
* show head slot
* cmd
* cmd lib
* gazelle fix
* bazel
* gaz
* work on the handshake items
* prevent dial to self
* add config awareness
* gaz
* inferring host addrs from p2p
* initialize data mappings
* add own mock
* fix up logic
* gaz
* add img
* gaz
* add images
* builds
* builds
* nishant feedback:
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-08-17 06:38:57 +00:00
Nishant Das
49ef0ad284
Remove Gossip History Flag ( #11232 )
...
* Remove gossip history flag
* gaz
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 04:49:51 +00:00
Nishant Das
e9ee6e2c9d
Remove Backup Webhook In the Beacon Node ( #11235 )
...
* remove it
* gaz
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 04:29:39 +00:00
Han Shen
a3cc26dd2a
Replace deprecated jwt.StandardClaims with jwt.RegisteredClaims. ( #11230 )
...
* Replace deprecated StandardClaims with RegisteredClaims.
* Replace deprecated StandardClaims with RegisteredClaims.
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-08-17 04:10:11 +00:00
Nishant Das
5ad36486b0
Remove Skip BLS Verification Feature ( #11233 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 02:59:13 +00:00
Nishant Das
faa0643b16
Remove Toggle ( #11234 )
2022-08-17 02:40:12 +00:00
Nishant Das
868377318c
Remove Checkpoint Info Flag ( #11231 )
2022-08-17 02:12:12 +00:00
Radosław Kapka
1c180e5088
Protobuf cleanup ( #11096 )
...
* remove v2 from all messages that are not request/responses
* rename StreamBlocksAltair to StreamBlocks
* fix tests
* fix validator module
(cherry picked from commit 7f2263e90e80499a851c2e09605e2ef5dccb0df8)
# Conflicts:
# testing/mock/beacon_validator_client_mock.go
# testing/mock/beacon_validator_server_mock.go
* fix mocks
* update validator.pb.go
* Revert "rename StreamBlocksAltair to StreamBlocks"
This reverts commit 9c961c4e643e1c4d292f07acadab3c981e760fe4.
# Conflicts:
# proto/prysm/v1alpha1/validator.pb.go
# testing/mock/beacon_validator_client_mock.go
# testing/mock/beacon_validator_server_mock.go
* Revert "Auxiliary commit to revert individual files from a872c9d59dee869da5a9c7236c7ac34fcaf8d54c"
This reverts commit 89f19e4f15006c4a0efe593229abc433491e578e.
* Revert "Auxiliary commit to revert individual files from 9acbf7b0160626dae0d39c58fa0d8a3e48c203e0"
This reverts commit 398ecc9cef460c27e7fc92efe4df3fc9d3dbe566.
* update mocks
* fix build errors
* patch up
* fix
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-17 01:35:27 +00:00
Potuz
b4fb8304fe
Revert --enable-vectorized-htr ( #11229 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-08-16 20:24:08 +00:00
Raul Jordan
1062f5fe4d
Fix Proto Generation Scripts and Regen Protos With V3 Bindings ( #11227 )
...
* proto gen fix
* regen protos and ssz bindings
* regen
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-16 19:52:24 +00:00
Radosław Kapka
01614e7bfb
Add execution_optimistic
to getBlockV2
( #11226 )
...
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-16 19:31:59 +00:00
terencechain
8d3f474bfa
Misc builder fixes ( #11228 )
...
* Fix a few bugs
* Fix test
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-16 19:10:40 +00:00
Radosław Kapka
ccfc09151f
Add expected waiting time to pending validator log ( #11213 )
...
* Add expected waiting time to pending validator log
* fix TestValidator_HandleKeyReload
* test fix
* fix imports
* test fixes
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-16 18:05:56 +00:00
Potuz
85ad61ea83
Check for SIGILL before using gohashtree ( #11224 )
...
* Check for SIGILL before using gohashtree
* gohashtree dep
* check error
* move to config startup
* Kasey's advice
* review #1
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-08-16 17:43:59 +00:00
terencechain
2728b83f6a
Remove Execution Client Fallback and Make Providing an Execution Client Required ( #10921 )
...
* Starting
* Done
* Fix more tests
* Fix test
* Fix test
* fix up
* building
* requirement
* gaz
* builds
* rem deadcode
* fix
* fix up
* removed checked method
* Update service_test.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2022-08-16 17:22:34 +00:00