Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Create verifyWithDataAttestation.sol #293

Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6b3dd76
feat: allows for hashes of inputs and outputs as public inputs
alexander-camuto Jun 8, 2023
feafac4
patch tests
alexander-camuto Jun 8, 2023
7a411e8
*added functionality
ethan-crypto Jun 9, 2023
736ca64
patch python
alexander-camuto Jun 9, 2023
12fdf73
hashes in forward pass
alexander-camuto Jun 9, 2023
6c1fd12
patch
alexander-camuto Jun 9, 2023
c58069b
integration tests
alexander-camuto Jun 9, 2023
5f918de
comments
alexander-camuto Jun 9, 2023
da72399
patch python
alexander-camuto Jun 9, 2023
171bb34
bump version
alexander-camuto Jun 9, 2023
ee4fdfa
reduce poseidon width
alexander-camuto Jun 9, 2023
ca07cf8
Update binding_tests.py
alexander-camuto Jun 9, 2023
c409118
bump up to width 5
alexander-camuto Jun 9, 2023
f98ac8b
Revert "bump up to width 5"
alexander-camuto Jun 9, 2023
b39a23b
Merge branch
ethan-crypto Jun 9, 2023
06ceb96
*cleaned up read_on_chain_inputs
ethan-crypto Jun 9, 2023
833f012
Merge branch 'development' into feat-verify-evm-with-data-attestation
ethan-crypto Jun 10, 2023
c549e85
*added CreateEVMDataAttestationVerifier command
ethan-crypto Jun 11, 2023
d2548de
*added DataAttestationVerifier.json
ethan-crypto Jun 12, 2023
5fb2fd3
Merge branch
ethan-crypto Jun 12, 2023
b1993b4
*completed implementation
ethan-crypto Jun 13, 2023
6639bf3
Merge branch 'fix--use-output-scale-for-percent-tolerance' into feat-…
ethan-crypto Jun 14, 2023
c863ed4
*added quantize_data to the sol verifier
ethan-crypto Jun 14, 2023
504cc83
*added EVM quantization.
ethan-crypto Jun 15, 2023
23e16c3
Merge branch 'development' into feat-verify-evm-with-data-attestation
ethan-crypto Jun 15, 2023
8998442
*added EVM quantization
ethan-crypto Jun 16, 2023
93af66b
Merge branch 'development' into feat-verify-evm-with-data-attestation
ethan-crypto Jun 16, 2023
1c32d0a
*fixed minor bugs in integration test
ethan-crypto Jun 17, 2023
0f67bce
Merge branch 'development' into feat-verify-evm-with-data-attestation
ethan-crypto Jun 17, 2023
51db5ca
*mirror rust .round in quantization_evm
ethan-crypto Jun 18, 2023
0a6daff
*removed redundant curly braces in quantize_data
ethan-crypto Jun 18, 2023
177367f
Merge branch 'development' into feat-verify-evm-with-data-attestation
ethan-crypto Jun 18, 2023
8606e82
*updated settings.json files, wasm.rs and integration
ethan-crypto Jun 19, 2023
167d8a7
*cleaned merge
ethan-crypto Jun 19, 2023
40106eb
Merge branch 'development'
ethan-crypto Jun 19, 2023
e00ab72
*added on_chain_input_data field
ethan-crypto Jun 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
*added on_chain_input_data field
to serialize for GraphInput struct.
  • Loading branch information
ethan-crypto committed Jun 20, 2023
commit e00ab72c39204ae23f742cdcadf2ba0e4599cab5
4 changes: 4 additions & 0 deletions src/graph/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ impl Serialize for GraphInput {
if let Some(processed_outputs) = &self.processed_outputs {
state.serialize_field("processed_outputs", &processed_outputs)?;
}

if let Some(on_chain_input_data) = &self.on_chain_input_data {
state.serialize_field("on_chain_input_data", &on_chain_input_data)?;
}
state.end()
}
}