-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00a5ab9
commit bd1d48e
Showing
20 changed files
with
2,264 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
name: linea-mainnet | ||
|
||
on: | ||
workflow_call: | ||
outputs: | ||
workflow_run_id: | ||
description: "the run id of the workflow" | ||
value: ${{ jobs.build.outputs.workflow_run_id }} | ||
workflow_dispatch: | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: build | ||
outputs: | ||
workflow_run_id: ${{ steps.workflow_details.outputs.id }} | ||
steps: | ||
|
||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: get workflow_details | ||
id: workflow_details | ||
run: echo "id=${{ github.run_id }}" >> $GITHUB_OUTPUT | ||
|
||
- name: get versions via dotenv | ||
id: dotenv | ||
uses: falti/dotenv-action@v1 | ||
with: | ||
path: versions/linea-mainnet.env | ||
mode: development | ||
keys-case: lower | ||
log-variables: true | ||
load-mode: strict | ||
|
||
- name: set docker tag | ||
id: dockertag | ||
run: | | ||
if [ "${{ github.event_name }}" == "push" ] && [ "${{ github.ref_type }}" == "tag" ]; then | ||
echo "IMAGE=mainnet-${{ github.ref_name }}" >> $GITHUB_OUTPUT | ||
else | ||
echo "IMAGE=mainnet-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | ||
fi | ||
- name: download and untar the linea-besu archive | ||
run: | | ||
cd /tmp/ | ||
echo "downloading linea-besu: ${{ steps.dotenv.outputs.LINEA_BESU_TAR_GZ }}" | ||
wget -nv "https://artifacts.consensys.net/public/linea-besu/raw/names/linea-besu.tar.gz/versions/${{ steps.dotenv.outputs.LINEA_BESU_TAR_GZ }}/linea-besu-${{ steps.dotenv.outputs.LINEA_BESU_TAR_GZ }}.tar.gz" | ||
tar -xvf linea-besu-${{ steps.dotenv.outputs.LINEA_BESU_TAR_GZ }}.tar.gz | ||
mv /tmp/linea-besu-${{ steps.dotenv.outputs.LINEA_BESU_TAR_GZ }} /tmp/besu | ||
- name: copy the list of versions to the container | ||
run: | | ||
cp ./versions/linea-mainnet.env /tmp/besu/versions.txt | ||
mkdir -p /tmp/besu/plugins | ||
- name: get the plugins | ||
run: | | ||
cd /tmp/besu/plugins | ||
echo "getting linea_sequencer_plugin_version: ${{ steps.dotenv.outputs.LINEA_SEQUENCER_PLUGIN_VERSION }}" | ||
wget -nv "https://github.com/Consensys/linea-sequencer/releases/download/v${{ steps.dotenv.outputs.LINEA_SEQUENCER_PLUGIN_VERSION }}/besu-sequencer-plugins-v${{ steps.dotenv.outputs.LINEA_SEQUENCER_PLUGIN_VERSION }}.jar" -P /tmp/besu/plugins | ||
echo "getting finalized_tag_updater_plugin_version: ${{ steps.dotenv.outputs.FINALIZED_TAG_UPDATER_PLUGIN_VERSION }}" | ||
wget -nv "https://github.com/Consensys/linea-monorepo/releases/download/finalized-tag-updater-v${{ steps.dotenv.outputs.FINALIZED_TAG_UPDATER_PLUGIN_VERSION }}/finalized-tag-updater-v${{ steps.dotenv.outputs.FINALIZED_TAG_UPDATER_PLUGIN_VERSION }}.jar" -P /tmp/besu/plugins | ||
echo "getting linea_tracer_plugin_version: ${{ steps.dotenv.outputs.LINEA_TRACER_PLUGIN_VERSION }}" | ||
wget -nv "https://github.com/Consensys/linea-tracer/releases/download/v${{ steps.dotenv.outputs.LINEA_TRACER_PLUGIN_VERSION }}/linea-tracer-v${{ steps.dotenv.outputs.LINEA_TRACER_PLUGIN_VERSION }}.jar" -P /tmp/besu/plugins | ||
echo "getting shomei_plugin_version: ${{ steps.dotenv.outputs.SHOMEI_PLUGIN_VERSION }}" | ||
wget -nv "https://github.com/Consensys/besu-shomei-plugin/releases/download/v${{ steps.dotenv.outputs.SHOMEI_PLUGIN_VERSION }}/besu-shomei-plugin-v${{ steps.dotenv.outputs.SHOMEI_PLUGIN_VERSION }}.jar" -P /tmp/besu/plugins | ||
- name: piece the package together to build the docker images | ||
run: | | ||
cd docker | ||
mv /tmp/besu ./ | ||
mv config/ genesis/ profiles/ besu/ | ||
tree . | ||
# - name: set up docker buildx | ||
# uses: docker/setup-buildx-action@v3 | ||
|
||
# - name: login to docker | ||
# uses: docker/login-action@v3 | ||
# with: | ||
# username: ${{ secrets.DOCKER_USER_RW }} | ||
# password: ${{ secrets.DOCKER_PASSWORD_RW }} | ||
|
||
# - name: set docker build args | ||
# run: | | ||
# echo "BUILD_DATE=$(date --rfc-3339=date)" >> ${GITHUB_ENV} | ||
# echo "Building image tag: ${{ steps.dockertag.outputs.IMAGE }}" | ||
|
||
# - name: build and push the combined manifest | ||
# uses: docker/build-push-action@v6 | ||
# env: | ||
# DOCKER_BUILD_SUMMARY: false | ||
# with: | ||
# context: besu-fleet/. | ||
# platforms: linux/arm64,linux/amd64 | ||
# provenance: false | ||
# cache-from: type=local,src=/tmp/.buildx-cache | ||
# cache-to: type=local,dest=/tmp/.buildx-cache | ||
# build-args: | | ||
# VERSION=${{ steps.dockertag.outputs.IMAGE }} | ||
# VCS_REF=${{ github.sha }} | ||
# BUILD_DATE=${{ env.BUILD_DATE }} | ||
# push: true | ||
# tags: | | ||
# consensys/linea-besu-package:${{ steps.dockertag.outputs.IMAGE }} | ||
|
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[ | ||
"enode://069800db9e6e0ec9cadca670994ef1aea2cfd3d88133e63ecadbc1cdbd1a5847b09838ee08d8b5f02a9c32ee13abeb4d4104bb5514e5322c9d7ee19f41ff3e51@3.132.73.210:31002", | ||
"enode://a8e03a71eab12ec4b47bb6e19169d8e4dc7a58373a2476969bbe463f2dded6003037fa4dd5f71e15027f7fc8d7340956fbbefed67ddd116ac19a7f74da034b61@3.132.73.210:31003", | ||
"enode://97706526cf79df9d930003644f9156805f6c8bd964fc79e083444f7014ce10c9bdd2c5049e63b58040dca1d4c82ebef970822198cf0714de830cff4111534ff1@18.223.198.165:31004", | ||
"enode://24e1c654a801975a96b7f54ebd7452ab15777fc635c1db25bdbd4425fdb04e7f4768e9e838a87ab724320a765e41631d5d37758c933ad0e8668693558125c8aa@18.223.198.165:31000", | ||
"enode://27010891d960f73d272a553f72b6336c6698db3ade98d631f09c764e57674a797be5ebc6829ddbb65ab564f439ebc75215d20aa98b6f351d12ea623e7d139ac3@3.132.73.210:31001", | ||
"enode://228e1b8a4931e46f383e30721dac21fb8fb4e5e1b32c870e13b25478c82db3dc1cd9e7ceb93d302a766466b55638cc9c5cbfc43aa48fa41ced19baf365951f76@3.1.142.64:31002", | ||
"enode://c22eb0d40fc3ad5ea710aeddea906567778166bfe18c157955e8c39b23a46c45db18a0fa2ba07f2b64c81178a8c796aec2a29151533920ead06fcdfc6d8d03c6@47.128.192.57:31004", | ||
"enode://8ce733abe39fd7ae0a278b9893f85c1193c611a3886168690dd843435460f22cc4d61f9e8d0ace7f5905836a665319a31cccdaacdada2acc69972c382ecce7db@3.1.142.64:31003", | ||
"enode://b7c1b2bed65a855f7a2104aac9a14674dfdf018fdac763415b373b29ce18cdb81d36328ba4e5c9f12629f3a50c3e8f9ee048f22dbdbe93a82813da89c6b81334@51.20.235.126:31004", | ||
"enode://95270e0550848a72fb141cf27f1c4ea10714edde365b411dc0fa06c81c0f282ce155eb9fa472b6b8bb9ee98395eeaf4c5a7b02a01fe58b37ea98ba152eda4c37@13.50.94.193:31000", | ||
"enode://72013391755f24f08567b932feeeec4c893c06e0b1fb480890c83bf87fd277ad86a5ab9cb586db9ae9970371a2f8cb0c96f6c9f69045abca0fb801db7f047138@51.20.235.126:31001" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[ | ||
"enode://6f20afbe4397e51b717a7c1ad3095e79aee48c835eebd9237a3e8a16951ade1fe0e66e981e30ea269849fcb6ba03d838da37f524fabd2a557474194a2e2604fa@18.221.100.27:31002", | ||
"enode://ce1e0d8e0500cb5c0ac56bdcdafb2d6320c3a2c5125b5ccf12f5dfc9b47ee74acbcafc32559017613136c9c36a0ce74ba4f83b7fb8244f099f3b15708d9d3129@3.23.75.47:31000", | ||
"enode://1b026a5eb0ae74300f58987d235ef0e3a550df963345cb3574be3b0b54378bd11f14dfd515a8976f2c2d2826090e9507b8ccc24f896a9ffffffcabcfd996a733@3.129.120.128:31001" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
[traces-limits] | ||
# | ||
# Arithmetization module limits | ||
# | ||
ADD = 524286 | ||
BIN = 262128 | ||
BIN_RT = 262144 | ||
EC_DATA = 4084 | ||
EXT = 1048500 | ||
HUB = 2097150 | ||
INSTRUCTION_DECODER = 512 | ||
MMIO = 1048576 | ||
MMU = 524288 | ||
MMU_ID = 256 | ||
MOD = 131064 | ||
MUL = 65527 | ||
MXP = 524284 | ||
PHONEY_RLP = 65536 | ||
PUB_HASH = 30768 | ||
PUB_HASH_INFO = 8192 | ||
OLD_PUB_HASH = 32768 | ||
OLD_PUB_HASH_INFO = 8192 | ||
PUB_LOG = 14384 | ||
PUB_LOG_INFO = 49152 | ||
RLP = 504 | ||
ROM = 13000000 | ||
ROM_LEX = 3145728 | ||
SHF = 65520 | ||
SHF_RT = 4096 | ||
TX_RLP = 110000 | ||
WCP = 262128 | ||
LOG_DATA = 16384 | ||
LOG_INFO = 16384 | ||
RLP_ADDR = 504 | ||
|
||
# | ||
# These do not exist yet | ||
# | ||
RLP_TXRCPT = 2621440 | ||
TXN_DATA = 2621440 | ||
STP = 2621440 | ||
TRM = 1000000 | ||
EUC = 1000000 | ||
|
||
# | ||
# Block-specific limits | ||
# | ||
BLOCK_TX = 200 | ||
BLOCK_L1SIZE = 108592 | ||
BLOCK_L2L1LOGS = 16 | ||
BLOCK_KECCAK = 8192 | ||
|
||
# | ||
# Precompiles limits | ||
# | ||
PRECOMPILE_ECRECOVER = 100 | ||
PRECOMPILE_ECRECOVER_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_SHA2 = 100 | ||
PRECOMPILE_SHA2_BLOCKS = 1000000 | ||
PRECOMPILE_SHA2_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_RIPEMD = 100 | ||
PRECOMPILE_RIPEMD_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_RIPEMD_BLOCKS = 1000000 | ||
PRECOMPILE_IDENTITY = 10000 | ||
PRECOMPILE_MODEXP = 1000 | ||
PRECOMPILE_MODEXP_EFFECTIVE_CALL = 1000 | ||
PRECOMPILE_ECADD = 1000 | ||
PRECOMPILE_ECADD_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_ECMUL = 100 | ||
PRECOMPILE_ECMUL_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_ECPAIRING = 100 | ||
PRECOMPILE_ECPAIRING_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_ECPAIRING_MILLER_LOOP = 1000000 | ||
PRECOMPILE_BLAKE2F = 512 | ||
PRECOMPILE_BLAKE2F_ROUNDS = 1000000 | ||
PRECOMPILE_ECPAIRING_WEIGHTED = 1000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
[traces-limits] | ||
# | ||
# Arithmetization module limits | ||
# | ||
ADD = 524286 | ||
BIN = 262128 | ||
BIN_RT = 262144 | ||
EC_DATA = 4084 | ||
EXT = 1048500 | ||
HUB = 2097150 | ||
INSTRUCTION_DECODER = 512 | ||
MMIO = 1048576 | ||
MMU = 524288 | ||
MMU_ID = 256 | ||
MOD = 131064 | ||
MUL = 65527 | ||
MXP = 524284 | ||
PHONEY_RLP = 65536 | ||
PUB_HASH = 30768 | ||
PUB_HASH_INFO = 8192 | ||
OLD_PUB_HASH = 32768 | ||
OLD_PUB_HASH_INFO = 8192 | ||
PUB_LOG = 14384 | ||
PUB_LOG_INFO = 49152 | ||
RLP = 504 | ||
ROM = 13000000 | ||
ROM_LEX = 3145728 | ||
SHF = 65520 | ||
SHF_RT = 4096 | ||
TX_RLP = 110000 | ||
WCP = 262128 | ||
LOG_DATA = 16384 | ||
LOG_INFO = 16384 | ||
RLP_ADDR = 504 | ||
|
||
# | ||
# These do not exist yet | ||
# | ||
RLP_TXRCPT = 2621440 | ||
TXN_DATA = 2621440 | ||
STP = 2621440 | ||
TRM = 1000000 | ||
EUC = 1000000 | ||
|
||
# | ||
# Block-specific limits | ||
# | ||
BLOCK_TX = 200 | ||
BLOCK_L1SIZE = 108592 | ||
BLOCK_L2L1LOGS = 16 | ||
BLOCK_KECCAK = 8192 | ||
|
||
# | ||
# Precompiles limits | ||
# | ||
PRECOMPILE_ECRECOVER = 100 | ||
PRECOMPILE_ECRECOVER_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_SHA2 = 100 | ||
PRECOMPILE_SHA2_BLOCKS = 1000000 | ||
PRECOMPILE_SHA2_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_RIPEMD = 100 | ||
PRECOMPILE_RIPEMD_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_RIPEMD_BLOCKS = 1000000 | ||
PRECOMPILE_IDENTITY = 10000 | ||
PRECOMPILE_MODEXP = 1000 | ||
PRECOMPILE_MODEXP_EFFECTIVE_CALL = 1000 | ||
PRECOMPILE_ECADD = 1000 | ||
PRECOMPILE_ECADD_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_ECMUL = 100 | ||
PRECOMPILE_ECMUL_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_ECPAIRING = 100 | ||
PRECOMPILE_ECPAIRING_EFFECTIVE_CALL = 1000000 | ||
PRECOMPILE_ECPAIRING_MILLER_LOOP = 1000000 | ||
PRECOMPILE_BLAKE2F = 512 | ||
PRECOMPILE_BLAKE2F_ROUNDS = 1000000 | ||
PRECOMPILE_ECPAIRING_WEIGHTED = 1000000 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.