* 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
* 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
* 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
* 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
* 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>
* 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>
* 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>
* 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>
* 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
* 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>
* 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