Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Xi Zhang <[email protected]>
  • Loading branch information
rube-de and aefhm authored Dec 12, 2024
1 parent a5c6716 commit 39af1a0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/dapp/tools/verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,14 @@ or deployment script contains `import '@oasisprotocol/sapphire-hardhat'` or
comment those out for the deployment.

Verification services will try to match the contract deployment transaction code
with the one in the provided contract's metadata and since the transaction was
with the one in the provided contract's metadata. Because the transaction was
encrypted with an ephemeral ParaTime key, the verification service will not be
able to decrypt it. Some services may extract the contract's bytecode from the
chain directly by calling `eth_getCode` RPC, but this will not work correctly
for contracts with immutable variables.

:::



## Verification with Hardhat

If you use Hardhat to deploy your contracts, consider using the
Expand Down Expand Up @@ -112,7 +110,7 @@ To verify maunally a contract deployed on Sapphire Mainnet or Testnet on Sourcif

![Sourcify: Verify contract](../images/tools/sourcify3.png)

4. If everything goes well, you will get a *Perfect match* notice and your
4. If everything goes well, you will get a *Perfect match* notice. your
contract is now verified. Congratulations!

In case of a *Partial match*, the contracts metadata JSON differs from the one
Expand Down

0 comments on commit 39af1a0

Please sign in to comment.