759 Commits

Author SHA1 Message Date
Fluent Crafter
522bd26f59 localstack: update prover and coordinator (#993) 2025-05-13 11:18:05 +01:00
viphan007
fc5ed79ff4 feat: restructure and integrate layerswap (#953)
* feat: restructure and integrate layerswap

* fix: remove CEX page from internal nav because it is a duplicate

* fix: update layerswap widget and clean libs

* fix: wagmi connection

* chore: update color and layout

* fix: bump layerswap widget lib to version 0.1.15

* fix: fix widget width

* fix: fix ui issue on mobile

* fix: bump bridge ui version, update release notes and update dockerfile and ci

---------

Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: VGau <victorien.gauch@consensys.net>
2025-05-13 11:37:58 +02:00
viphan007
b0ea13b957 chore: update nav to sync with linea.build (#987)
Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
2025-05-13 10:40:03 +02:00
Fluent Crafter
c5563c38fa coordinator: rename anchoring and contracts modules (#975) 2025-05-13 08:50:42 +01:00
Arya Tabaie
b448d95ab0 feat: more explicit "dictionary not found" error (#985) 2025-05-13 06:11:04 +02:00
Fluent Crafter
255b3ac670 coordinator: update image in local stack (#977)
* coordinator: update image in local stack

* coordinator: move hardcoded version to libs versions

* coordinator: fix dependency
2025-05-09 16:43:33 +01:00
The Dark Jester
72a15de3e3 remove betaV1 tests (#905) 2025-05-09 05:25:40 -07:00
jonesho
47a9d07d4f feat: remove switch-to-linea-besu, counter-v1, conflation-v1, file-ma… (#952)
* feat: remove switch-to-linea-besu, counter-v1, conflation-v1, file-manager related configs and their reference codes in L1DependentApp

* fix: spotless

* feat: remove traces-api-facade module

* feat: remove traces-counter-v1 from coordinator config and removed TracesFileManager, TracesRpcClientV1, TraceCounterV1WatcherClient classes

* feat: removed TracesCounterV1 and update tests

* feat: removed TracingModuleV1 and traces-limits-v1 toml files

* feat: removed TracesClientV1, TracesClientV2Adapter, and revised codes accordingly

* feat: removed FileManager in CoordinatorConfig and updated test case for assertConsecutiveBlocksRange

* feat: updated l2-node-besu docker-compose configs

* feat: rename traces-node-v2 to traces-node in all places

* feat: use prover v3 compression proofs for tests

* fix: spotless
2025-05-09 19:52:46 +08:00
jonesho
5b7a84185d feat: always pushed image for manual workflow (#974) 2025-05-09 19:21:57 +08:00
jonesho
d912626ed9 feat: enforced image only pushed to dockerhub for manual release (#973) 2025-05-09 11:26:05 +01:00
The Dark Jester
1b2040fe1e [Feat] Use 9 blobs for Pectra (#944)
* use 9 blobs for Pectra

* add linting to script

* turn prague on by default

* remove non-prague configuration

* testing not-yet-prague is the reason for failure

* using pectra from genesis

* reset to 9 for testing

* lowering blobs per tick

* add missing 9s and update blobscan

* spotless

* expect 9 blobs in one tx

* Update coordinator/app/src/main/kotlin/net/consensys/zkevm/coordinator/app/config/CoordinatorConfig.kt

Co-authored-by: Julien Marchand <julien-marchand@users.noreply.github.com>
Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>

* refactor testdata folders and use 9 blob agg

* refactor function for ease of reading

* move arguments up

* rename function

* format parameters

* validate at least 1 blob exists

* more spotless

* simplify blob hash computation

---------

Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Co-authored-by: Julien Marchand <julien-marchand@users.noreply.github.com>
2025-05-09 01:47:54 -07:00
jonesho
ae596cef80 feat: add path filtering on pull requests (#972) 2025-05-09 16:34:23 +08:00
jonesho
260d0b4fab feat: add checkout in filter steps (#970) 2025-05-09 15:39:21 +08:00
jonesho
2bdd4833e4 Feat/integrate linea besu package (#900)
* initial commit

* feat: merge changes from linea-besu-package latest main

* feat: change locationn of linea-devnet workflow

* feat: add job outputs for build-and-upload-artifact

* fix: assemble-devnet path

* fix: linea-devnet.env path

* fix: linea-devnet.env path for versions.txt copy

* fix: linea-besu path for placing the package together to build the docker images

* feat: add tree command install

* feat: add tree command install

* feat: add tree command install

* feat: add tree command install

* feat: revise linea-besu-package pattern for docker image artifacts download

* fix: sed command

* fix: tracer-plugin-version job output variable name

* feat: revise echo for expected-traces-api-version-v2

* feat: build and push to dockerhub whenever e2e tests succeeded even for pull requests

* fix: right path for linea-besu-package in build-and-push-dockerhub

* feat: remove redundant build and just push image to dockerhub after e2e tests passed

* feat: add parameters for build the combined manifest

* Revert "feat: add parameters for build the combined manifest"

This reverts commit 83d315f4fec0ebb5f658a3c0a2f903b43991061c.

* Revert "feat: remove redundant build and just push image to dockerhub after e2e tests passed"

This reverts commit 7b0dcd7b75f1c86e142aca048b0616ecf71b6553.

* feat: revert to build and push after e2e tests passed

* feat: updated linea-devnet.env for latest versions

* feat: removed the use of filter commit changes

* Revert "feat: updated linea-devnet.env for latest versions"

This reverts commit 8bfeb979b9ddef92e7a7bebfacbe639adee95ef3.

* feat: revised output values

* feat: reuse besu package build test push

* fix: linea_env inputs name

* feat: refactoring out assemble actions with linea_env input

* fix: assemble name

* feat: refactoring and added mainnet and sepolia workflow

* feat: removed unnecessary files

* Revert "feat: removed unnecessary files"

This reverts commit a60d1df7df3a1b6d3f74b3b0735f8070320bc4b5.

* feat: removed unnecessary files

* feat: add besu run test in reuse-linea-besu-package-build-test-push workflow

* fix: step typo

* fix: step outputs files typo

* fix: run-test outcome check

* fix: use result instead of outcome

* feat: add mainnet linea-besu-package workflow

* feat: add filter commit changes to determine running e2e and push image

* feat: force e2e test run and push to dockerhub when triggered manually

* feat: skip filter changes if triggered manually

* fix: missing quote

* feat: add if always in build-test-push

* feat: revise release to manual workflow

* fix: move up checkout

* fix: remove cd release

* fix: cd into the correct folder linea-besu-package/linea-besu

* fix: added release_tag_prefix and correct path for plugin tar files

* fix: release permission and besu tar.gz location

* feat: temp disable sepolia and devnet, and add changelog

* feat: set git-push as false in Changelog Action

* feat: re-enable sepolia and devnet, cleanup commented lines, removed unnecessary files

* fix: latest tag condition

* feat: use env for linea_env for tags

* feat: use env for linea_env for tags

* fix: syntax error of echo append

* feat: revise release note

* feat: clean up commented codes and remove output workflow id

* feat: move besu container check script

* feat: add timestamp in the release tag

* fix: check against github event name for compile release note

* feat: publish release log for every dockerhub image push and update README

* fix: release tag issue and change log only for manual release

* feat: revise release to tag on commit

* feat: temp change on versions and add prerelease

* fix: mainnet staterecovery version

* feat: update README and detect config changes to push image

* feat: update env version file

* feat: revise README

* feat: update devnet version

* feat: update devnet version

* feat: update path matching

* feat: update to use same format of release tag across all releases

* feat: added ref name and event name in release note

* feat: added markdown highlight

* feat: fixed in-line code block

* fix: in-line code block

* fix: in-line code block

* feat: add workflow link in release note

* feat: fix workflow link in release note

* feat: fix workflow link in release note

* feat: fix workflow link in release note

* fix: markdown highlight

* feat: update commit tag for PR as last commit on branch instead of merge commit

* feat: remove env files and env workflows to achieve environment-agnostic

* feat: update versions env file for beta v2

* feat: move linea.env to versions.env and update workflow accordingly

* feat: update README.md

* feat: remove commented out if check workflow_dispatch

* feat: update README.md

* staterecovery: update version

* feat: updated input description and removed unnecessary files

* feat: make assemble action to release notes based on inputs

---------

Co-authored-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>
2025-05-09 11:47:16 +08:00
Fluent Crafter
fd514a8a06 Gradle update dependencies (#967)
* gradle: update wiremock for tests

* gradle: update vertx and other dependencies
2025-05-08 23:01:53 +01:00
Fluent Crafter
0fbb078463 staterecovery: fix ratelimit bug (#965)
* staterecovery: tmp disable test

* staterecovery: fix request rate limiter

* staterecovery: fix spotless
2025-05-08 17:47:52 +01:00
Fluent Crafter
d9dddf3f98 Staterecovery - blobscan request ratelimit (#957)
* staterecovery: decouple request retry and logging in blobscan client

* staterecovery: request limit implementation
2025-05-08 16:32:29 +01:00
Fluent Crafter
99692fedab Message anchoring v2 part7 - clean up of legacy clients (#913)
* coordinator: order MessageSentEvent.kt params for better reading

* coordinator: fix MessageSentEvent.kt serialization

* coordinator: WIP implementation of new Web3JL2MessageServiceSmartContractClient

* coordinator: use new anchoring implementation

* coordinator: use version from maven

* coordinator: minor generics tweak

* add .java-version to gitignore

* coordinator: remove old anchoring implementation

* coordinator: move Anchoring events to common interfaces packages

* coordinator: add factory method

* coordinator: use factory method

* coordinator: clean unused method

* coordinator: adapt AggregationL2StateProviderImpl to new interfaces

* coordinator: adapt ZkProofCreationCoordinatorImpl and Prover client to domain EthClient api

* coordinator: removes unused legacy contract clients

* coordinator: removes unused legacy clients

* coordinator: config error message fix

* coordinator: more cleanup of dead-code and dependencies

* coordinator: more cleanup of dead-code and dependencies

* coordinator: remove deprecated and unused classes

* coordinator: remove teku dependency from web3j extensions

* coordinator: EthApiClient segregate find/get methods

* coordinator: fix AggregationL2StateProviderImpl for 1st aggregation without smart contract deployed

* coordinator: move FakeL2MessageService to shared package

* staterecovery: sort blocks before import

* coordinator: add missing dependency

* coordinator: small code tweaks (PR feedback)

* staterecovery: lower test logs level

* staterecovery: lower test logs level

* coordinator: small code tweaks (PR feedback)
2025-05-08 16:26:58 +01:00
Arya Tabaie
3690413183 config: support new dictionary (#960)
* config: support new dictionary

* copy dict to docker
2025-05-08 03:48:06 -05:00
AlexandreBelling
11caf2818b Workaround/statesummary failed constraint (#958)
* fix(state): workaround for the failing constraint

* minor(comment): details the workaround in a comment
2025-05-08 10:26:07 +02:00
kyzooghost
ae7414d4a3 postman test script from concurrent to serial tx (#954) 2025-05-08 18:24:52 +10:00
Babken Mesropyan
570c7c75f6 Layerswap widget integration (#929)
* Add layerswap widget

* update @layerswap/widget version to 0.1.11

* fix: update network logo references from 'ethereum' to 'linea'

* update @layerswap/widget to 0.1.14

* Refactored evm wallet hook

* Renamed nav

* update the pnpm-lock.yml

* fix: lint code

---------

Co-authored-by: Aren <aren@bransfer.io>
Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: VGau <victorien.gauch@consensys.net>
2025-05-07 17:25:45 +02:00
Victorien Gauch
262a9f73ed fix: increase js memory allocation (#956) 2025-05-07 16:19:45 +02:00
The Dark Jester
f8442704f3 [Fix] Adjust deploy script because beacon is different (#955)
* fix deploy script because beacon is different

* use hre

* Update contracts/deploy/05_deploy_BridgedToken.ts

Co-authored-by: Alain Nicolas <alainncls@users.noreply.github.com>
Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>

---------

Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Co-authored-by: Alain Nicolas <alainncls@users.noreply.github.com>
2025-05-07 06:27:40 -07:00
Victorien Gauch
39844a575e fix: update estimated time for L2 to L1 usdc bridging (#947) 2025-05-06 19:09:56 +02:00
Oleg Fomenko
3bede19e49 fixed race condition in the prepareWitnesses function: before the fix, goroutine used to change numEffWitnesses but the top-level method did not wait for goroutine to complete, that caused the usage of the numEffWitnesses before it change in the other methods (#939) 2025-05-06 17:36:04 +02:00
kyzooghost
f098594d54 fix trigger for external codecov (#945) 2025-05-06 21:46:03 +10:00
kyzooghost
a6df560e8c [Fix] Codecov report for external contributor CI (#933)
* remove manual computation of COMMIT_TAG in run-smc-tests

* change github_sha computation for pr

* change codecov-external-pr

* empty

* added more comments for codecov-external-pr
2025-05-06 17:09:44 +10:00
Roman Vaseev
a84d16dce3 Tried improving the queue usage for the anchoring (#924)
* Tried improving the queue usage for the anchoring

* Removed useless log

* coordinator: message anchoring - fix test after queue refactor (#928)

* coordinator: message anchoring - fix test after small refactor ot use Deque

* Changed messagesToFetch to logsSoftLimit, changed test verifications a bit

* Changed messagesToFetch to logsSoftLimit, changed test verifications a bit

* Addressed a few more comments

---------

Co-authored-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>
2025-05-06 08:18:47 +02:00
Arya Tabaie
004d459e77 New compression dictionary and update guide (#890)
* docs: compressor dictionary update guide

* feat new dictionary

* remove unused dictionary
2025-05-05 17:28:20 -05: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
kyzooghost
19880cd8a9 [Feat] Postman Sponsorship Metrics (#902)
* added claimTxGasUsed attribute

* add test code for message mapper

* add two more table entries

* added isForSponsorship db entity change

* remove isForSponsorship

* working postman tests

* working tests for add isForSponsorship attribute

* fix positioning

* refactor MessageClaimingPersister

* remove bad comment

* added migration:create command

* generate migration docs

* added new migration for sponsorship

* typo

* passing tests for MessageMetricsService & MetricsService refactor

* remove console logs

* added subscriber code for isForSponsorship

* working e2e and local test for sponsorship messages metrics

* add comment

* added SponsorshipFeesWei and SponsorshipFeesGwei metrics

* did sponsorshipfeesubscriber

* register sponsorshipfeessubscriber

* string fixes

* remove claimtxgasused and claimtxgasprice db columns, refactor metricsservice design pattern

* SponsorshipMetricsUpdater.ts

* change isForSponsorship semantics

* remove isForSponsorship from DB

* Revert "remove isForSponsorship from DB"

This reverts commit 79f4887e3492a43443bb5dba78f66f78606241a5.

* remove isForSponsorship public function

* remove isForSponsorship label from message metric

* add getSponsoredMessagesTotal method

* added sponsorshipmetricsupdater to messageclaimingpersister

* amend base postman image for e2e test

* add promql queries in comments

* empty

* remove === true
2025-05-05 20:26:37 +10:00
Victorien Gauch
095dee1f62 fix: update l2 to L1 bridge estimated time (#935)
* fix: update l2 to L1 bridge estimated time

* fix: remove amr64 build for the bridge UI
2025-05-05 12:05:25 +02:00
Victorien Gauch
911c61b25e fix: update bridge ui lifi integrator (#934)
* fix: update bridge ui lifi integrator

* fix: workflow typo
2025-05-02 15:19:12 +02:00
Roman Vaseev
052958b7fa Removed Web3j dependency from Signer client, removed missing signer module from the project (#923) 2025-04-30 21:09:12 +02:00
Victorien Gauch
876f86a74e feat: add symbiosis as bridge provider to the lifi widget (#925) 2025-04-30 17:17:26 +02:00
kyzooghost
a5284c9980 quick e2e test fix (#927) 2025-04-30 23:56:15 +10:00
Roman Vaseev
d43b3a965c Fixing the arithmetization version conflict between the sequencer and tracer plugins (#914) 2025-04-30 15:24:16 +02:00
Fluent Crafter
f005044583 Message anchoring v2 part6 (#910)
* coordinator: order MessageSentEvent.kt params for better reading

* coordinator: fix MessageSentEvent.kt serialization

* coordinator: WIP implementation of new Web3JL2MessageServiceSmartContractClient

* coordinator: use new anchoring implementation

* coordinator: use version from maven

* coordinator: minor generics tweak

* add .java-version to gitignore

* coordinator: remove old anchoring implementation

* coordinator: move Anchoring events to common interfaces packages

* coordinator: add factory method

* coordinator: use factory method

* coordinator: clean unused method
2025-04-29 11:55:08 +01:00
Fluent Crafter
cfadda3cf9 coordinator: improve web3j request error handling and fix message anchoring Event serialization (#903)
* coordinator: improve web3j request error handling

* coordinator: order MessageSentEvent.kt params for better reading

* coordinator: fix MessageSentEvent.kt serialization

* coordinator: simplify rejectOnJsonRpcError function typing

* coordinator: tiny optimization on L1MessageSentEventsFetcher
2025-04-28 18:28:22 +01:00
kyzooghost
a272eb16a3 [Fix] Bridge-UI Docker build in CI (#906)
* try fix

* empty
2025-04-28 18:32:03 +10:00
Fluent Crafter
439cc10800 Message anchoring v2 part4 (#893)
* coordinator: adds new message anchoring app
2025-04-24 10:13:28 +01:00
kyzooghost
36fc728dd5 [Feat] Postman Sponsorship manual test script (#899)
* postman test script

* logString fixes

* Revert "logString fixes"

This reverts commit 66e15176d553abb741194be8446bf63e4defe114.
2025-04-24 18:01:27 +10:00
The Dark Jester
5d54702a63 bumping hardhat (#901) 2025-04-24 00:53:10 -07:00
Fluent Crafter
3f4f82b23a coordinator: web3j helper carve-out for code reuse (#896)
* coordinator: web3j helper carve-out for code reuse

* coordinator: web3j helper carve-out for code reuse

* coordinator: contract client package renaming

* coordinator: fix AsyncFriendlyTransactionManager#resetNonce response serialization
2025-04-23 13:24:14 +01:00
The Dark Jester
66f81e24c3 [Chore ] Small documentation tweak (#895)
* small documentation tweak

* Update contracts/README.md

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

---------

Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
2025-04-23 02:35:47 -07:00
kyzooghost
b021601c61 [Fix] Postman Sponsoring config (#892)
* change PROFIT_MARGIN to 0.01

* fix misconfig
2025-04-23 08:31:59 +10:00
Fluent Crafter
8394a7b687 Message anchoring v2 part3 (#886)
* coordinator: EthLog implements Comparable interface

* coordinator: add extension functions to Kotlin

* jvm-libs: create EthAPi and EthLogs interface carveout eth logs searcher

* jvm-libs: add Cursor tests

* jvm-libs: segregate getBlock into 2 methods with/out transaction data

* jvm-libs: small code rearrange

* jvm-libs: rename to EthLogsSearcherImpl
2025-04-22 12:16:59 +01:00
Victorien Gauch
b2990e9a3c Feat: Add metrics to postman (#871)
* feat: add metrics to postman

* fix: issue with get message to claim query

* fix: import issues

* fix: update unit tests and fix minor issues

* fix: refator metrics

* fix: update typeorm query

* fix: update postman docker config
2025-04-22 11:44:53 +02:00
kyzooghost
9a16c5e152 [Feat] Postman Sponsor (#860)
* remove isTokenCanonicalUSDC

* move logic to handleTokenClick

* add clause

* remove string for ClaimType

* remove todos

* rename for clarity

* added switch for auto_free

* replaced AUTO_PAID

* some more auto_free

* fix typo

* did free text

* comment fixes

* add test todos

* added config values to postman

* added isForSponsorship

* add isForSponsorship condition to MessageClaimingProcessor

* removed config from messageclaimingprocessor

* did tests for transactionvalidationservice

* did one messageclaimingprocessor test

* added cases to MessageClaimingProcessor test

* rm valueAndFee magic value from e2e test

* new test

* working e2e test

* test refactor

* test refactor

* new e2e test

* add new e2e case

* remove .only

* new test case

* test 2 workers for e2e

* Revert "test 2 workers for e2e"

This reverts commit 8256043df9613015e98c8b5507fcf87f3a8ccc06.

* empty

* adjust for comments 1

* empty

* adjust for comment 2
2025-04-22 19:28:53 +10:00