Skip to content

Commit a61cbb4

Browse files
committed
Document the eofVersion field in StandardJSON and metadata
1 parent 4355555 commit a61cbb4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/metadata.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ explanatory purposes.
134134
},
135135
// Required for Solidity.
136136
"evmVersion": "london",
137+
// Optional: Only present if not null.
138+
"eofVersion": 1,
137139
// Required for Solidity: Addresses for libraries used.
138140
"libraries": {
139141
"MyLib": "0x123123..."

docs/using-the-compiler.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,9 @@ Input Description
358358
// tangerineWhistle, spuriousDragon, byzantium, constantinople,
359359
// petersburg, istanbul, berlin, london, paris, shanghai, cancun (default), prague (experimental) or osaka (experimental).
360360
"evmVersion": "cancun",
361+
// EVM Object Format version to compile for (optional, experimental).
362+
// Currently the only valid value is 1. If not specified, legacy non-EOF bytecode will be generated.
363+
"eofVersion": null,
361364
// Optional: Change compilation pipeline to go through the Yul intermediate representation.
362365
// This is false by default.
363366
"viaIR": true,

0 commit comments

Comments
 (0)