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

forge flatten fails with cryptic error message #8450

Closed
2 tasks done
duncancmt opened this issue Jul 16, 2024 · 1 comment
Closed
2 tasks done

forge flatten fails with cryptic error message #8450

duncancmt opened this issue Jul 16, 2024 · 1 comment
Labels
T-bug Type: bug

Comments

@duncancmt
Copy link

Component

Forge

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

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (ea7817c 2024-07-16T00:20:45.570266422Z)

What command(s) is the bug in?

forge flatten

Operating System

Linux

Describe the bug

I had previously opened #7554, but couldn't provide a repro because the contracts weren't released and I couldn't figure out something minimal. But https://github.com/0xProject/0x-settler is now public. If you try forge flatten src/chains/Mainnet.sol, you'll observe the error:

$ forge flatten src/chains/Mainnet.sol 
Error: 
Failed to flatten: missing field `body` at line 1 column 30987

Seems possibly related to #7069

@duncancmt duncancmt added the T-bug Type: bug label Jul 16, 2024
@zerosnacks
Copy link
Member

Hi @duncancmt thanks for the repro

Marking as duplicate in favor of now re-opened #7554

@zerosnacks zerosnacks closed this as not planned Won't fix, can't repro, duplicate, stale Jul 16, 2024
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

No branches or pull requests

2 participants