Skip to content

Commit

Permalink
updated abi
Browse files Browse the repository at this point in the history
  • Loading branch information
dferendo committed Apr 1, 2024
1 parent c024eb3 commit f6af264
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions client/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use crate::utils::get_gateway_address;
abigen!(
MockSuccinctGateway,
r"[
function getValue() external returns (uint256)
function fulfillCall(bytes32,bytes,bytes,bytes,address,bytes) external
]"
);

Expand Down Expand Up @@ -422,13 +422,13 @@ impl SuccinctClient {
// Submit the proof to the Succinct X API.
println!("contract: {:?}", gateway_address_bytes);
let tx: Option<TransactionReceipt> = contract
.get_value(
// succinct_proof_data.function_id.0,
// ethers::types::Bytes(succinct_proof_data.input.0),
// ethers::types::Bytes(succinct_proof_data.output.0),
// ethers::types::Bytes(succinct_proof_data.proof.0),
// H160(succinct_proof_data.to.0 .0),
// ethers::types::Bytes(succinct_proof_data.calldata.0),
.fulfill_call(
succinct_proof_data.function_id.0,
ethers::types::Bytes(succinct_proof_data.input.0),
ethers::types::Bytes(succinct_proof_data.output.0),
ethers::types::Bytes(succinct_proof_data.proof.0),
H160(succinct_proof_data.to.0 .0),
ethers::types::Bytes(succinct_proof_data.calldata.0),
)
.send()
.await
Expand Down

0 comments on commit f6af264

Please sign in to comment.