From bcaaa875b41043232576ecd5a63285e0f3b1bf49 Mon Sep 17 00:00:00 2001 From: yaziciahmet Date: Wed, 18 Dec 2024 23:49:59 +0100 Subject: [PATCH] Update latest guest spec to be Fork1 --- bin/citrea/src/guests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/citrea/src/guests.rs b/bin/citrea/src/guests.rs index f0fa4db98..14828ba3b 100644 --- a/bin/citrea/src/guests.rs +++ b/bin/citrea/src/guests.rs @@ -19,26 +19,26 @@ lazy_static! { pub(crate) static ref BATCH_PROOF_LATEST_MOCK_GUESTS: HashMap)> = { let mut m = HashMap::new(); - m.insert(SpecId::Genesis, (Digest::new(citrea_risc0::BATCH_PROOF_MOCK_ID), citrea_risc0::BATCH_PROOF_MOCK_ELF.to_vec())); + m.insert(SpecId::Fork1, (Digest::new(citrea_risc0::BATCH_PROOF_MOCK_ID), citrea_risc0::BATCH_PROOF_MOCK_ELF.to_vec())); m }; pub(crate) static ref LIGHT_CLIENT_LATEST_MOCK_GUESTS: HashMap)> = { let mut m = HashMap::new(); - m.insert(SpecId::Genesis, (Digest::new(citrea_risc0::LIGHT_CLIENT_PROOF_MOCK_ID), citrea_risc0::LIGHT_CLIENT_PROOF_MOCK_ELF.to_vec())); + m.insert(SpecId::Fork1, (Digest::new(citrea_risc0::LIGHT_CLIENT_PROOF_MOCK_ID), citrea_risc0::LIGHT_CLIENT_PROOF_MOCK_ELF.to_vec())); m }; /// The following 2 are used as latest guest builds for tests that use Bitcoin DA. pub(crate) static ref BATCH_PROOF_LATEST_BITCOIN_GUESTS: HashMap)> = { let mut m = HashMap::new(); - m.insert(SpecId::Genesis, (Digest::new(citrea_risc0::BATCH_PROOF_BITCOIN_ID), citrea_risc0::BATCH_PROOF_BITCOIN_ELF.to_vec())); + m.insert(SpecId::Fork1, (Digest::new(citrea_risc0::BATCH_PROOF_BITCOIN_ID), citrea_risc0::BATCH_PROOF_BITCOIN_ELF.to_vec())); m }; pub(crate) static ref LIGHT_CLIENT_LATEST_BITCOIN_GUESTS: HashMap)> = { let mut m = HashMap::new(); - m.insert(SpecId::Genesis, (Digest::new(citrea_risc0::LIGHT_CLIENT_PROOF_BITCOIN_ID), citrea_risc0::LIGHT_CLIENT_PROOF_BITCOIN_ELF.to_vec())); + m.insert(SpecId::Fork1, (Digest::new(citrea_risc0::LIGHT_CLIENT_PROOF_BITCOIN_ID), citrea_risc0::LIGHT_CLIENT_PROOF_BITCOIN_ELF.to_vec())); m }; /// Production guests