Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Compilers] bytecodehash property in metadata settings doesn't have ipfs option #655

Open
1 of 2 tasks
bxpana opened this issue Aug 13, 2024 Discussed in #194 · 0 comments
Open
1 of 2 tasks

[Compilers] bytecodehash property in metadata settings doesn't have ipfs option #655

bxpana opened this issue Aug 13, 2024 Discussed in #194 · 0 comments
Labels
compiler Question for compiling docs Items needed to be added or updated in the documentation feature-request Feature request WIP The issue is currently being worked on

Comments

@bxpana
Copy link
Contributor

bxpana commented Aug 13, 2024

Discussed in #194

Originally posted by kumaryash90 November 1, 2023

Which compiler are you using?

  • zksolc
  • zkvyper

Which version of Solidity or Vyper?

0.8.17

zksolc/zkvyper version?

1.3.15

Explain the issue

While the latest zksolc compiler versions have a "metadata" option in settings, it doesn't allow setting it equal to "ipfs", which is usually a default setting for solc compiler.

i.e. it should be possible to set the bytecodehash below to ipfs

zksolc: {
    version: "1.3.15",
    compilerSource: "binary",
    settings: {
      metadata: {
        bytecodeHash: "none",
      },
      optimizer: {
        enabled: true,
      },
    },
  },

Link to your repo?

No response

@bxpana bxpana added compiler Question for compiling feature-request Feature request WIP The issue is currently being worked on labels Aug 13, 2024
@bxpana bxpana added the docs Items needed to be added or updated in the documentation label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Question for compiling docs Items needed to be added or updated in the documentation feature-request Feature request WIP The issue is currently being worked on
Projects
None yet
Development

No branches or pull requests

1 participant