feat: added FinalizedTagUpdater plugin implementation and workflow (#3752)

* feat: added FinalizedTagUpdater plugin implementation and workflow

* feat: implemented finalized block update logic and updated docker image and java package tags

* feat: set finalized-tag-updater version back to 0.0.1 and update coordinator config toml for traces-api-version-v2 as v0.3.0-rc2

* feat: moved jreleases.yml into sub folder

* feat: added JRELEASER_USER_HOME pointing to the sub folder

* feat: updated main.yml for filtering finalized-tag-updater changes

* feat: updated main.yml for filtering finalized-tag-updater changes

* feat: updated github-release.yml for jreleaser arguments

* feat: updated github-release.yml for jreleaser arguments with git root search

* feat: removed unused pipeline file and updated filter change file list and updated traces-api image

* feat: updated e2e test for more reliable way to check the result

* feat: updated asset tag with finalized-tag-updater prefix

* feat: changes for PR review

* feat: updated docker compose file for linea-sequencer plugin update

* feat: added e2e tests for finalized-tag-updater in github pipeline

* feat: updated e2e tests for finalized-tag-updater

* feat: added env var in  e2e test pipeline for finalized-tag-updater test

* feat: used finalized-tag-updater in the default local stack and updated the plugin to better handle errors

* feat: updated sequencer run command

* feat: fixed coordinator unit tests

* feat: changed the finalized tag update e2e test for no finalization on L1 case

* feat: updated error handling in FinalizationUpdatePoller and updated linea-tracer plugin version
This commit is contained in:
jonesho
2024-08-22 00:42:37 +08:00
committed by GitHub
parent 68a7f6211e
commit f29199e7bf
30 changed files with 650 additions and 17 deletions

View File

@@ -48,10 +48,17 @@ start-whole-environment:
# docker compose -f docker/compose.yml -f docker/compose-local-dev.overrides.yml build prover
docker compose -f docker/compose.yml -f docker/compose-local-dev.overrides.yml --profile l1 --profile l2 up -d
start-whole-environment-with-finalized-tag-updater:
docker compose -f docker/compose.yml -f docker/compose-local-dev.overrides.yml -f docker/compose-local-dev-finalized-tag-updater.overrides.yml --profile l1 --profile l2 up -d
start-whole-environment-traces-v2:
mkdir -p tmp/local/traces/v2/conflated
docker compose -f docker/compose.yml -f docker/compose-local-dev-traces-v2.overrides.yml --profile l1 --profile l2 up -d
start-whole-environment-traces-v2-with-finalized-tag-updater:
mkdir -p tmp/local/traces/v2/conflated
docker compose -f docker/compose.yml -f docker/compose-local-dev-traces-v2.overrides.yml -f docker/compose-local-dev-finalized-tag-updater.overrides.yml --profile l1 --profile l2 up -d
pull-all-images:
docker compose -f docker/compose.yml -f docker/compose-local-dev-traces-v2.overrides.yml --profile l1 --profile l2 pull
@@ -117,6 +124,10 @@ fresh-start-all-traces-v2:
make clean-environment
make start-all-traces-v2
fresh-start-all-traces-v2-with-finalized-tag-updater:
make clean-environment
make start-all-traces-v2-with-finalized-tag-updater
start-all-smc-v4:
L1_GENESIS_TIME=$(get_future_time) make start-whole-environment
make deploy-contracts-v4
@@ -125,10 +136,18 @@ start-all:
L1_GENESIS_TIME=$(get_future_time) make start-whole-environment
make deploy-contracts
start-all-with-finalized-tag-updater:
L1_GENESIS_TIME=$(get_future_time) make start-whole-environment-with-finalized-tag-updater
make deploy-contracts
start-all-traces-v2:
L1_GENESIS_TIME=$(get_future_time) make start-whole-environment-traces-v2
make deploy-contracts
start-all-traces-v2-with-finalized-tag-updater:
L1_GENESIS_TIME=$(get_future_time) make start-whole-environment-traces-v2-with-finalized-tag-updater
make deploy-contracts
deploy-contracts-v4:
make compile-contracts
$(MAKE) -j2 deploy-linea-rollup-v4 deploy-l2messageservice