-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automata DCAP Attestation Audit Submission For Release (November 2024) (
#6) * p256 configuration to use RIP7212 precompile if available * forge install: sp1-contracts v3.0.0 * zk verifier contract interface compatible with risczero, succinct, other zk-coprocessors we may support in the future * added DCAP Attestation with Fee contract and refactored code * minor fix: pausable * forge update: on-chain pccs * pccs router update and all contracts must read collaterals via the pccs router * added the ability to simulate gas cost directly from contract * code formatting * pccs router caller check and minor fix for deployment script * upgrade tests to run verification on sp1 v3 proofs * forge-update: on-chain pccs to sync with audit submission * v4 tee check * NatSpec comment updates * use revert when the script cannot find a p256 verifier * fixed test code * updated README.md * store slither report as sarif * commenting out sp1 groth16 test code because its failing ci due to compiler config * fee base contract updates * zk function signature updates * forge update: automata-on-chain-pccs fmspc tcb parser * advisory ids in verified output * forge-update: succinctlabs/sp1-contracts * env, scripts and forge-test updates * minor updates on contract, and removed AutomataDcapAttestation.sol * broadcast and contract commenting minor fixes * forge-update: risc0/risc0-ethereum to v1.1.3 * risczero passes unit test * CI uses incorrect image ID * fixed incorrect pck crl hash matching * forge-update: automata-on-chain-pccs to match with latest commit * broadcasts and .env.example updates * forge update: automata-on-chain-pccs to point to the main branch * README and env updates to reflect testnet deployment
- Loading branch information
1 parent
339d981
commit 1041bde
Showing
46 changed files
with
1,210 additions
and
566 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
broadcast/AttestationScript.s.sol/1398243/configureZk-latest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"transactions": [ | ||
{ | ||
"hash": "0x10caf4a9ed6ba33a4b7ca43d85091d7bbe77e9cf1d7ee8a3160a43d90e91699a", | ||
"transactionType": "CALL", | ||
"contractName": null, | ||
"contractAddress": "0x6d67ae70d99a4cce500de44628bcb4dacfc1a145", | ||
"function": "setZkConfiguration(uint8,(bytes32,address))", | ||
"arguments": [ | ||
"1", | ||
"(0x83613a8beec226d1f29714530f1df791fa16c2c4dfcf22c50ab7edac59ca637f, 0xaE7F7EC735b6A90366e55f87780b36e7e6Ec3c65)" | ||
], | ||
"transaction": { | ||
"from": "0x3d089c2f2cb86d4efde153c81cabd4579784430b", | ||
"to": "0x6d67ae70d99a4cce500de44628bcb4dacfc1a145", | ||
"gas": "0x1745f", | ||
"value": "0x0", | ||
"input": "0x25e11c75000000000000000000000000000000000000000000000000000000000000000183613a8beec226d1f29714530f1df791fa16c2c4dfcf22c50ab7edac59ca637f000000000000000000000000ae7f7ec735b6a90366e55f87780b36e7e6ec3c65", | ||
"nonce": "0x22e", | ||
"chainId": "0x1555e3" | ||
}, | ||
"additionalContracts": [], | ||
"isFixedGasLimit": false | ||
} | ||
], | ||
"receipts": [ | ||
{ | ||
"status": "0x1", | ||
"cumulativeGasUsed": "0x1b8ce", | ||
"logs": [], | ||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | ||
"type": "0x2", | ||
"transactionHash": "0x10caf4a9ed6ba33a4b7ca43d85091d7bbe77e9cf1d7ee8a3160a43d90e91699a", | ||
"transactionIndex": "0x1", | ||
"blockHash": "0x1ca0b91fed252480811c5a41fc007eb9efb2b558f9d72d75b785cef1f5b8f116", | ||
"blockNumber": "0x642c17", | ||
"gasUsed": "0x10d98", | ||
"effectiveGasPrice": "0x2dc9b4", | ||
"from": "0x3d089c2f2cb86d4efde153c81cabd4579784430b", | ||
"to": "0x6d67ae70d99a4cce500de44628bcb4dacfc1a145", | ||
"contractAddress": null, | ||
"l1BaseFeeScalar": "0x558", | ||
"l1BlobBaseFee": "0x1", | ||
"l1BlobBaseFeeScalar": "0xc5fc5", | ||
"l1Fee": "0x1bbf1", | ||
"l1GasPrice": "0xb4ae", | ||
"l1GasUsed": "0x702" | ||
} | ||
], | ||
"libraries": [], | ||
"pending": [], | ||
"returns": {}, | ||
"timestamp": 1731995666, | ||
"chain": 1398243, | ||
"commit": "390daf4" | ||
} |
Oops, something went wrong.