Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
a9f1127
feat: integrate l2geth in docker-compose e2e tests
Jul 31, 2025
c431b54
Merge branch 'main' into e2e-test-integrate-l2geth
Aug 1, 2025
21fe045
Merge branch 'main' into e2e-test-integrate-l2geth
colinlyguo Aug 7, 2025
e3bb57f
support local genesis
Aug 12, 2025
cd57546
Merge branch 'main' into feat-support-genesis-file
colinlyguo Aug 13, 2025
39dc24c
address comments
Aug 13, 2025
21c7f2d
fix CI
Aug 13, 2025
c71aea3
Merge branch 'main' into e2e-test-integrate-l2geth
colinlyguo Aug 15, 2025
bf3dcb1
update scripts
Aug 15, 2025
13a7364
increase log level
Aug 15, 2025
cf2b45c
update gas limits
Aug 15, 2025
eff6dd2
Merge branch 'feat-support-genesis-file' into e2e-test-integrate-l2geth
Aug 15, 2025
0abcdc5
update reth commit
Aug 15, 2025
6d59e25
Add default trait for Database
yiweichi Aug 20, 2025
3ec60d4
fix: eth66 serve signature
yiweichi Aug 20, 2025
daecde2
update database
yiweichi Aug 21, 2025
f3dd12f
update dependency
yiweichi Aug 21, 2025
846e0e1
add save safe signature
yiweichi Aug 24, 2025
0ad94fc
Merge branch 'main' into morty/fix-eth66-serve-signature
yiweichi Aug 24, 2025
c796be5
merge morty/fix-eth66-serve-signature
yiweichi Aug 24, 2025
07da09f
merge morty/fix-eth66-serve-signature
yiweichi Aug 24, 2025
70fc90b
fix: test
yiweichi Aug 25, 2025
6c835c2
fix: enable signature eip191
yiweichi Aug 26, 2025
90034fb
Revert "fix: enable signature eip191"
yiweichi Aug 26, 2025
f4325d7
fix: orm DatabaseError(UnpackInsertId)
yiweichi Aug 26, 2025
5dc3c3e
fix: orm DatabaseError(ConnectionAcquire(Timeout))
yiweichi Aug 26, 2025
66922be
fix: orm DatabaseError(UnpackInsertId)
yiweichi Aug 26, 2025
7017e38
fix: orm DatabaseError(ConnectionAcquire(Timeout))
yiweichi Aug 26, 2025
7de3c5b
remove used code
yiweichi Aug 26, 2025
b91b4e6
update dependency
yiweichi Aug 26, 2025
95a2411
update dependency
yiweichi Aug 26, 2025
435057e
make signature persistence async
yiweichi Aug 27, 2025
cee06a4
cargo update
yiweichi Aug 27, 2025
b356019
make signature persistence async
yiweichi Aug 27, 2025
33c87e4
update dependency
yiweichi Aug 27, 2025
d6cf3f3
feat: implement signature with 0|1 v
yiweichi Aug 28, 2025
405343b
feat: implement signature with 0|1 v
yiweichi Aug 28, 2025
c5717cc
cargo update
yiweichi Aug 28, 2025
63ae458
cargo update
yiweichi Aug 28, 2025
c707fe3
add comments
yiweichi Aug 28, 2025
0f6cd6b
fix: signer test
yiweichi Aug 28, 2025
c382282
add SignatureAsBytes
yiweichi Aug 31, 2025
3be6681
update dep
yiweichi Aug 31, 2025
f6cc051
fix: signer test
yiweichi Aug 28, 2025
c7ece53
update dep
yiweichi Aug 31, 2025
f19f7eb
update dep
yiweichi Aug 31, 2025
5d897cd
support set signer via flag
yiweichi Sep 1, 2025
77a57e3
support set signer via flag
yiweichi Sep 1, 2025
771984d
update dep
yiweichi Sep 1, 2025
0532180
update dep
yiweichi Sep 1, 2025
2a06d91
support local test
yiweichi Sep 2, 2025
43e59ce
fix: broadcast block with new signature encode
yiweichi Sep 2, 2025
307d92a
fix: broadcast block with new signature encode
yiweichi Sep 2, 2025
23cd31e
remove test
yiweichi Sep 3, 2025
7459451
merge main
yiweichi Sep 3, 2025
e97cac2
merge main
yiweichi Sep 3, 2025
ad76653
update database default connects count
yiweichi Sep 3, 2025
1319211
Merge branch 'main' into morty/fix-eth66-serve-signature
yiweichi Sep 3, 2025
10c671f
cargo fmt
yiweichi Sep 3, 2025
f2e4716
cargo clippy
yiweichi Sep 3, 2025
3f3a980
fix: ci
yiweichi Sep 3, 2025
860d712
Revert "fix: ci"
yiweichi Sep 3, 2025
39cd1f1
fix: ci no_std
yiweichi Sep 3, 2025
e6db208
refactor scroll network build
yiweichi Sep 4, 2025
336932d
refactor move ScrollHeaderTransform to rollup node
yiweichi Sep 4, 2025
bfb386b
address comments
yiweichi Sep 4, 2025
607032f
address comments
yiweichi Sep 4, 2025
2e1ed64
merge main
yiweichi Sep 4, 2025
58217dc
cargo update
yiweichi Sep 4, 2025
43d110b
remove dependency
yiweichi Sep 5, 2025
d377aa7
fix: ci test/integration increase timeout
yiweichi Sep 5, 2025
4ebcb29
fix: ci test/integration increase timeout
yiweichi Sep 5, 2025
b01c0d6
revert fix ci test/integration increase timeout
yiweichi Sep 5, 2025
5538b31
Merge branch 'main' into morty/fix-eth66-serve-signature
yiweichi Sep 8, 2025
b51f088
Merge branch 'main' into morty/fix-eth66-serve-signature
yiweichi Sep 8, 2025
ad0718d
update reth dependency branch
yiweichi Sep 8, 2025
9ea4484
fix: ci test oom
yiweichi Sep 8, 2025
688869e
fix: ci test oom
yiweichi Sep 8, 2025
8af917a
upgrade ci machine
yiweichi Sep 8, 2025
d82a68d
upgrade ci machine
yiweichi Sep 8, 2025
9673d57
upgrade ci machine
yiweichi Sep 8, 2025
adfd084
fix: increase integration-docker-compose timeout
yiweichi Sep 8, 2025
8667b83
Merge branch 'main' into morty/fix-eth66-serve-signature
yiweichi Sep 8, 2025
e467bbe
fix: increase integration-docker-compose timeout
yiweichi Sep 8, 2025
58c1b4d
Merge branch 'main' into morty/fix-eth66-serve-signature
yiweichi Sep 8, 2025
6489379
update to async trait for header response transform
frisitano Sep 9, 2025
c1e4df5
Merge branch 'main' into morty/fix-eth66-serve-signature
frisitano Sep 9, 2025
a950e86
fix: ci
yiweichi Sep 8, 2025
d543ac4
fix comments
yiweichi Sep 9, 2025
e82ac70
repoint dependencies
frisitano Sep 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,588 changes: 814 additions & 774 deletions Cargo.lock

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,37 +134,37 @@ alloy-signer-local = { version = "1.0.13", default-features = false }
alloy-transport = { version = "1.0.13", default-features = false }

# scroll-alloy
scroll-alloy-consensus = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
scroll-alloy-hardforks = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
scroll-alloy-network = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
scroll-alloy-provider = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
scroll-alloy-rpc-types-engine = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
scroll-alloy-consensus = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
scroll-alloy-hardforks = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
scroll-alloy-network = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
scroll-alloy-provider = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
scroll-alloy-rpc-types-engine = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }

# reth
reth-chainspec = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-e2e-test-utils = { git = "https://github.com/scroll-tech/reth.git" }
reth-eth-wire-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-network = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-network-api = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-network-peers = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-node-builder = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-node-core = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-payload-primitives = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-primitives = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-primitives-traits = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-provider = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-rpc-builder = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-rpc-server-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-tasks = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-tokio-util = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-tracing = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-chainspec = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-e2e-test-utils = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature" }
reth-eth-wire-types = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-network = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-network-api = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-network-peers = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-node-builder = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-node-core = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-payload-primitives = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-primitives = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-primitives-traits = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-provider = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-rpc-builder = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-rpc-server-types = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-tasks = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-tokio-util = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-tracing = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }

# reth-scroll
reth-scroll-chainspec = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-engine-primitives = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-forks = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-node = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-primitives = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-chainspec = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-scroll-engine-primitives = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-scroll-forks = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-scroll-node = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-scroll-primitives = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }

# rollup node
rollup-node = { path = "crates/node" }
Expand Down
2 changes: 1 addition & 1 deletion crates/database/db/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use sea_orm::{Database as SeaOrmDatabase, DatabaseConnection, TransactionTrait};
/// operations defined in [`crate::DatabaseOperations`]. Atomic operations can be performed using
/// the [`Database::tx`] method which returns a [`DatabaseTransaction`] that also implements the
/// [`DatabaseConnectionProvider`] trait and also the [`crate::DatabaseOperations`] trait.
#[derive(Debug)]
#[derive(Debug, Default)]
pub struct Database {
/// The underlying database connection.
connection: DatabaseConnection,
Expand Down
3 changes: 3 additions & 0 deletions crates/database/db/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ pub enum DatabaseError {
/// The L1 message was not found in database.
#[error("L1 message at index [{0}] not found in database")]
L1MessageNotFound(u64),
/// A generic error occurred.
#[error("parse signature error: {0}")]
ParseSignatureError(String),
}
47 changes: 47 additions & 0 deletions crates/database/db/src/models/block_signature.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
use alloy_primitives::{Signature, B256};
use sea_orm::{entity::prelude::*, ActiveValue};

/// A database model that represents a block signature.
#[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel)]
#[sea_orm(table_name = "block_signature")]
pub struct Model {
/// The block hash as a primary key.
#[sea_orm(primary_key)]
pub block_hash: Vec<u8>,
/// The block signature.
pub signature: Vec<u8>,
}

/// The relation for the block signature model.
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}

/// The active model behavior for the block signature model.
impl ActiveModelBehavior for ActiveModel {}

impl Model {
/// Get the block hash as B256
pub fn get_block_hash(&self) -> Result<B256, String> {
if self.block_hash.len() != 32 {
return Err(format!("Invalid block hash length: {}", self.block_hash.len()));
}
Ok(B256::from_slice(&self.block_hash))
}

/// Get the signature
pub fn get_signature(&self) -> Result<Signature, String> {
if self.signature.len() != 65 {
return Err(format!("Invalid signature length: {}", self.signature.len()));
}
Signature::from_raw(&self.signature).map_err(|e| format!("Invalid signature: {}", e))
}
}

impl From<(B256, Signature)> for ActiveModel {
fn from((block_hash, signature): (B256, Signature)) -> Self {
Self {
block_hash: ActiveValue::Set(block_hash.to_vec()),
signature: ActiveValue::Set(signature.as_bytes().to_vec()),
}
}
}
3 changes: 3 additions & 0 deletions crates/database/db/src/models/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ pub mod l1_message;

/// This module contains the metadata model.
pub mod metadata;

/// This module contains the block signature model.
pub mod block_signature;
47 changes: 46 additions & 1 deletion crates/database/db/src/operations.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use super::{models, DatabaseError};
use crate::DatabaseConnectionProvider;

use alloy_primitives::B256;
use alloy_primitives::{Signature, B256};
use futures::{Stream, StreamExt};
use rollup_node_primitives::{
BatchCommitData, BatchInfo, BlockInfo, L1MessageEnvelope, L2BlockInfoWithL1Messages, Metadata,
Expand Down Expand Up @@ -510,6 +510,51 @@ pub trait DatabaseOperations: DatabaseConnectionProvider {
// commit the transaction
Ok(UnwindResult { l1_block_number, queue_index, l2_head_block_info, l2_safe_block_info })
}

/// Store a block signature in the database.
async fn insert_signature(
&self,
block_hash: B256,
signature: Signature,
) -> Result<(), DatabaseError> {
tracing::trace!(target: "scroll::db", block_hash = ?block_hash, "Storing block signature in database.");

let block_signature: models::block_signature::ActiveModel = (block_hash, signature).into();

models::block_signature::Entity::insert(block_signature)
.on_conflict(
OnConflict::column(models::block_signature::Column::BlockHash)
.update_column(models::block_signature::Column::Signature)
.to_owned(),
)
.exec(self.get_connection())
.await
.map(|_| ())?;

Ok(())
}

/// Get a block signature from the database by block hash.
async fn get_block_signature(
&self,
block_hash: B256,
) -> Result<Option<Signature>, DatabaseError> {
tracing::trace!(target: "scroll::db", block_hash = ?block_hash, "Retrieving block signature from database.");

let block_signature = models::block_signature::Entity::find_by_id(block_hash.to_vec())
.one(self.get_connection())
.await?;

match block_signature {
Some(model) => {
let signature = model.get_signature().map_err(|e| {
DatabaseError::ParseSignatureError(format!("Failed to parse signature: {}", e))
})?;
Ok(Some(signature))
}
None => Ok(None),
}
}
}

/// The result of [`DatabaseOperations::unwind`].
Expand Down
2 changes: 2 additions & 0 deletions crates/database/migration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ mod m20250408_132123_add_header_metadata;
mod m20250408_150338_load_header_metadata;
mod m20250411_072004_add_l2_block;
mod m20250616_223947_add_metadata;
mod m20250820_141702_block_signature;
mod migration_info;
pub use migration_info::{MigrationInfo, ScrollMainnetMigrationInfo, ScrollSepoliaMigrationInfo};

Expand All @@ -21,6 +22,7 @@ impl<MI: MigrationInfo + Send + Sync + 'static> MigratorTrait for Migrator<MI> {
Box::new(m20250408_150338_load_header_metadata::Migration::<MI>(Default::default())),
Box::new(m20250411_072004_add_l2_block::Migration),
Box::new(m20250616_223947_add_metadata::Migration),
Box::new(m20250820_141702_block_signature::Migration),
]
}
}
Expand Down
31 changes: 31 additions & 0 deletions crates/database/migration/src/m20250820_141702_block_signature.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
use sea_orm_migration::{prelude::*, schema::*};

#[derive(DeriveMigrationName)]
pub struct Migration;

#[async_trait::async_trait]
impl MigrationTrait for Migration {
async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> {
manager
.create_table(
Table::create()
.table(BlockSignature::Table)
.if_not_exists()
.col(binary_len(BlockSignature::BlockHash, 32).primary_key())
.col(binary_len(BlockSignature::Signature, 65))
.to_owned(),
)
.await
}

async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
manager.drop_table(Table::drop().table(BlockSignature::Table).to_owned()).await
}
}

#[derive(DeriveIden)]
pub enum BlockSignature {
Table,
BlockHash,
Signature,
}
4 changes: 2 additions & 2 deletions crates/engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ reth-primitives-traits.workspace = true
# reth-scroll
reth-scroll-chainspec.workspace = true
reth-scroll-primitives.workspace = true
reth-scroll-engine-primitives = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-scroll-engine-primitives = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }

# rollup-node
rollup-node-primitives.workspace = true
Expand All @@ -55,7 +55,7 @@ tracing.workspace = true
alloy-consensus.workspace = true
arbitrary.workspace = true
async-trait.workspace = true
reth-testing-utils = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-testing-utils = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
rollup-node-providers = { workspace = true, features = ["test-utils"] }
scroll-alloy-consensus.workspace = true
scroll-alloy-rpc-types-engine = { workspace = true, features = ["arbitrary"] }
Expand Down
31 changes: 28 additions & 3 deletions crates/manager/src/manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ use tokio_stream::wrappers::ReceiverStream;
use tracing::{error, trace, warn};

use rollup_node_providers::{L1MessageProvider, L1Provider};
use scroll_db::Database;
use scroll_db::{Database, DatabaseOperations};
use scroll_derivation_pipeline::DerivationPipeline;

mod budget;
Expand Down Expand Up @@ -107,6 +107,8 @@ pub struct RollupNodeManager<
signer: Option<SignerHandle>,
/// The trigger for the block building process.
block_building_trigger: Option<Interval>,
/// A connection to the database.
database: Arc<Database>,
}

/// The current status of the rollup manager.
Expand Down Expand Up @@ -171,7 +173,7 @@ where
) -> (Self, RollupManagerHandle<N>) {
let (handle_tx, handle_rx) = mpsc::channel(EVENT_CHANNEL_SIZE);
let indexer = Indexer::spawn(database.clone(), chain_spec.clone());
let derivation_pipeline = DerivationPipeline::new(l1_provider, database);
let derivation_pipeline = DerivationPipeline::new(l1_provider, database.clone());
let rnm = Self {
handle_rx,
chain_spec,
Expand All @@ -186,6 +188,7 @@ where
sequencer,
signer,
block_building_trigger: block_time.map(delayed_interval),
database,
};
(rnm, RollupManagerHandle::new(handle_tx))
}
Expand Down Expand Up @@ -225,7 +228,17 @@ where
result: Err(err.into()),
});
} else {
self.engine.handle_block_import(block_with_peer);
self.engine.handle_block_import(block_with_peer.clone());

// TODO: remove this once we deprecate l2geth.
// Store the block signature in the database
tokio::task::block_in_place(|| {
tokio::runtime::Handle::current().block_on(async move {
if let Err(err) = self.database.insert_signature(block_with_peer.block.hash_slow(), block_with_peer.signature).await {
error!(target: "scroll::node::manager", ?err, "Failed to store block signature");
}
})
});
}
}

Expand Down Expand Up @@ -526,6 +539,18 @@ where
));
}

// TODO: remove this once we deprecate l2geth.
// Store the block signature in the database
let database = this.database.clone();
let block_hash = block.hash_slow();
tokio::task::block_in_place(|| {
tokio::runtime::Handle::current().block_on(async move {
if let Err(err) = database.insert_signature(block_hash, signature).await {
error!(target: "scroll::node::manager", ?err, "Failed to store block signature");
}
})
});

this.network.handle().announce_block(block, signature);
}
}
Expand Down
4 changes: 2 additions & 2 deletions crates/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ alloy-primitives = { workspace = true, features = ["map-foldhash"] }
reth-eth-wire-types.workspace = true
reth-network.workspace = true
reth-network-api.workspace = true
reth-network-types = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-network-types = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }
reth-network-peers.workspace = true
reth-primitives-traits.workspace = true
reth-storage-api = { git = "https://github.com/scroll-tech/reth.git", default-features = false }
reth-storage-api = { git = "https://github.com/scroll-tech/reth.git", branch = "morty/fix-eth66-serve-signature", default-features = false }

# scroll
reth-scroll-chainspec.workspace = true
Expand Down
Loading
Loading