(2020-06-01)
This release has two weeks worth of fixes, improvements, and new features for Topaz.
Try out new features with the --dev
flag!
Current features under development testing (--dev
):
--enable-new-state-mgmt
which allows for faster state access by reducing disk I/O. This flag may cause a long start up delay if running from an existing database for the first time.--enable-init-sync-wrr
enables a better load balancing scheme for initial synchronization. This should have a considerable increase in blocks per second, and your peers will thank you!--reduce-attester-state-copy
adds some additional logic to reduce the number of full state copies required to produce an attestation. This is a helpful flag for post sync runtime resources (CPU / memory).
As internal testing proceeds with v0.12 (#5614), Topaz will be restarted with a new deposit contract and genesis validator set. Watch for updates this week for planned announcement to outline the Topaz restart schedule for spec v0.12 support. This network restart is expected to be the last scheduled restart before mainnet and will be fully multi-client compatible.
Full list of changes below.
- Add
skip-regen-historical-states
flag (#5871) (5515c20), closes #5871 - Add Debug Block Endpoint + Return SSZ-Encoded (#5926) (881ad77), closes #5926
- Add debug proto array fork choice endpoint (#6003) (0c3586a), closes #6003
- Add documentation and issue template for feature flags (#6018) (a139b75), closes #6018
- Add missing TLS-related flags to Beacon Chain and Slasher (#5984) (b724b20), closes #5984
- add new methods and tests (#5852) (20c2d78), closes #5852
- Add RemoveOldestFromCache and save span cache on exit (#5953) (f9d8479), closes #5953
- Add RPC Debug Server, Toggle Logging via gRPC (#5873) (8b168aa), closes #5873
- Add skip to log (#6014) (b7c856a), closes #6014
- Add Slasher double block detection to E2E (#5936) (4fb3307), closes #5936
- Add Suggestion to Paste in Deposit Data into Prylabs/Participate (#5872) (272f794), closes #5872
- Add testing for EnableFieldTrie in state_trie.go (#5820) (7a8e85a), closes #5820
- Adds rate limiting tests to beaconBlocksByRangeRPCHandler (#5866) (1cc7d67), closes #5866
- Allow a Larger Allowance for Peer Faults (#5847) (34c02ff), closes #5847
- Allow to jump over 50K+ skipped slots in init-sync (#5975) (f81c8c6), closes #5975
- Allow wallet passphrases to be environment variables (#5879) (fe7a123), closes #5879
- Blockchain service provides
IsCanonical
getter (#5932) (5f72d28), closes #5932 - Change ListIndexedAttestations to be more slasher friendly (#5930) (9fc6be8), closes #5930
- Change StreamIndexedAttestations to use target root for state regen (#5971) (ecea979), closes #5971
- Change To Debug Logs (#5917) (2de4f86), closes #5917
- Change validator password (#5869) (2a1a0ce), closes #5869
- Check Whether Block Is Already Processed (#5850) (7630f18), closes #5850
- Command to fetch validator statuses + MultipleValidatorStatus (#5784) (62b617f), closes #5784 #5815 #5817
- Consistent BLS function inputs (#5969) (3b65cb6), closes #5969
- Enable domain data cache by default (#5931) (020c481), closes #5931
- Enhancing block tree viewer (#5880) (337ae69), closes #5880
- Ensure We Use Request.Epoch in the Validator Duties Server Implementation (#5913) (ea02edb), closes #5913
- External slashing protection (#5895) (17169e5), closes #5895
- fix (#5893) (e16f384), closes #5893
- Fix Flags in Create Subcommand (#5928) (e3d0748), closes #5928
- Fix Fork Data in Local Node (#5997) (7be8942), closes #5997
- Fix long running E2E after v0.12 changes (#6008) (29e4594), closes #6008
- Fix prysm.bat internet warning (#5908) (aa61902), closes #5908
- Fix silent internet error in prysm.sh (#5877) (52105e6), closes #5877
- Fix slasher pool to not ignore valid slashings (#5927) (5267fe6), closes #5927
- Fix state gen migration (#5858) (2f27966), closes #5858
- Fix Stream Duties Server + Get Duties Before ChainStart (#5849) (007a98b), closes #5849
- Fixed deferring of closing dbs (#5982) (b3f005f), closes #5982
- Fixes bug with excessive rate limiting (#5853) (471779e), closes #5853
- Fixes problem in YAML front-matter of the new flag tracking issue template (#6023) (9e8eafd), closes #6023
- Handle missing archived index (#5899) (678347e), closes #5899
- Handles issue with empty dirs on validator accounts create (#5940) (c875dd4), closes #5940
- Implements WRR in init-sync, full bandwidth utilization (#5887) (ca26745), closes #5887
- Improve Deposit Data Account Creation Prompt (#5985) (ad1d807), closes #5985
- Init sync arbitrary batch length + full bandwidth utilization (#5978) (f477804), closes #5978
- Invert --enable-account-metrics to remove user confusion. See #5883 (#5904) (5e6a590), closes #5883 #5904
- Invert state field trie (#6013) (e3180cf), closes #6013
- Invert state ref copy flag (#6015) (4c2ed41), closes #6015 #6012
- Log Active Validator Count (#5923) (49edcb0), closes #5923
- Make
SlotsPerArchivedPoint
configurable (#5888) (343bee3), closes #5888 - make them debug (#5891) (5bb9278), closes #5891
- Merge validator databases (#5968) (277fa33), closes #5968
- More Handshake Cleanup (#5863) (320bb46), closes #5863
- More Verbose Logs for Incoming Blocks (#5884) (5900160), closes #5884
- Only log attester slashing found for valid slashings (#5954) (2306594), closes #5954
- Optimize slasher handling of duplicate attestations (#5886) (aad1b93), closes #5886
- Optimizes FSM event triggering (#5881) (d79950a), closes #5881
- Prepare E2E for v0.12 (#5991) (0f7cf21), closes #5991
- Prevent parent block with same slot (#5842) (c07f160), closes #5842
- Re-arranges fetcher locks -> per peer level (#5906) (8241b7e), closes #5906
- Recommend Users Blocked By Antivirus a Way to Curl Prysm.sh (#6019) (9a2c684), closes #6019
- Recover skipped archived point (#5950) (8eb7c7a), closes #5950
- Reduce attester state copies (#6025) (3fe47c0), closes #6025
- Refactors redundant global variables from sync (#5860) (f461f58), closes #5860
- Register RPC And Pubsub Handlers After Genesis is Determined (#6020) (979c007), closes #6020
- Release state-ref-copy flag (#6012) (ebf7122), closes #6012
- remove byte mempool (#5951) (6a9112b), closes #5951
- Remove DB check for receiving p2p slashings (#5892) (5d8b5a3), closes #5892
- Remove out of date scripts and fix mockgen script (#5859) (52c3023), closes #5859
- Remove Warning on Using Default Mainnet Config (#5983) (497307d), closes #5983
- Return err instead of 0 for unavailable participation (#5934) (52988a0), closes #5934
- Reverse broadcast-slashing flag to disable-broadcast-slashings (#5952) (6aabea2), closes #5952
- Reverse historical detection flag for slasher (#5958) (b810243), closes #5958
- Revert "Add cache to Eth1 RPC functions (#5347)" (#5876) (150f8be), closes #5347 #5876 #5347
- Revert "Check Whether Block Is Already Processed" (#5856) (f6d8633), closes #5856 #5850
- Runs
go fmt
and updates validator files (#5995) (c70c52b), closes #5995 - Small fixes for slasher (#6021) (7dd187c), closes #6021
- Sort Blocks Before Returning them To Peer (#5894) (eb77f56), closes #5894
- Unify generated mocks into shared/mock (#5862) (9333ede), closes #5862
- Update BLS to allow for spec v0.12 requirements (#5914) (5a3114c), closes #5914
- Update GetValidatorPerformance to support validator indices (#5687) (a7b4412), closes #5687 #5756
- Use SlotTickerWithOffset for StreamIndexedAttestations (#5999) (5afee4b), closes #5999
- Validate slashings upon pool exit (#5848) (6e9839f), closes #5848