Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge master and resolve conflicts (#4024)
* Updating Fast Sync config files (#3948) Co-authored-by: matilote <matilote@users.noreply.github.com> * Blockinfo metadata (#3918) * Add `FinalizationStatus` to `BlockInfo` * Add tests for block info decoder backwards compatibility * Change `FinalizationStatus` to `Metadata` and drop finalization check in decoder * Add flags to roundtrip test * fix setting finalization to false * remove non default `BlockInfoDecoder` initializatoin * Remove special rlp initialization for AuRa * skip locals init (#3921) * [Account Abstraction] Make default subscription give only RequestId (#3932) * make default to only give requestId * fixed tests * Fix build instructions * skip DeleteInvalidBlocks in ReadOnly mode (#3950) * Measure processing time in accurate way (#3952) * Updating Fast Sync config files (#3951) Co-authored-by: matilote <matilote@users.noreply.github.com> * Updating Fast Sync config files (#3954) Co-authored-by: matilote <matilote@users.noreply.github.com> * update int256 submodule (#3955) * Updating Fast Sync config files (#3957) Co-authored-by: matilote <matilote@users.noreply.github.com> * Updating Fast Sync config files (#3959) Co-authored-by: matilote <matilote@users.noreply.github.com> * Updating Fast Sync config files (#3963) Co-authored-by: matilote <matilote@users.noreply.github.com> * Updating Fast Sync config files (#3964) Co-authored-by: matilote <matilote@users.noreply.github.com> * is seal mandatory? (#3969) * Updating Fast Sync config files (#3966) Co-authored-by: matilote <matilote@users.noreply.github.com> * Refactor receipt recovery (#3956) * Fix recovering receipts only when needed, skip on sync * fix tests * fix subscriptions * simplify LogFinder * simplifications * Revert "simplifications" This reverts commit 461f81d. * Revert "simplify LogFinder" This reverts commit 134167a. * Revert "fix subscriptions" This reverts commit 3aa3674. * rise event only if useful * add ReceiptFinder to LogsSubscription in order to support recovery * simplify tests * update subscription tests * fix null pointer exception when asking by rpc for not existing receipts * fix test * unify and simplify Get() in PersistentReceiptStorage * cosmetics * fix build * force => forceRecoverSender * no more mixing abstraction layers in ReceiptsInserted * add flag Co-authored-by: lukasz.rozmej <lukasz.rozmej@gmail.com> * Updating Fast Sync config files (#3973) Co-authored-by: matilote <matilote@users.noreply.github.com> * Add priority peer option (for AA needs) (#3895) * basic implementation * add priority peers limit * fix tests * fix? * fix counter * fix * set priority = true only if number of max priority peers is positive * fix description * simplification * fix tests * add description in ISyncPeerPool * cleaning * add logs for debugging * fix SyncPeerPool constructor * add tests * increase number of priority peers instead of resetting it * use counter for PriorityPeerCount * fix test * add tests for incrementing/decrementing * override instead of new * simplify * Updating Fast Sync config files (#3976) Co-authored-by: matilote <matilote@users.noreply.github.com> * Fix/sync peer timer (#3977) * fix SyncPeerPool timer Initialize * fix StateSyncFeed timeout check * Updating Fast Sync config files (#3980) Co-authored-by: matilote <matilote@users.noreply.github.com> * Update enode list for Gnosis Chain (#3981) * Updating Fast Sync config files (#3984) Co-authored-by: matilote <matilote@users.noreply.github.com> * Updating Fast Sync config files (#3986) Co-authored-by: matilote <matilote@users.noreply.github.com> * Fix receipts download (#3987) * fix receipts download * ReceiptsRecoveryResult instead of bool * add test * cosmetic * Updating Fast Sync config files (#3991) Co-authored-by: matilote <matilote@users.noreply.github.com> * Updating Fast Sync config files (#3995) Co-authored-by: matilote <matilote@users.noreply.github.com> * Updating README.md with badges (#3993) * Updating README.md with badges * making minor corrections * Updating Fast Sync config files (#3997) Co-authored-by: matilote <matilote@users.noreply.github.com> * Updating Fast Sync config files (#3998) Co-authored-by: matilote <matilote@users.noreply.github.com> * Snap Sync (#3840) * SnapSync networking - draft * Recreate State Tree from Account ranges * Recreate Storage from ranges * Rebase fix * Use StateSyncFeed for healing * Introduce TreeSync * Healing tests * Namespace refactor * Rebase fix * Draft SnapStorage (FlatDB) * Fix MultiSyncModeSelector tests * Account Range deserialization modified * Fix after rebase * Fix proof handling with the Geth structure * AccountRangeMessageSerializer serialize fixed * Test fix * For testing * testing * Follow the HEAD * Switch from Ranges to Healing (nodes) * Get Staorage Slots - fixed * Tests fixed * simple test fix * Additional tracing for concurrency bug testing * Draft concurrency fix * Apply proper paths to boundary tree * Tweaks for tests * Test draft ranges and switch to healing * Test fix * Test * test * Pivot Header * test * Retries * Rebase fix * Retry requests * test * test * test * Test * Prune dirty cache * Use separate TrieStore * Ignore expected root hash for storages * fix * Simple stitching - DoChildExist * Get Byte Codes - draft * Test * GetByteCodes retries * Test * Active requests counters * test * FIsnish GetRange phase * Test * Persist Ranges phase end * Stitching fixed and code refactor * Progress tracker fix * Test * test * test * test * Draft Refresh Account Storage Root * tests * Refresh Storage Root hash via GetTrieNodes * rebase fix * Tests fixed and MultiSyncModeSelector modified * fix * test * test * Report account refresh finished * test * progress bar * test * Fix * Handle bad peers * metrics * Fixes to bad peers handling * Remove snap capability when SnapSync is finished (#3982) * add capability and attach to event only if snap sync not finished yet * Bring back Lukasz fox to the sync selector * Fix tests * Finishing beta verstion - Clean up * Logging update * Logging * Remove allocations in SnapProviderHelper.FillBoundaryTree * Minor changes * low hanging fruit Co-authored-by: Marcin Sobczak <77129288+marcindsobczak@users.noreply.github.com> Co-authored-by: lukasz.rozmej <lukasz.rozmej@gmail.com> * Updating Fast Sync config files (#4012) Co-authored-by: matilote <matilote@users.noreply.github.com> * Add more snap sync metrics (#4005) * SnapSync networking - draft * Recreate State Tree from Account ranges * Recreate Storage from ranges * Rebase fix * Use StateSyncFeed for healing * Introduce TreeSync * Healing tests * Namespace refactor * Rebase fix * Draft SnapStorage (FlatDB) * Fix MultiSyncModeSelector tests * Account Range deserialization modified * Fix after rebase * Fix proof handling with the Geth structure * AccountRangeMessageSerializer serialize fixed * Test fix * For testing * testing * Follow the HEAD * Switch from Ranges to Healing (nodes) * Get Staorage Slots - fixed * Tests fixed * simple test fix * Additional tracing for concurrency bug testing * Draft concurrency fix * Apply proper paths to boundary tree * Tweaks for tests * Test draft ranges and switch to healing * Test fix * Test * test * Pivot Header * test * Retries * Rebase fix * Retry requests * test * test * test * Test * Prune dirty cache * Use separate TrieStore * Ignore expected root hash for storages * fix * Simple stitching - DoChildExist * Get Byte Codes - draft * Test * GetByteCodes retries * Test * Active requests counters * test * FIsnish GetRange phase * Test * Persist Ranges phase end * Stitching fixed and code refactor * Progress tracker fix * Test * test * test * test * Draft Refresh Account Storage Root * tests * Refresh Storage Root hash via GetTrieNodes * rebase fix * Tests fixed and MultiSyncModeSelector modified * fix * test * test * Report account refresh finished * test * progress bar * test * Fix * Handle bad peers * metrics * Fixes to bad peers handling * Remove snap capability when SnapSync is finished (#3982) * add capability and attach to event only if snap sync not finished yet * Bring back Lukasz fox to the sync selector * Fix tests * Finishing beta verstion - Clean up * Logging update * Logging * more metrics for SnapProtocol messages * add snap sync progress metric * fix after merge * one more post merge fix Co-authored-by: DCeleda <dceleda@hotmail.com> * remove pruned configs (again) (#4013) Removed in #3826 Resurected in #3781 * Updating Fast Sync config files (#4014) Co-authored-by: matilote <matilote@users.noreply.github.com> * Update arm64 library dependency to not depend on pmull instruction which is optional in Arm v8 implementations (#4015) * Updating Fast Sync config files (#4017) Co-authored-by: matilote <matilote@users.noreply.github.com> * post merge fixes * one more Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: matilote <matilote@users.noreply.github.com> Co-authored-by: Jorge Mederos <46798594+jmederosalvarado@users.noreply.github.com> Co-authored-by: Szymon Kulec <scooletz@gmail.com> Co-authored-by: Kristof Gazso <kristof.gazso@gmail.com> Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com> Co-authored-by: Tanishq Jasoria <jasoriatanishq@gmail.com> Co-authored-by: varasev <33550681+varasev@users.noreply.github.com> Co-authored-by: Mateusz Jędrzejewski <33068017+matilote@users.noreply.github.com> Co-authored-by: Daniel Celeda <dceleda@hotmail.com>
- Loading branch information