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
Potuz
a2e834a683
Fix optimistic sync status during init sync ( #11074 )
...
Co-authored-by: rkapka <rkapka@wp.pl>
2022-07-21 17:59:51 +02:00
mick
1faa292615
Add is_optimistic to SyncDetails, hydrate via ValidateSync ( #10692 )
...
* cache test
* oh
* syntax fix
* error fix
* tinker
* tinker
* newlines?
* no-whitespace?
* feedback
* fix
* comment
* comments
* need to figure out how to lint locally...
* feedback
* fixes
* progress
* progress
* dedupe
* s
* working
* remove empty lines
* update test
* return errors properly
* make helpers publicly visible
* fix tests
Co-authored-by: rkapka <rkapka@wp.pl>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2022-06-14 17:47:09 +00:00
Radosław Kapka
578fea73d7
API's IsOptimistic
- update header.StateRoot
only when block is not missing ( #10852 )
...
* bug fix
* tests
* comment
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-06-09 19:35:35 +00:00
Radosław Kapka
98622a052f
Extract OptimisticSyncFetcher
interface ( #10654 )
...
* Extract `OptimisticSyncFetcher` interface
* extract IsOptimistic
* fix tests
* more test fixes
* even more 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-05-12 17:23:45 +00:00
Radosław Kapka
ed07f4bd77
Add execution_optimistic
field to API responses ( #10389 )
...
* protos
* grpc
* middleware
* event protos
* event backend
* event middleware
* fix tests
* use `IsOptimisticForRoot` with proper block instead of header
* better algorithm
* return proper error
* review
* optimistic return on bellatrix proposal
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-03-25 16:31:50 +00:00
kasey
acd7e62cfb
fix issue #10420 ( #10421 )
...
Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
2022-03-24 18:32:39 +00:00
Radosław Kapka
b5f0bd88b0
Add sync details to error messages ( #9750 )
2021-10-07 20:50:03 +02:00