37 Commits

Author SHA1 Message Date
Fluent Crafter
a9bc257baa Localstack web3j default signer (#1111)
* localstack: use we3bj by default to make it lightweight

* localstack: update coordinator image
2025-06-06 14:41:42 +01:00
Fluent Crafter
0c7c736830 coordinator: adds config v2 (#853)
* coordinator: adds config v2 sample

* coordinator: update config V2

* coordinator: update config v2

* coordinator: update config v2

* coordinator: config v2 wip

* spotless fix

* coordinator: adds config v2 parsers

* coordinator: adds config v2 classes and parsing tests

* coordinator: adds config v2 classes and parsing tests

* remove end2end changes from staterecovery test trigger

* coordinator: config v2 - fix prover directory config

* coordinator: add getChaindId to EthApiClient.kt

* coordinator: improve EIP1559GasProvider validation

* coordinator: add createReadOnly to Web3JL2MessageServiceSmartContractClient

* coordinator: add validation to FeeHistoryFetcherImpl

* coordinator: add more configs to v2

* coordinator: extend Web3JFactory

* coordinator: addapt CoordinatorApp to new V2 configs

* coordinator: adapt local stack coordinator configs

* coordinator: log4j clients.l1 debug

* coordinator: revert attempt to use web3signer on CI ONly :(

* coordinator: fix test and configs

* coordinator: fix test and configs

* coordinator: fix traces node address

* coordinator: remove unnecessary file

* coordinator: hardcode tracesVersion to v2.1.0 to match prover regex

* Update config/coordinator/coordinator-config-v2.toml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Signed-off-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>

* coordinator: default targetBlobsPerTransaction=7u

* coordinator: hardcode tracesVersion to 2.1.0 to match prover regex

* coordinator: fix agg configs

* coordinator: strict configs log warning when config is not used

* coordinator: add carved out config files

* coordinator: add opt-in to avoid annoying warning log

* feat: update Makefile for new coordinator config file and variable name

* localstack: remove coordinator forced platform

* coordinator: add missing config on gas-price-cap-calculation

* coordinator: remove old configs

---------

Signed-off-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
Co-authored-by: jonesho <jones.ho@consensys.net>
2025-06-06 11:15:01 +01:00
jonesho
953e7a90a5 feat: added shomei-frontend linea_getProof e2e test (#1077)
* feat: added shomei-frontend linea_getProof e2e test

* feat: revise the e2e test with comments

* feat: make linked library name human readable
2025-06-03 15:29:23 +08:00
jonesho
7e306e2658 feat: remove l2-node in e2e test and make it to run in local stack op… (#1001)
* feat: remove l2-node in e2e test and make it to run in local stack optionally

* fix: l2 spec transaction data size limit e2e test

* feat: revise blockscout configs

* feat: revised comment in Makefile

* feat: update transaction-exclusion-api and postman image

* feat: remove expected-traces-api-version-v2 from coordinator local overrides toml

* feat: remove shomei-frontend from ci and add disabled option in Type2StateProofProviderConfig

* feat: add endpoint for type2-state-proof-provider

* feat: revise coordinator local-dev override configs

* feat: remove white space
2025-05-22 23:27:14 +08:00
jonesho
1b874b45fb feat: removed all tracing-v1 related codes from github workflow (#932)
* feat: removed all tracing-v1 related codes from github workflow

* feat: removed all tracing-v1 related codes from makefile, test files, and docker yml files

* feat: removed all old prover, geth traces node, and traces-api in docker files

* feat: removed traces-api-facade related codes from workflow

* feat: update image tag of coordinator and others
2025-05-06 01:19:33 +08:00
jonesho
c7f6e5943e feat: use already-built image in Dockerfile of l1-node-genesis-generator (#669)
* feat: use already-built image in Dockerfile of l1-node-genesis-generator

* feat: get genesis time automatically in generate-genesis.sh and make L1_GENESIS_TIME optional

* feat: make sed in-place command portable with both OS in generate-genesis.sh
2025-02-14 03:12:59 +08:00
jonesho
0eb6eb4ff4 feat: use linea_estimateGas instead of getFeeData for all L2 transact… (#660)
* feat: use linea_estimateGas instead of getFeeData for all L2 transactions

* feat: use linea_estimateGas instead of getFeeData for L2 transactionswith call data and enable json-rpc-pricing-propagation

* feat: set DISABLE_JSON_RPC_PRICING_PROPAGATION of coordinator as false for e2e ci
2025-02-12 01:05:09 +08:00
Pedro Novais
bf8a00dfc6 update besu libs; improve gradle build; improve make file stack start up (#674) 2025-02-11 16:36:01 +00:00
Pedro Novais
4d85082d33 Staterecovery adapt to new besu (#642)
* staterecovery: adapt to Besu 25.6-delivery46 and support forced stop sync for debug purposes
2025-02-06 10:28:03 +00:00
Pedro Novais
b7d7e45c6a staterecovery: remove goerli deprecated files (#657) 2025-02-05 15:40:14 +00:00
Pedro Novais
253a51a44f Make minor fixes (#639)
* e2e: small fixes on CI stack spinup

* make: make task resilient to missing folders

* make: minor fixes
2025-01-30 17:05:23 +00:00
Pedro Novais
a63965e32c docker: breakdown into smaller files and more efficient resources (#626)
* docker: breakdown into smaller files and more efficient resources
2025-01-30 15:09:47 +00:00
The Dark Jester
b1c8ec57d6 [Chore] - 498 v5 techdebt cleanup (#613)
* initial V5 removal before main coordinator adjust

* fix build issue

* default to V6 and remove V5 references

* force  Web3JLineaRollupSmartContractClientReadOnly

* fix test reference

* remove V5 references
2025-01-29 20:49:23 +00:00
Pedro Novais
e67eb9ef32 Staterecovery part11 (#609)
* staterecovery: disable synch and maining services again on afterExternalServicePostMainLoop callback

* Update state-recovery/besu-plugin/src/main/kotlin/linea/staterecovery/plugin/LineaStateRecoveryPlugin.kt

Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Signed-off-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>

* gradle: improv version management

* AsyncRetryerTest: fix flacky test

---------

Signed-off-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
2025-01-29 12:55:02 +00:00
Pedro Novais
6995d99a1d Staterecovery - plugin rename and debug logging (#593)
* staterecovery: Fix renamings, logs and adds e2e test for restarts
2025-01-27 15:54:24 +00:00
Pedro Novais
e1ac681a5f Staterecovery - udpate besu package (#586)
* staterecovery: udpate to Besu 25.1-delivery43

* staterecovery: udpate besu package

* staterecovery: remove vertx from Uberjar (not necessary anymore)

* staterecovery: reuse release plugin

* staterecovery: rename
2025-01-21 15:52:56 +00:00
Pedro Novais
d01ef99a5a staterecovery: fix cli options regression (#567)
* staterecovery: fix cli options regression & add CI jobs
2025-01-20 11:56:25 +00:00
Pedro Novais
fe967c703b State recover part 4 (#324)
* statereover: adds working StateRecoverApp, besu-plugin and Integration tests
---------

Signed-off-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>
Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
2025-01-16 10:16:39 +00:00
The Dark Jester
c9e67e75b7 [Fix] - Compute genesis shnarf dynamically (#353)
* compute genesis shnarf dynamically

* use newest ABI for V6

* remove validate tags and branch

* use correct var name for council

* Update contracts/deploy/06_deploy_TokenBridge.ts

Co-authored-by: Diana Borbe - ConsenSys <diana.borbe@consensys.net>
Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>

* adjust env var names for consistency

* Fix: remove github actions warnings (#394)

* fix: remove github actions warnings

* fix: bump code ql github action version to v3 (#396)

* use latest OZ link (#395)

* feat: update local compose file for linea-besu delivery39 and plugins (#397)

* fix: update github actions versions (#398)

* [Feat] - Exclude *.md files from triggering CI workflow (#370)

* did .md exclusion rules for workflow files

* test md change

* add markdown exclusion to pull_request event in main.yml

* modify main.yml to ignore *.md file on pull_request

* test if main.yml will ignore yml changes

* adjust paths exclusion for *.md

* test commit

* test commit

* alternate way for main.yml to filter out .md

* test changes to main.yml

* test change to main.yml

* add compound dorny/path-filter param

* fix duplicate workflow id

* removed *.yml test value

* adjust pr 370 as per comments 1 + test markdown change

* revert *.md test change

* clarify main.yml comments

* test

* test

* flip to is-markdown-only

* Revert "flip to is-markdown-only"

This reverts commit 5496a1b08384bcf034264a25322c20456c18df1c.

* trial push down

* test

* test

* test

* test

* test

* test

* test

* remove *.yml

* DO NOT MERGE THIS COMMIT - *.yml for demo purpose

* remove *.yml after demo done

* rename not-markdown-only to has-changes-other-than-markdown

* change to has-code-changes

* DO NOT MERGE - *.yml test

* Revert "DO NOT MERGE - *.yml test"

This reverts commit 807d71b3597204497d21afc2c51b81f68a92f63f.

* add docs to exclusion list, replace image extensions

* DO NOT MERGE - test ci

* Revert "DO NOT MERGE - test ci"

This reverts commit ee8831fe6259967d10ce9aa5c6db96e4ba808d82.

* change to has-changes-requiring-build

---------

Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>

* Introduced spotless checks to gradle scripts. Added publishing logic … (#401)

* Introduced spotless checks to gradle scripts. Added publishing logic to all the generic jvm libs. Removed redundant useJUnitPlatform()

* Removed more useJUnitPlatform()

* feat: update copyShadowJarToLocalBesu in finalized-tag-updater gradle build file

* fix: geth traces-node running in start-all local stack

---------

Co-authored-by: jonesho <jones.ho@consensys.net>

* Fixing spotless plugin application performance issue when applied to gradle.build files (#405)

* Feat/272 split sdk and postman (#381)

* feat: split postman and sdk

* fix: update postman client and sendMessage script

* fix: clean the sdk

* fix: update sdk dependencies

* fix: remove .env.sample file

* fix: remove testing helpers from the build

* fix: update gas provider in linea sdk and update postman client

* fix: update postman dependencies

* fix: update postman dockerfile and fix tests imports and types

* fix: remove unused code in the sdk + move typechain folder

* fix: remove unused code + fix imports in postman

* fix: pnpm lock file issue

* fix: import issue

* fix: case sensitive file issue

* fix: update sdk fees options and update exports

* fix: remove postman unused code and adjust imports and tests

* fix: update contracts abis + clean error parsing

* fix: update postman based on new SDk changes

* add readme + remove unused interface in postman

* fix: rename Base.ts file to BaseError.ts

* fix: rename Base.ts file to BaseError.ts in postman

* chore: update readme for the postman

* fix: rename maxFeePerGas to maxFeePerGasCap

* fix: update DefaultGasProvider fees check

* fix: default gas provider test issue

* fix: update main ci filter

* fix: issue in default gas provider

* feat: update postman docker image version in local stack (#410)

* Remove V5 from e2e + allow multiple runs no deploy (#411)

* Prover: couple of fixes betav1 (#377)

* fix(execution): a few fixes in the wizard verifier

* feat(dict): pass the dict path from config

* fix: makeBw6Proof returns circuitID instead of -1

* fix(circuitID): make bw6Proof returns the circuitID

* fix(config-testing)

* feat(config): sepolia-full uses full aggregation

* style(naming): renaming the rolling hash fields and documenting the checks in pi-interconnection

* feat: flag for target number of constraints

* fix refactoring oversight

---------

Co-authored-by: Arya Tabaie <arya.pourtabatabaie@gmail.com>

* Revert "Revert: Prover: bump to arithmetization beta-v0.8.0-rc6 (#362) (#371)" (#418)

This reverts commit 8be665e11c.

---------

Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Co-authored-by: Diana Borbe - ConsenSys <diana.borbe@consensys.net>
Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Co-authored-by: jonesho <jones.ho@consensys.net>
Co-authored-by: AlexandreBelling <alexandrebelling8@gmail.com>
Co-authored-by: Arya Tabaie <arya.pourtabatabaie@gmail.com>
2025-01-06 02:31:29 -08:00
The Dark Jester
edca2675dc [Chore] - opcode tester contracts (#447)
* initial commit of all opcode testing

* linting

* use better names - refactored + no optimizer

* store timestamp on verbatim execution

* Update contracts/contracts/test-contracts/OpcodeTester.sol

Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>

* Update contracts/contracts/test-contracts/LondonEvmCodes.yul

Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>

* deduplicate rollingBlockDetailComputations

* add missing bytecode and cleanup

* order functions by usage order

* correct loops

---------

Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
2024-12-17 02:31:08 -08:00
The Dark Jester
8cf2866aa9 Remove V5 from e2e + allow multiple runs no deploy (#411) 2024-12-09 06:27:07 -08:00
The Dark Jester
5fa9eb9bc4 [Chore] -Remove unused validation and standardize fields (#387)
* remove unused validation and standardize fields

* rename to L2MESSAGESERVICE_ADDRESS for consistency

* add  missing Makefile change
2024-12-03 10:09:43 -08:00
Pedro Novais
9361d4a23e staterecover: improve local stack (#336)
* staterecover: improve local stack and make file
2024-11-25 16:48:45 +00:00
The Dark Jester
98291b5c4b [Feat] 191 improve documentation (#316)
* initial changes for the contract readme

* testing guidelines wip

* add contract documentation

* add note on future deprecation

* add memory and CPU requirements for docker

* add audit references to documentation

* use tokenbridge make commands in documentation

* add additional comments to testing guidelines

* define contract style guide and link it

* address PR comments with better documentation

* document tweaks and traffic generation script

* catch error on failure of main()

* add precompute script and readme documentation

* use ethers address generation

---------

Co-authored-by: count-sum <andrei.alexandru@consensys.net>
2024-11-22 09:53:15 -08:00
Pedro Novais
3d5d4e6ab0 staterecover: adds blobscan to local stack (#279)
* staterecover: adds blobscan to local stack

* staterecover: adds blobscan env file

* connect port 4001 for blobscan-api

* statereover: improve test utils for code reuse

---------

Co-authored-by: thedarkjester <grant.southey@consensys.net>
2024-11-21 10:08:07 +00:00
The Dark Jester
4af87b5fe6 [Chore] - First pass contracts and makefile cleanup (#276)
* first pass contracts and makefile cleanup

* remove unused 4844 test files

* Remove Goerli references

* lint fixing

* lint fixing

* remove more Goerli references

* correct folder paths for L2 service tests

* fix pathing and hardhat version

* reinstate deleted file

* correct file pathing
2024-11-06 02:21:14 -08:00
Andrei A.
390d6ff860 Feat/122 Add TokenBridge e2e tests (#210)
* fix: add mutex in account manager to avoid nonce issue

* fix: optimize global setup

* Limiting number of concurrent traces API requests for the local stack to avoid occasional OOM-s

* Limiting number of verticles for Traces API node

* Add E2E TokenBridge tests

* fixing test and adding concurency

* fixing test and adding concurency

* fixing test and adding concurency

* fixing test and adding concurency

* fixing nonce management

* deploying l2token for the L2 -> L1 test

* adjusting accounts for L2->L1 test

* adjusting l2TestContractAddress

* use nonce management for L1->L2 test

* adjusting the TestERC20 contract and tests

* rebasing with fix/133-improve-e2e-tests-performance

* fix: update jest config to exit even if there are open handles

* Trying out Besu untuned and raising limit per endpoint to 2 for traces

* Trying out Besu untuned and raising limit per endpoint to 2 for traces and Shomei node

* Using besu untuned for arithmetization as well

* Compile once and parallelise setRemoteTokenBridge

* feat: deploy smart contracts from artifacts + change e2e tests setup

* fix: update pnpm

* fix: remove compile contracts gradle task

* fix: remove compileContracts gradle task

* fix: refactor genesis generator dockerfile + downgrade l1-el-node besu version

* fix: move abi from e2e folder to contract folder + refactor contracts deployments scripts

* feat: add deployment script from artifacts for LineaRollupV6

* update pnpm version in get-started.md

* fix: update console log in deployment scripts

* fix: update besu version + fix deployment scripts

* correct addresses

* fix import

* use abi and bytecode for deployments

* use upgradable beacon for BridgedToken ABI deploys

* use saved abi and bytecode for TestERC20 deploy

* correct deployBridgedTokenAndTokenBridge casing

* optimize token bridge e2e calls

* use explicit message event data

* use precomputed nonces for e2e stack

---------

Co-authored-by: VGau <victorien.gauch@consensys.net>
Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: Roman <4833306+Filter94@users.noreply.github.com>
Co-authored-by: thedarkjester <grant.southey@consensys.net>
Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
2024-10-31 18:03:53 +01:00
Victorien Gauch
36959fb21b Fix(133): Improve e2e tests performance (#234)
* fix: add mutex in account manager to avoid nonce issue

* fix: optimize global setup

* fix: update jest config to exit even if there are open handles

* feat: deploy smart contracts from artifacts + change e2e tests setup

* fix: update pnpm

* fix: remove compile contracts gradle task

* fix: remove compileContracts gradle task

* fix: refactor genesis generator dockerfile + downgrade l1-el-node besu version

* fix: move abi from e2e folder to contract folder + refactor contracts deployments scripts

* feat: add deployment script from artifacts for LineaRollupV6

* update pnpm version in get-started.md

* fix: update console log in deployment scripts

* fix: update besu version + fix deployment scripts

* fix: update submission finalization tests + rename variable
2024-10-30 14:10:24 +01:00
Pedro Novais
24366fc9f1 coordinator: support for smart contract v6 (#240)
* coordinator: support for smart contract v6
2024-10-24 17:32:39 +01:00
Bradley Bown
80e12cd385 GHA - Only publish docker builds on main branch (#200)
* GHA - Only publish docker builds on main branch

* GHA - Return develop_tag input

* GHA - push_image input required false

* GHA - remove input last_commit_tag

* GHA - remove input last_commit_tag 2

* GHA - Fix if statement

* GHA - Debug event name

* GHA - Fix event name check

* GHA - Fix tags env var

* GHA - Fix load input

* GHA - Separate steps for pushing images because images can't be loaded with multiple platforms

* GHA - Add profile for pulling non-local images

* GHA - Clean env vars and correct inputs

* GHA - Remove requirement of removed job

* GHA - Fix push_image type

* GHA - Remove profile from local image containers

* GHA - Store docker image artifact and download in e2e test job

* GHA - remove custom driver input

* GHA - Fix end of line

* GHA - Set file location

* Test file location 

Signed-off-by: Bradley Bown <bradbown@googlemail.com>

* Testing image publishing

* Fix load and push error

* Commit tag from current branch, fix tags env var

* Test fetch depth

* Test

* Revert commit tag changes

* Testing removal of docker login step before push

* TEST - Removal of cache

* Only login to docker on main

* Testing pull image without docker login

* Testing pull image without docker login - 2

* Test force build

* Test no changes

* Docker secrets required false

* Remove requirements for dockerhub credentials for pulls

* Rename arfifacts and compose profile

* Fix testing.yml secrets

* Replace usage of inputs with env vars

* Remove unnecessary inputs

* Reinstate dockerhub login for e2e tests

* Reinstate dockerhub login for coordinator-testing.yml

* Reinstate dockerhub login for build steps

* Fix secrets for build-and-publish.yml

* Non concurrent manual-docker-build-and-e2e-tests

* Optional docker secrets, check if they're set before running login step

* Set to env vars

* feat: add support for transaction-exclusion-api in new github workflow

* feat: remove new line pipeline testing

* feat: add echo for github.ref pipeline testing

---------

Signed-off-by: Bradley Bown <bradbown@googlemail.com>
Co-authored-by: jonesho <jones.ho@consensys.net>
Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
2024-10-24 18:39:20 +08:00
jonesho
fad0db4fc6 3822 rejected transaction api service (#101)
* feat: first commit for transaction exclusion api service

* feat: removed debug logs and improved params error handling

* fix: jacocoRootReport error

* feat: improved json request param parsings

* feat: added docker container and github workflow pipeline for transaction exclusion api

* feat: added rejection stage in response and use txHash and rejectReason as primary key of tables

* feat: separate database into read and write config and each with dedicated connection

* fix: e2e testing error

* feat: removed redundant commands in Makefile

* feat: updated transaction exclusion api default image tag in compose file

* feat: added metric and change param name from reasonMessage to reason

* feat: added integration and unit tests and use reasonMessage for both request and response

* fix: transaction-exclusion-api unit test

* feat: added e2e tests and remove reasonMessage from get response and redundant codes

* feat: updated README.md and removed abi file

* feat: updated image version of transaction exclusion api service in compose file

* feat: updated README and added more test cases

* feat: updated transaction exclusion api default image tag in compose file

* feat: decoupled transaction exclusion api from coordinator package

* feat: removed unnecessary dependencies to prover client

* feat: moved persistence:db package to jvm-libs

* feat: removed migration file dir location config from transaction exclusion api

* fix: db migration location for fee history integration test

* changed db column name timestamp to reject_timestamp and add dto for ModuleOverflow to remove all jackson dependencies in core module

* feat: rejected transaction dao and config refactoring

* feat: removed repository service and using persistence retryer

* feat: updated transaction exclusion api default image tag in compose file

* feat: updated log and increase retry backoff delay to avoid repetitive error logs

* feat: added support of list request on save method and added dto for RejectedTransaction

* feat: revised gradle.build dependencies

* feat: switch from shadow jar to zipped jar

* feat: updated transaction exclusion api default image tag in compose file

* feat: updated sql and tables and changes for PR comments

* feat: improved log message for duplicate key error

* feat: updated transaction exclusion api default image tag in compose file

* feat: avoid redundant logs on periodic db cleanup

* feat: revised request handlers plus better test assertions on insertion

* fix: test case

* feat: parse save method json request with jackson

* feat: extracted db migrations from the coordinator and transaction-exclusion app

* feat: decoupled coordinator modules from jvm-libs persistence db test module

* feat: updated dockerfile of transaction-exclusion-api

* feat: removed the find check before metric increment on save rejected transaction

* feat: updated docker base image for tx-exclusion-api image buid and queryable window config

* feat: skip migration scripts on read db instance

* feat: updated more percise jvm-libs change filtering on transaction-exclusion-api

* feat: updated coordinator config for geth node l2 gas pricing recipients

* feat: update runners with specific version and removed the use of retry for transaction exclusion api testing

* feat: add integration test for transaction exclusion app

* feat: update local stack docker compose and workflow for transaction exclusion

* feat: add e2e test for transaction exclusion

* feat: skip the sequencer test in transaction exclusion e2e test

* feat: revert sequencer config poa-block-txs-selection-max-time

* feat: remove incorrect comment

* feat: added explicitly assertion if tx exclusion is not defined and simplify the localStackPostgresDbOnly in build.gradle

* feat: remove beforeAll in test suite with it.concurrent

* feat: set coordinator config blob-compressor-version as V1_0_1 explicitly for traces-v2

* feat: update coordinator config test

* feat: change default prefix not to be coordinator specific

* feat: place persistence:db under jvm-libs:generic and fixed conflicts from latest main

* fix: remove dependency to resolve circular dependency issue

* test: switch from localStackPostgresDbOnlyComposeUp to localStackComposeUp

* feat: replace GITHUB_SHA with github.event.pull_request.head.sha in computing commit tag

* feat: update filter change file lists for transaction exclusion api
2024-10-22 15:50:44 +08:00
The Dark Jester
b3857464ad Feat/3907 state reconstruction events (#43)
* Remove lastFinalizedShnarf from finalization input
* Emit events state-reconstruction friendly
* Index shnarf on data submitted event

* reinstate public input variable name

* updated V6 ABI

* Coordinator - Allowing endless retries and setting them throughout th… (#89)

* Coordinator - Allowing endless retries and setting them throughout the app

* feat/1731 code coverage in Codecov (#13)

* feat/1731 code coverage in Codecov

* Cancel in progress workflows on new commits (#53)

* Cancel in progress workflows on new commits

* Test - Trigger workflow

* Test - Trigger workflow 2

* Group by only github.ref for branch name

* Add concurrency to more workflows

* Revert "Add concurrency to more workflows"

This reverts commit 86a00aa7b5c8e29d870acdc3d4d25d660b3a59e8.

* Print group

* Remove print steps and amend group

* Test adding concurrency group to testing.yml

* Test concurrency

* Specifying specific groups for child workflows

* Testing concurrency

* Add child groups to build and publish workflows

* Test concurrency

* Remove main workflow concurrency group

* Remove concurrency on pull request merge

* Feat/94 emit version updated event (#98)

* Emit LineaRollupVersionChanged on upgrade

* make padded hex bytes generic

* Use L2MessageService versioned API (#96)

* Stricter path filters for shared jvm-libs module (#52)

* Stricter path filters for shared jvm-libs module

* Update .github/workflows/main.yml

Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Signed-off-by: Bradley Bown <bradbown@googlemail.com>

---------

Signed-off-by: Bradley Bown <bradbown@googlemail.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>

* adding TokenBridge version for completeness (#99)

* Coordinator: DRY refactor test helpers and data for future reuse (#100)

* coordinator: adds slice ByteArrayExtensions.kt

* coordinator: adds testing file system helper

* coordinator: adds testing l1-blob-proof-submission submitter

* coordinator: rename findFile function

* coordinator: move prover responses to common test data for code reuse

* coordinator: fix ByteArray.sliceOf off-by-one bug

* coordinator: remove unnecessary!!

* coordinator: fix gradle deps

* coordinator: fix test

* coordinator: reduce transitive dependencies

* rebuild LineaRollup ABI

* Use finalStateRootHash on DataSubmittedV3

* fix flaky test

* fix regression

* use latest LineaRollup ABI for V6.0

* Add explicit comment for lastFinalizedShnarf

* NatSpec tweak and variable name correction

* Use finalizeBlocks not finalizeBlocksWithoutProof

* Use PAUSE_FINALIZATION_ROLE without WITHPROOF

* remove WithProof from finalize function

* use most up to date ABIs

* use V5 for the current end to end tests

* reinstate format from main

* reset pragma version

* rename file and env var function

---------

Signed-off-by: Bradley Bown <bradbown@googlemail.com>
Co-authored-by: count-sum <andrei.alexandru@consensys.net>
Co-authored-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Co-authored-by: Bradley Bown <bradbown@googlemail.com>
2024-10-16 05:51:32 -07:00
Roman Vaseev
2db07df57f Fixing Sequencer to make it return gas price. Disabling compatibility… (#135)
* Fixing Sequencer to make it return gas price. Disabling compatibility mode for linea_estimateGas

* Fixed config test

* Removing console log
2024-10-03 16:59:55 +02:00
Roman Vaseev
32008054bb Trying to use the updated tracer (#46)
* Tracer update
* Fixed permissions issue

---------

Co-authored-by: FlorianHuc <florian.huc@gmail.com>
2024-09-20 08:31:48 +02:00
Victorien Gauch
d843ec33c7 Fix: update get started doc for node version (#3853)
* fix: update get started doc for node version

* fix: update pnpm version in the doc

* fix: update synctx node engines version
2024-08-29 10:17:59 +02:00
jonesho
f29199e7bf 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
2024-08-22 00:42:37 +08:00
Julien Marchand
a001342170 chore: Initial commit
Co-authored-by: Franklin Delehelle <franklin.delehelle@odena.eu>
Co-authored-by: Alexandre Belling <alexandrebelling8@gmail.com>
Co-authored-by: Pedro Novais <jpvnovais@gmail.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Co-authored-by: Bradley Bown <bradbown@googlemail.com>
Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: Nikolai Golub <nikolai.golub@consensys.net>
Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
Co-authored-by: Gaurav Ahuja <gauravahuja9@gmail.com>
Co-authored-by: Azam Soleimanian <49027816+Soleimani193@users.noreply.github.com>
Co-authored-by: Andrei A <andrei.alexandru@consensys.net>
Co-authored-by: Arijit Dutta <37040536+arijitdutta67@users.noreply.github.com>
Co-authored-by: Gautam Botrel <gautam.botrel@gmail.com>
Co-authored-by: Ivo Kubjas <ivo.kubjas@consensys.net>
Co-authored-by: gusiri <dreamerty@postech.ac.kr>
Co-authored-by: FlorianHuc <florian.huc@gmail.com>
Co-authored-by: Arya Tabaie <arya.pourtabatabaie@gmail.com>
Co-authored-by: Julink <julien.fontanel@consensys.net>
Co-authored-by: Bogdan Ursu <bogdanursuoffice@gmail.com>
Co-authored-by: Jakub Trąd <jakubtrad@gmail.com>
Co-authored-by: Alessandro Sforzin <alessandro.sforzin@consensys.net>
Co-authored-by: Olivier Bégassat <olivier.begassat.cours@gmail.com>
Co-authored-by: Steve Huang <97596526+stevehuangc7s@users.noreply.github.com>
Co-authored-by: bkolad <blazejkolad@gmail.com>
Co-authored-by: fadyabuhatoum1 <139905934+fadyabuhatoum1@users.noreply.github.com>
Co-authored-by: Blas Rodriguez Irizar <rodrigblas@gmail.com>
Co-authored-by: Eduardo Andrade <eduardofandrade@gmail.com>
Co-authored-by: Ivo Kubjas <tsimmm@gmail.com>
Co-authored-by: Ludcour <ludovic.courcelas@consensys.net>
Co-authored-by: m4sterbunny <harrie.bickle@consensys.net>
Co-authored-by: Alex Panayi <145478258+alexandrospanayi@users.noreply.github.com>
Co-authored-by: Diana Borbe - ConsenSys <diana.borbe@consensys.net>
Co-authored-by: ThomasPiellard <thomas.piellard@gmail.com>
2024-07-31 18:17:20 +02:00