Skip to content

forge flatten : Failed to flatten: missing field block #7069

@Metaxona

Description

@Metaxona

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 (b174c3a 2024-02-09T00:16:22.953958126Z)

What command(s) is the bug in?

forge flatten

Operating System

Linux

Describe the bug

UUPS Contract Implementations are not getting flattened, only the proxy contracts and other specified contracts are getting flattened

errors are showing:
Failed to flatten: missing field block at line 1 column 194281
Failed to flatten: missing field block at line 1 column 492135

when it's the implementation's turn to be flattened

image

tried it on WSL
image

and on Ubuntu server
image

forge 0.2.0 (b174c3a 2024-02-09T00:16:22.953958126Z)

ending up with the same result

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions