diff --git a/backend/examples/summa_solvency_flow.rs b/backend/examples/summa_solvency_flow.rs index 0bf00b4c..9fcb6595 100644 --- a/backend/examples/summa_solvency_flow.rs +++ b/backend/examples/summa_solvency_flow.rs @@ -26,9 +26,14 @@ async fn main() -> Result<(), Box> { // // The signer instance would be shared with `address_ownership` and `round` instances // - // Using AddressInput::Address to directly provide the summa_contract's address. - // For deployed contracts, if the address is stored in a config file, - // you can alternatively use AddressInput::Path to specify the file's path. + // Using `AddressInput::Address`` to directly provide the summa_contract's address. + // + // If the address of a deployed contract is stored in a configuration file, + // you can use `AddressInput::Path` to provide the path to that file. + // + // For example, if the contract address is in "backend/src/contracts/deployments.json" located + // you would use `AddressInput::Path` as follows:`AddressInput::Path("backend/src/contracts/deployments.json".to_string())`. + // let signer = SummaSigner::new( "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80", anvil.endpoint().as_str(), diff --git a/contracts/src/Summa.sol b/contracts/src/Summa.sol index 61c13fa1..c0357c85 100644 --- a/contracts/src/Summa.sol +++ b/contracts/src/Summa.sol @@ -84,16 +84,7 @@ contract Summa is Ownable { constructor(IVerifier _inclusionVerifier) { inclusionVerifier = _inclusionVerifier; } - - /* - // While this duplicate method might elevate deployment costs, the trade-off is a reduction in usage and maintenance costs. - function submitProofOfAddressOwnership( - AddressOwnershipProof memory _addressOwnershipProof - ) public onlyOwner { - ... - } - */ - + /** * @dev Submit an optimistic proof of multiple address ownership for a CEX. The proof is subject to an off-chain verification as it's not feasible to verify the signatures of non-EVM chains in an Ethereum smart contract. * @param _addressOwnershipProofs The list of address ownership proofs