Skip to content

Commit f176ff1

Browse files
authored
feat: create feehandler system (#48)
* create feehandler system * add fee handling * modify system and add docs * custom evm * remove feehandler * make it work with chainspec and update docs * remove feehandler doc * fix clippy and test imports * rename * tests, e2e still needs loving * snakecase and write more tests * build docker images on pull requests * rename to evolve * pipe fees through the executpr * clippy * if no tip address is set use the sink address * cleanup * modify adr
1 parent 9b41302 commit f176ff1

28 files changed

Lines changed: 2011 additions & 69 deletions

.github/workflows/docker.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- main
1010
tags:
1111
- v*
12+
pull_request:
13+
types: [opened, synchronize, reopened]
1214

1315
env:
1416
REPO_NAME: ${{ github.repository_owner }}/ev-reth
@@ -50,6 +52,16 @@ jobs:
5052
run: |
5153
docker run --privileged --rm tonistiigi/binfmt --install arm64,amd64
5254
docker buildx create --use --name cross-builder
55+
- name: Set Docker tag
56+
id: set-tag
57+
run: |
58+
if [ "${{ github.event_name }}" == "pull_request" ]; then
59+
echo "DOCKER_TAG=pr-${{ github.event.pull_request.number }}" >> $GITHUB_OUTPUT
60+
elif [[ "${{ github.ref }}" == refs/tags/* ]]; then
61+
echo "DOCKER_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
62+
else
63+
echo "DOCKER_TAG=latest" >> $GITHUB_OUTPUT
64+
fi
5365
- name: Build and push image
5466
run: |
5567
export LIBCLANG_PATH=/usr/lib/llvm-18/lib
@@ -61,4 +73,5 @@ jobs:
6173
export CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++
6274
export AR_aarch64_unknown_linux_gnu=aarch64-linux-gnu-ar
6375
export PKG_CONFIG_ALLOW_CROSS=1
76+
export DOCKER_TAG=${{ steps.set-tag.outputs.DOCKER_TAG }}
6477
make docker-build-push

Cargo.lock

Lines changed: 118 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)