Sammy Rosso
d55757500f
Integrate EIP-4881 Deposit Tree Into Prysm via a Feature Flag ( #11942 )
...
* Initial spec rewrite
* Finish adding merkle tree implementation
* Last bits
* Move reverse function
* Add comments
* Add deposit tree snapshot
* Add deposit tree
* Add comments + cleanup
* Fixes
* Add missing errors
* Small fixes
* Add unhandled error
* Cleanup
* Fix unsafe file.Close
* Add missing comments
* Small fixes
* Address some of deepSource' compaints
* Add depositCount check
* Add finalizedDeposit check
* Replace pointer magic with copy()
* Add test for slice reversal
* add back bytes method
* Add package level description
* Remove zerohash gen and add additional checks
* Add additional comments
* Small lint fixes
* Forgot an error
* Small fixes
* Move Uint64ToBytesLittleEndian32 + test
* Fix uint subtraction issue
* Move mixInLength below error handling
* Fix
* Fix deposit root
* integrate 4881
* edits
* added in deposit tree fetcher
* add file
* Add remaining fetcher functions
* Add new file for inserter functions
* Fixes and additional funcs
* Cleanup
* Add
* Graph
* pushed up edits
* fix up
* Updates
* Add EIP4881 toggle flag
* Add interfaces
* Fix tests
* More changes
* Fix
* Remove generated graph
* Fix spacing
* Changes
* Fixes
* Changes
* Test Fix
* gaz
* Fix a couple tests
* Fix last tests
* define protos
* proto methods
* pushed
* regen
* Add proto funcs
* builds
* pushin up
* Fix and cleanup
* Fix spectest
* General cleanup
* add 4881 to e2e
* Remove debug statements + remove test skip
* Implement first set of missing methods
* Replace Zerohashes + cleanup
* gazelle
* fmt
* Put back defensive check
* Add error logs
* InsertFinalizedDeposits: return an error
* Remove logging
* Radek' Review
* Lint fixes
* build
* Remove cancel
* Update beacon-chain/deterministic-genesis/service.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* Update beacon-chain/cache/depositsnapshot/deposit_inserter.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* Cleanup
* Fix panic when DepositSnapshot is nil on init
* Gofmt
* Fix RootEquivalence test
* Gofmt
* Add missing comments
* Nishant' review
* Add Insert benchmarks
* fix up copy method
* Fix deep copy
* Fix conflicts
* Return error
* Fix linter issues
* add in migration logic
* Cleanup + tests
* fix
* Fix incorrect index in test
* Fix linter
* Gofmt
* fix it
* fixes for off by 1
* gaz
* fix cast
* fix it
* remove ErrZeroIndex
* Fix merkle_tree_test
* add fallback
* add fix for insertion bug
* add many fixes
* fix empty snapshot
* clean up
* use feature
* remove check
* fix failing tests
* skip it
* fix test
* fix test again
* fix for the last time
* Apply suggestions from code review
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* fix it
* remove cancel
* fix for voting
* addressing more comments
* fix err
* potuz's review
* one more test
* fix bad test
* make 4881 part of dev mode
* add workaround for new trie
* comment
* preston's review
* james's review
* add comment
* james review
* preston's review
* remove skipped test
* gaz
---------
Co-authored-by: rauljordan <raul@prysmaticlabs.com>
Co-authored-by: nisdas <nishdas93@gmail.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-09-07 03:19:32 +00:00
Nishant Das
aef22bf54e
Add In Support For Builder in E2E ( #12343 )
...
* fix it up
* add gaz
* add changes in
* finally runs
* fix it
* add progress
* add capella support
* save progress
* remove debug logs
* cleanup
* remove log
* fix flag
* remove unused lock
* gaz
* change
* fix
* lint
* james review
---------
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2023-05-11 11:10:29 -05: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
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
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
Raul Jordan
d077483577
Add V3 Suffix to All Prysm Packages ( #11083 )
...
* v3 import renamings
* tidy
* fmt
* rev
* Update beacon-chain/core/epoch/precompute/reward_penalty_test.go
* Update beacon-chain/core/helpers/validators_test.go
* Update beacon-chain/db/alias.go
* Update beacon-chain/db/alias.go
* Update beacon-chain/db/alias.go
* Update beacon-chain/db/iface/BUILD.bazel
* Update beacon-chain/db/kv/kv.go
* Update beacon-chain/db/kv/state.go
* Update beacon-chain/rpc/prysm/v1alpha1/validator/attester_test.go
* Update beacon-chain/rpc/prysm/v1alpha1/validator/attester_test.go
* Update beacon-chain/sync/initial-sync/service.go
* fix deps
* fix bad replacements
* fix bad replacements
* change back
* gohashtree version
* fix deps
Co-authored-by: Nishant Das <nishdas93@gmail.com>
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2022-08-16 12:20:13 +00:00
terencechain
699bfdfdb4
Rename pow to execution ( #11135 )
...
* Rename pow to execution
* Fix complain
* Fix complain
2022-08-01 14:43:47 +00:00