Potuz
92303b610d
add mainnet fork epoch ( #13601 )
...
* add mainnet fork epoch
* add sha
* gazelle
* gazelle screwed up
* Update spec test to v1.4.0-beta.7
* Update spec test to v1.4.0-beta.7-hotfix
* Gazelle
* compensate for lower request limits post-deneb
---------
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2024-02-16 22:08:06 +00:00
Radosław Kapka
6c5351c3a2
Remove deprecated items ( #13600 )
...
* Remove deprecated items
* missed test
* add back deprecated fields
* Preston's review
* remove tests
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2024-02-15 15:23:31 +00:00
terence
5a66807989
Update to V5 ( #13622 )
...
* First take at updating everything to v5
* Patch gRPC gateway to use prysm v5
Fix patch
* Update go ssz
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2024-02-15 05:46:47 +00:00
Aditya Asgaonkar
6a605e6b6d
Fork choice filter changes ( #13464 )
...
* implement confirmation rule prerequisite - f.c. filter changes
* update tests
* update WORKSPACE for spec v1.4.0-beta.6
* run bazel gazelle
* Fix consensus_spec sha256
* drift also forkchoice time when drifting the service on tests
* update minimal kzg_commitment_inclusion_proof_depth.size
* fix mock engine client
* remove unnecessary helper & revert test changes
* revert change of proof size in minimal preset
* fix tests
* fix loader test
---------
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2024-02-09 17:01:44 +00:00
terence
8522febd88
Add Holesky Deneb Epoch ( #13506 )
...
* Add Holesky Deneb Epoch
* Fix fork version
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
* Fix config
---------
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2024-01-23 19:29:17 +00:00
kasey
1df173e701
Block backfilling ( #12968 )
...
* backfill service
* fix bug where origin state is never unlocked
* support mvslice states
* use renamed interface
* refactor db code to skip block cache for backfill
* lint
* add test for verifier.verify
* enable service in service init test
* cancellation cleanup
* adding nil checks to configset juggling
* assume blocks are available by default
As long as we're sure the AvailableBlocker is initialized correctly
during node startup, defaulting to assuming we aren't in a checkpoint
sync simplifies things greatly for tests.
* block saving path refactor and bugfix
* fix fillback test
* fix BackfillStatus init tests
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2024-01-23 07:54:30 +00:00
terence
8de0e3804b
Update Sepolia Deneb fork epoch ( #13491 )
2024-01-19 18:47:07 +00:00
Enrico Del Fante
2aef7a3ec5
Update teku's bootnode ( #13437 )
2024-01-09 22:28:41 +00:00
terence
1b6547de6a
Add Goerli Deneb Fork Epoch ( #13390 )
...
* Add deneb fork epoch
* Fix test
2024-01-02 15:31:57 +00:00
Nishant Das
eb713d1177
Refactor Network Config Into Main Config ( #13364 )
...
* change parameters to main config
* add more changes
* change to accepted format
* fix changes in config
* gaz
* fix test
* fix test again
2023-12-19 14:59:30 +00:00
Nishant Das
b45a6664be
Enable Deneb For E2E Scenario Tests ( #13317 )
...
* fix all cases
* update web3signer
* current progress
* fix it finally
* push it back to capella
* remove hard-coded forks
* fix failing tests
* gaz
* fix dumb bug
* fix bad test setup
* change back
2023-12-16 11:37:44 +00:00
Preston Van Loon
381116a3e8
Fix missing testnet versions. Issue #13288 ( #13323 )
2023-12-12 21:44:14 +00:00
Potuz
ce7452c97a
update spectests to 1.4.0-beta.5 ( #13318 )
...
* update spectests to 1.4.0-beta.5
* add spec config
2023-12-12 18:27:48 +00:00
Nishant Das
bfaba378f6
activate deneb ( #13311 )
2023-12-12 08:04:55 +00:00
Nishant Das
590317553c
Support New Subnet Backbone ( #13179 )
...
* add in changes
* fix it up
* fix test
* gaz
* lint
* add back
* fix tests
* fix it
* fix tests
* add lib
* fix it
2023-12-08 04:07:48 +00:00
Preston Van Loon
b68a4e12aa
Update bazel and other CI improvements ( #13246 )
...
* Update bazel to 6.4.0, review flags
* Remove problematic/slow targets
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-12-01 22:20:54 +00:00
Nicolás Pernas Maradei
10ccf1840f
[2/5] light client http api ( #12984 )
...
Co-authored-by: Lizhang <lizhang@polymerlabs.org>
2023-11-21 13:26:39 +01:00
terence
ac06362baf
Add a helper for max request block ( #13173 )
...
* Add a helper for max request block
* Add test
* Use deneb fork epoch from config
* Fix comment
2023-11-14 05:50:51 +00:00
james-prysm
493a7179d7
Deneb - web3signer ( #12767 )
...
* wip
* adding deneb block
* adding in support for blobs and fixing unit tests for deneb
* fixing linting
* gaz
* adding support for new web3signer version
* fixing tag name
* addressing feedback
* fixing tests
* adding unit test for review
* updating test name
* updating unit tests and length logic
* adding in lengthfor root
* adjusting max blob length
* fixing mock
* fixing another mock
* gaz
* adding network configs
* removing duplicate
* changing based on nishant's feedback
* Update validator/keymanager/remote-web3signer/v1/requests.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* Update validator/keymanager/remote-web3signer/metrics.go
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
* sammy's suggestions
* removing temp file
---------
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-10-16 18:06:36 +00:00
Lucas Saldanha
fb19ee8895
Updating Teku mainnet bootnodes ENRs ( #12962 )
...
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
2023-09-29 10:11:58 +00:00
Potuz
b4e72f1e19
Deneb spectests release v1.4.0-beta.2-hotfix ( #12959 )
...
* Update and use max per epoch churn limit
* Update spec tests
* Fix e2e test
* deneb fork epoch condition
* Fix lint and better casting
* fix ordering
* fix check
* gaz
* Fix more tests
* Apply proposer boost to first block in equivocation
* Increase timeout
* Don't increase timeout, it's not the reason
* implement deneb forkchoice spectests
expose ReceiveBlob from the blockchain package
* spin_off_helper
* remove minimal tests
* Terence's review
* Add process register test for Deneb
* Terence's suggestion
Co-authored-by: terencechain <terence@prysmaticlabs.com>
* fix forkchoice minimal
* fix minimal sha
* general sha
* different repos
* different repos
---------
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: nisdas <nishdas93@gmail.com>
2023-09-28 21:05:23 +00:00
Preston Van Loon
57a63f37f7
Update holesky config for new genesis ( #12919 )
...
* Update holesky config with new genesis. See https://github.com/eth-clients/holesky/pull/73
* Update bootnodes
* Update bootnodes
* Use latest commit
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-23 16:09:28 +00:00
terencechain
440cf32966
fix: correct blob sidecar count ( #12865 )
...
* fix: update blob sidecar count
* fix: use beacon config instead of network config
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-08 15:37:53 +00:00
kasey
ca88e59ee3
Tests for init-sync DA ( #12873 )
...
* test coverage for commitmentsToCheck
* test for WithinDAPeriod
* gaz
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2023-09-08 10:47:34 +00:00
kasey
4f48c551da
Fix 12784 ( #12822 )
...
* add DA check to batched sync path
also fixes a da period calculation bug in the reg sync path.
* update comment
function original took a slot instead of an epoch, but was rewritten to use epoch to avoid the need to import the slot math package
Co-authored-by: terencechain <terence@prysmaticlabs.com>
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: terencechain <terence@prysmaticlabs.com>
2023-09-07 00:26:28 +00:00
Preston Van Loon
a3212a5428
config/params: Require placeholderFields to be sorted and distinct ( #12834 )
...
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-08-31 18:06:45 +00:00
kasey
d0ae692f4c
give deneb it's own field count config value ( #12806 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2023-08-31 08:41:57 -05:00
kasey
34b995d0de
only initialize kzg if it will be used ( #12803 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2023-08-31 08:41:57 -05:00
terencechain
708aee0fcb
test:beta.1
deneb tests ( #12680 )
2023-08-31 08:41:57 -05:00
terencechain
6402301871
Test: add deneb
spec test version beta.0
( #12610 )
2023-08-31 08:41:57 -05:00
james-prysm
a41c01cb5e
migrating get blob from eip4844 and deneb-integration ( #12603 )
2023-08-31 08:41:57 -05:00
kasey
87cd96afd3
BlobSidecarsByRoot ( #12420 )
...
* BlobSidecarsByRoot RPC handler
* BlobSidecarsByRange rpc handler (#12499 )
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
---------
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2023-08-31 08:41:57 -05:00
terencechain
bcdf1c92a7
feat(config): update max blobs per block to 6 ( #12512 )
2023-08-31 08:41:57 -05:00
terencechain
7670fe7d6f
Update block's commitment size ( #12470 )
2023-08-31 08:41:57 -05:00
terencechain
e3ac8b7745
Add Blob Gossip ( #12413 )
2023-08-31 08:41:57 -05:00
terencechain
43e8ae4dca
Deneb DB methods ( #12379 )
2023-08-31 08:41:57 -05:00
terencechain
61283e51e1
Add Deneb state ( #12375 )
2023-08-31 08:41:57 -05:00
Preston Van Loon
63126fd51f
Holesky support ( #12821 )
...
* Add holesky config
Copy config/params from deneb-integration
* Add --holesky flag
* Handle no genesis block error and suggest to user a workaround
2023-08-29 14:27:50 +00:00
Nishant Das
bcf728b9ff
Fix Sepolia Version ( #12792 )
2023-08-24 10:07:41 +00:00
Preston Van Loon
5433502055
Add deneb config/params from deneb-integration ( #12783 )
...
Co-authored-by: Terence Tsao <terence@prysmaticlabs.com>
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2023-08-23 20:07:25 +00:00
Preston Van Loon
751dd847b8
Update rules go & gazelle ( #12721 )
...
* Update rules_go to v0.40.0
* Update gazelle to v0.26.0
* Update gazelle to v0.27.0
* Update gazelle to v0.28.0
* Update gazelle to v0.29.0
* Update gazelle to v0.30.0
* Update gazelle to v0.31.0
2023-08-11 16:39:35 +00:00
terencechain
2dcef85f97
Add spec test for v1.4.0-alpha.0 ( #12460 )
...
* Fix spec test
* Fix sha
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-05-25 14:05:43 +00:00
terencechain
6b26183e73
Add missing config yamls for domains ( #12442 )
...
* Add missing config yamls for domains
* Fix GetSpec test
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-05-22 18:02:41 +00:00
Potuz
e0e7c71eb5
Fix sandwich attack on honest reorgs ( #12418 )
...
* Fix sandwich attack on honest reorgs
* fix test
---------
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-05-22 17:23:20 +00:00
james-prysm
8dfb92c605
reverting expiration logic on validator while using --enable-registration-cache ( #12436 )
...
* reverting expiration logic
* gaz
2023-05-22 14:54:09 +00:00
james-prysm
83416f31a5
Unregister validator - fix behind feature flag ( #12316 )
...
* adding changes to blocks
* trying out expiration
* adding implementation, have WIP for tests
* adding unit tests for cache
* fixing bazel complaints
* fix linting
* adding safe check for unint type
* changing approach to safety check
* adding cache to bazel to test fixing build
* reverting bazel change and adding flag to usage
* implementing interface on mock to fix build error
* fixing unit tests
* fixing unit test
* fixing unit tests
* fixing linting
* fixing more unit tests
* fixing produce blinded block tests
* Update beacon-chain/cache/registration.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* resolving review comments
* fixing cache
* Update beacon-chain/cache/registration.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* Update beacon-chain/cache/registration.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* fixing time logic
* adding context to trace
* fix bazel lint
* fixing context dependency
* fix linting
* Update cmd/beacon-chain/flags/base.go
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
* addressing review comments
* fixing deepsource issues
* improving the default settings
* fixing bazel
* removing irrelevant unit test
* updating name
---------
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2023-04-28 21:27:47 +00:00
terencechain
35e3eeddf9
Add flag to boost local block value ( #12227 )
...
* Add builder bid fraction to compare with local block value and use builder bid if (bid * fraction) > local block value
* Prioritize local block construction over relay/builder block construction using a boost value for local block construction
* Refactor builder and local block value calculation to use percentage comparison
* Add a test for local with boost
* Use uint64
* Fix log
2023-04-04 14:58:56 +00:00
Potuz
abe9e7fa7e
mainnet capella epoch ( #12144 )
...
* mainnet capella epoch
* Update spec test to v1.3.0-rc5
---------
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-03-20 19:18:58 +00:00
terencechain
d17996f8b0
Update to V4
🚀 ( #12134 )
...
* Update V3 from V4
* Fix build v3 -> v4
* Update ssz
* Update beacon_chain.pb.go
* Fix formatter import
* Update update-mockgen.sh comment to v4
* Fix conflicts. Pass build and tests
* Fix test
2023-03-17 18:52:56 +00:00
Potuz
99997fa2e3
forkchoice changes ( #12126 )
...
* forkchoice changes
* gazelle
* remove best justified from forkchoice dump
* keep protobufs and update comment
* remove phase0 tests
* bumb spectests version
* missing sha
* Fix sha256 for spec
* rpc tests
* Mark field 3 as reserved so it will never be used it again
---------
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2023-03-16 14:27:30 -03:00