Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

Commit ffdb67a

Browse files
committed
fix: align devnet shasta preflight
1 parent 1282b9a commit ffdb67a

3 files changed

Lines changed: 6 additions & 13 deletions

File tree

core/src/preflight/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@ pub async fn batch_preflight<BDP: BlockDataProvider>(
293293
block: block.clone(),
294294
parent_header: parent_block.header.clone().try_into().unwrap(),
295295
chain_spec: taiko_chain_spec.clone(),
296+
taiko: TaikoGuestInput {
297+
anchor_tx: block.body.first().cloned(),
298+
..Default::default()
299+
},
296300
..Default::default()
297301
})
298302
.collect(),

host/config/chain_spec_list_devnet.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,9 @@
4040
"chain_id": 167001,
4141
"max_spec_id": "SHASTA",
4242
"hard_forks": {
43-
"HEKLA": {
44-
"Block": 0
45-
},
46-
"ONTAKE": {
47-
"Block": 0
48-
},
49-
"PACAYA": {
50-
"Block": 0
51-
},
5243
"SHASTA": {
5344
"Timestamp": 0
54-
},
55-
"CANCUN": "TBD"
45+
}
5646
},
5747
"eip_1559_constants": {
5848
"base_fee_change_denominator": "0x8",

host/src/server/api/v3/proof/shasta_handler.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ async fn shasta_batch_handler(
113113
) = process_shasta_batch(&shasta_request, &image_id);
114114

115115
// Run input step first to reuse cached guest input (both aggregate and non-aggregate)
116-
let statuses =
117-
prove_many(&actor, sub_input_request_keys, sub_input_request_entities).await?;
116+
let statuses = prove_many(&actor, sub_input_request_keys, sub_input_request_entities).await?;
118117
let is_all_sub_success = statuses
119118
.iter()
120119
.all(|status| matches!(status, raiko_reqpool::Status::Success { .. }));

0 commit comments

Comments
 (0)