matter-labs / matter-labs/block-explorer

feature request: add missing compiler options to the Contract Verification page

Open
#288 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
139
Forks
145
Avg merge
8h 3m
Merged PRs (30d)
3

Description

### 🌟 Feature Request

#### 📝 Description

Another type of metadata has been added in zksolc v1.5.4: `ipfs`. We need it to add it to the [Contract Verification page](https://explorer.zksync.io/contracts/verify) so that contracts compiled with this option can be verified through the UI. It seems that there is a number of other compiler options missing on this page, please add them, too.

#### 🤔 Rationale

For users to be able to verify smart contracts using the Explorer UI, we need to show them all available compiler options that can be used with a particular compiler version for compilation. Otherwise, they won't be able to verify.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Contract Verification page and inspect how compiler options are presented for each compiler version. Compare those options with the metadata available in zksolc v1.5.4, including ipfs; done means all supported options can be selected so contracts using them can be verified through the Explorer UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.