Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bef8d71

Browse files
committedOct 6, 2024··
ci and --eof
1 parent 69dd7cd commit bef8d71

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed
 

‎README.md

+2-9
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,9 @@ Set of solidity utilities to ease deployment and usage of applications on
55

66
## EOF support
77

8-
This repository is configured to compile contracts for [EOF]. This is done by using solc binary from [forge-eof] repository distrbuted as a docker image. To be able to compile contracts you will need to have [Docker] installed.
8+
Forge has built-in support for [EOF]. This is done by using solc binary from [forge-eof] repository distrbuted as a docker image. To be able to compile contracts you will need to have [Docker] installed. Once it's installed, and forge version is up to date (run `foundryup` if needed), you can add `--eof` flag to any forge command to try out EOF compilation.
99

10-
To make sure that everything is working properly you can run the following command:
11-
```shell
12-
$ ./eof-solc --version
13-
```
14-
15-
It will pull the docker image on a first run and should print the version of the solc binary.
16-
17-
After that, make sure that your forge version is up to data (run `foundryup` if needed), and then you should be able to use all usual forge commands —— all contracts will get compiled for EOF.
10+
This repository is configured to compile contracts for [EOF] by default by setting `eof = true` in the `foundry.toml` file.
1811

1912
## EIP-7702 support
2013

‎eof-solc

-3
This file was deleted.

‎foundry.toml

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,5 @@ src = "src"
33
out = "out"
44
libs = ["lib"]
55

6-
# settings required for EOF
7-
via_ir = true
8-
evm_version = "prague"
9-
eof_version = 1
10-
solc = "./eof-solc"
6+
eof = true
117
alphanet = true

0 commit comments

Comments
 (0)
Please sign in to comment.