File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -204,4 +204,5 @@ pub enum ResponseMessage {
204204pub enum Chain {
205205 Devnet ,
206206 Holesky ,
207+ HoleskyStage ,
207208}
Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ async fn _verify_proof_onchain(
252252 let contract_address = match chain {
253253 Chain :: Devnet => "0x1613beB3B2C4f22Ee086B2b38C1476A3cE7f78E8" ,
254254 Chain :: Holesky => "0x58F280BeBE9B34c9939C3C39e0890C81f163B623" ,
255+ Chain :: HoleskyStage => "0x9C5231FC88059C086Ea95712d105A2026048c39B" ,
255256 } ;
256257
257258 // All the elements from the merkle proof have to be concatenated
Original file line number Diff line number Diff line change @@ -183,13 +183,15 @@ pub struct GetUserBalanceArgs {
183183enum ChainArg {
184184 Devnet ,
185185 Holesky ,
186+ HoleskyStage ,
186187}
187188
188189impl From < ChainArg > for Chain {
189190 fn from ( chain_arg : ChainArg ) -> Self {
190191 match chain_arg {
191192 ChainArg :: Devnet => Chain :: Devnet ,
192193 ChainArg :: Holesky => Chain :: Holesky ,
194+ ChainArg :: HoleskyStage => Chain :: HoleskyStage ,
193195 }
194196 }
195197}
@@ -378,6 +380,7 @@ async fn main() -> Result<(), AlignedError> {
378380 match chain {
379381 Chain :: Devnet => wallet = wallet. with_chain_id ( 31337u64 ) ,
380382 Chain :: Holesky => wallet = wallet. with_chain_id ( 17000u64 ) ,
383+ Chain :: HoleskyStage => wallet = wallet. with_chain_id ( 17000u64 ) ,
381384 }
382385
383386 let client = SignerMiddleware :: new ( eth_rpc_provider. clone ( ) , wallet. clone ( ) ) ;
You can’t perform that action at this time.
0 commit comments