feat(katana): experimental feeder gateway sync - #2724
Merged
Conversation
This was referenced Dec 18, 2024
This was referenced Dec 25, 2024
This was referenced Jan 2, 2025
This was referenced Jan 10, 2025
This was referenced Jan 18, 2025
Merged
This was referenced Jan 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds two pipeline stages for the initial full node sync implementation:
Stages
Blocksstage.To test out this feature, i've implemented a separate node type under
katana_node::fullmodule which is a lightweight copy of the primaryNodestruct but with sequencing features removed and runs the syncing pipeline.dojo/crates/katana/node/src/full/mod.rs
Lines 39 to 44 in 9d2a169
This new node type doesn't have a rpc server for now because
StarknetApirequires that theTransactionPoolimplementation is of the concrete typeTxPoolas it calls theTxPool::pool_noncemethod in one of the rpc endpoint.dojo/crates/katana/rpc/rpc/src/starknet/mod.rs
Lines 362 to 365 in 9d2a169
Summary by CodeRabbit
Release Notes
New Features
Deploytransaction type and legacyDeclareTx::V0.Improvements
Bug Fixes
These updates enhance the overall functionality and user experience of the Katana system.