Skip to content

Commit

Permalink
changed name
Browse files Browse the repository at this point in the history
  • Loading branch information
dferendo committed Apr 1, 2024
1 parent 9a9afcd commit 029cba1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
File renamed without changes.
5 changes: 3 additions & 2 deletions client/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use uuid::Uuid;
use crate::utils::get_gateway_address;

// Note: Update ABI when updating contract.
abigen!(SuccinctGateway, "./abi/SuccinctGateway.abi.json");
abigen!(MockSuccinctGateway, "./abi/MockSuccinctGateway.abi.json");

#[allow(non_snake_case)]
#[derive(Serialize, Deserialize)]
Expand Down Expand Up @@ -410,7 +410,8 @@ impl SuccinctClient {

let gateway_address_bytes: [u8; 20] =
hex::decode(gateway_address).unwrap().try_into().unwrap();
let contract = SuccinctGateway::new(H160::from(gateway_address_bytes), client.clone());
let contract =
MockSuccinctGateway::new(H160::from(gateway_address_bytes), client.clone());

// Submit the proof to the Succinct X API.
println!("contract: {:?}", gateway_address_bytes);
Expand Down

0 comments on commit 029cba1

Please sign in to comment.