Skip to content

Conversation

@marcocastignoli
Copy link
Member

@netlify
Copy link

netlify bot commented Nov 19, 2025

Deploy Preview for verify-sourcify-ui ready!

Name Link
🔨 Latest commit 23db2b2
🔍 Latest deploy log https://app.netlify.com/projects/verify-sourcify-ui/deploys/6930079ab7a7360008c90d84
😎 Deploy Preview https://deploy-preview-14--verify-sourcify-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

<p className="text-sm text-gray-500">Statuses refresh every {EXTERNAL_VERIFICATION_STATUS_REFRESH_RATE_SECONDS} seconds.</p>
</div>
<div className="space-y-4">
{Object.entries(jobData.externalVerifications)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we order the verifiers? I would do it by adoption, which should be in this order: Etherscan, Blockscout, Routescan.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would actually put Etherscan last because it's not part of the verifier alliance :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just sort alphabetically

@marcocastignoli marcocastignoli self-assigned this Nov 24, 2025
@marcocastignoli marcocastignoli moved this to Sprint - In Progress in Sourcify Public Nov 24, 2025
@marcocastignoli marcocastignoli moved this from Sprint - In Progress to Sprint - Needs Review in Sourcify Public Nov 25, 2025
@sourcifyeth sourcifyeth deleted a comment from SEEDALTAR Dec 3, 2025
Comment on lines 107 to 109
// Old jobs don't have external verifications, so we need a mechanism to stop retrying if the value is not set
if (!jobData || isJobFullyCompleted || hasReachedExternalVerificationRetryLimit) return;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name isJobFullyCompleted is a bit misleading here. I spend a good 10 mins trying to understand how this variable relates to the comment above. Finally realized it also has a check if the externalVerification field exists, which I can't understand from the variable name

return (
<div className="bg-white rounded-lg shadow-sm border border-gray-200 p-4 md:p-6 my-6 md:my-8">
<div className="flex flex-col md:flex-row md:items-center md:justify-between gap-2 md:gap-4 mb-4">
<h2 className="text-lg md:text-xl font-bold text-gray-900">Verification on other verifiers</h2>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just say "Other Verifiers" in the title and add a small subtitle saying "Sourcify automatically shares contracts with other known verifiers"

@kuzdogan
Copy link
Member

kuzdogan commented Dec 3, 2025

image
  • Here for the job fd554c12-0054-4daa-8c10-1c3d91f9d17f on staging, I find the Blockscout response misleading. The contract is actually already verified but the response gives the impression that it is not. We should show "Already Verified" instead of verification successful by checking it.

  • Also in the same visual I see "Verification Successful" for Routescan but the subtitle says "Verification not found".

  • The text on the upper right "Statuses refresh every 3 seconds" is stuck even though there won't be any refresh. I prefer a countdown similar to how we handle it when refreshing the Sourcify verification job status.

  • I thought the "View on Explorer" will also open a "verification job" page on the explorer/verifier. It should be "View Contract" IMO. Also the links are missing the contract suffix e.g. #code for Etherscan. The link should directly open the source code page.

Smaller action points I see:

  • Let's add an "Already Verified" label.
  • Add verifier icons
  • Sort them alphabetically

@marcocastignoli
Copy link
Member Author

marcocastignoli commented Dec 3, 2025

I found that Routescan stores the verification job for 24 minutes. So that error comes from this problem. I don't know what we can do about it... Should we use the verification creation time to mark the row as "verification too old" or something similar?

EDIT: it's probably not something related only to Routescan, I'm asking also Blockscout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants