From bef8d71404b1a02e68fa47765d9cbfb58f2101df Mon Sep 17 00:00:00 2001 From: Arsenii Kulikov Date: Mon, 7 Oct 2024 00:16:19 +0400 Subject: [PATCH] ci and --eof --- README.md | 11 ++--------- eof-solc | 3 --- foundry.toml | 6 +----- 3 files changed, 3 insertions(+), 17 deletions(-) delete mode 100755 eof-solc diff --git a/README.md b/README.md index 3510281..dc675cd 100644 --- a/README.md +++ b/README.md @@ -5,16 +5,9 @@ Set of solidity utilities to ease deployment and usage of applications on ## EOF support -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. +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. -To make sure that everything is working properly you can run the following command: -```shell -$ ./eof-solc --version -``` - -It will pull the docker image on a first run and should print the version of the solc binary. - -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. +This repository is configured to compile contracts for [EOF] by default by setting `eof = true` in the `foundry.toml` file. ## EIP-7702 support diff --git a/eof-solc b/eof-solc deleted file mode 100755 index 55ce3d5..0000000 --- a/eof-solc +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -docker run --rm -i -v "$(pwd):/app/root" ghcr.io/paradigmxyz/forge-eof:latest "$@" \ No newline at end of file diff --git a/foundry.toml b/foundry.toml index 8ad7e3f..ac39ece 100644 --- a/foundry.toml +++ b/foundry.toml @@ -3,9 +3,5 @@ src = "src" out = "out" libs = ["lib"] -# settings required for EOF -via_ir = true -evm_version = "prague" -eof_version = 1 -solc = "./eof-solc" +eof = true alphanet = true