You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue serves as a collaborative space to draft and discuss proposed updates for the VerA schema v2.
Proposed changes:
Handle better verifications from same verifier but with different version: There are cases in which for the same compilation_id and deployment_id, a more recent version of the same verifier can find a better verified_contract. This cases are not currently supported by VerA because we follow the policity "always insert, never update" and the better entries are in conflicts with existing verified_contracts's unique constraint. Read more here: Find a solution for UNIQUE constraint blocking re‑verification of contracts originally verified by a buggy Sourcify server argotorg/sourcify#2089
Add code.keccak_normalized_code, so it will be possible to compare similar bytecodes with the same executional bytecodes but different immutables, libraries, auxdata, constructor arguments, ecc..
Duplicate verifications by different verifiers: Add created_by to the unique constraint of verified_contracts such that the same verification can be added by multiple verifiers.
This issue serves as a collaborative space to draft and discuss proposed updates for the VerA schema v2.
Proposed changes:
compilation_idanddeployment_id, a more recent version of the same verifier can find a betterverified_contract. This cases are not currently supported by VerA because we follow the policity "always insert, never update" and the better entries are in conflicts with existingverified_contracts's unique constraint. Read more here: Find a solution for UNIQUE constraint blocking re‑verification of contracts originally verified by a buggy Sourcify server argotorg/sourcify#2089code.keccak_normalized_code, so it will be possible to compare similar bytecodes with the same executional bytecodes but different immutables, libraries, auxdata, constructor arguments, ecc..additional_inputcolumn tocompiled_contracts, see Add newadditional_inputfield in VerA argotorg/sourcify#2001proxy_infotable: Integrate proxy detection into the verification flow argotorg/sourcify#1712compiled_contracts: (e.g.linux,darwin) Input validation in APIv2 preventing from verifying Vyper versions lower than 0.3.2 argotorg/sourcify#2247 (comment)created_byto the unique constraint ofverified_contractssuch that the same verification can be added by multiple verifiers.Blocked by
Adding migrations to verifier-alliance/database-specs. we should maintain migrations to better support schema upgrades. See #31Done.