Skip to content

Commit

Permalink
feat(aptos_settlement_client): update state kzg & update state & veri…
Browse files Browse the repository at this point in the history
…fy inclusion
  • Loading branch information
Tranduy1dol committed Aug 29, 2024
1 parent fde8366 commit 0bb4dfe
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- `fetch_from_test` argument

## Fixed
-

-
- Fixed state update worker logic as per the new implementation.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ mockall = "0.12.1"
testcontainers = "0.21.1"



# Cairo VM
cairo-vm = { version = "=1.0.0-rc5", features = [
"extensive_hints",
Expand Down
6 changes: 5 additions & 1 deletion crates/settlement-clients/ethereum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ impl EthereumSettlementClient {
&KZG_SETTINGS,
)?;

if !eval { Err(eyre!("ERROR : Assertion failed, not able to verify the proof.")) } else { Ok(kzg_proof) }
if !eval {
Err(eyre!("ERROR : Assertion failed, not able to verify the proof."))
} else {
Ok(kzg_proof)
}
}
}

Expand Down

0 comments on commit 0bb4dfe

Please sign in to comment.