Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(katana): forked provider fetch remote non-state data #1700

Closed
wants to merge 10 commits into from
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions crates/katana/primitives/src/event.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
use core::fmt;
use std::num::ParseIntError;

pub type ChunkSize = u64;
pub type EventContinuationToken = Option<String>;
pub type EventFilter = starknet::core::types::EventFilter;
pub type EventsPage = starknet::core::types::EventsPage;
use crate::FieldElement;

#[derive(Debug, Clone, PartialEq, Eq)]
Expand Down
1 change: 1 addition & 0 deletions crates/katana/primitives/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ use crate::{utils, FieldElement};
pub type TxHash = FieldElement;
/// The sequential number for all the transactions.
pub type TxNumber = u64;
pub type Transaction = starknet::core::types::Transaction;

#[derive(Debug, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
Expand Down
1 change: 0 additions & 1 deletion crates/katana/rpc/rpc-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ version.workspace = true
katana-core.workspace = true
katana-executor.workspace = true
katana-primitives.workspace = true
katana-provider.workspace = true

anyhow.workspace = true
derive_more.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/katana/storage/provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ version.workspace = true
[dependencies]
katana-db = { workspace = true, features = [ "test-utils" ] }
katana-primitives = { workspace = true, features = [ "rpc" ] }

anyhow.workspace = true
auto_impl.workspace = true
parking_lot.workspace = true
Expand Down
Loading
Loading