Skip to content

Failed to flatten: unknown variant transient #10861

Closed
@mattstam

Description

@mattstam

Component

Forge

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

  • Foundry
  • Foundryup

What version of Foundry are you on?

1.2.3-stable

What version of Foundryup are you on?

1.2.3-stable

What command(s) is the bug in?

forge flatten

Operating System

macOS (Apple Silicon)

Describe the bug

I cannot flatten / verify my contract, which uses the solc 0.8.28+ transient keyword for storage variables.

To reproduce, you can try running on this repo which has transient used here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions