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

The json format of compiled contract is not correct #765

Closed
1 of 2 tasks
laizy opened this issue Feb 17, 2022 · 1 comment · Fixed by #762
Closed
1 of 2 tasks

The json format of compiled contract is not correct #765

laizy opened this issue Feb 17, 2022 · 1 comment · Fixed by #762
Labels
T-bug Type: bug

Comments

@laizy
Copy link
Contributor

laizy commented Feb 17, 2022

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.1.0 (e3bae77 2022-02-17T00:22:45.909541871+00:00)

What command(s) is the bug in?

forge build

Operating System

Linux

Describe the bug

The json format of compiled contract is not correct. deployed_bytecode should be deployedBytecode.
https://docs.soliditylang.org/en/v0.7.4/using-the-compiler.html#output-description

  "deployed_bytecode": {
    "object": "0x7xxx3",
    "sourceMap": "xxx",
    "linkReferences": {}
  }
@laizy laizy added the T-bug Type: bug label Feb 17, 2022
@mattsse
Copy link
Member

mattsse commented Feb 17, 2022

Fixed here gakonst/ethers-rs#907
should land shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants