158 Commits

Author SHA1 Message Date
Victorien Gauch
5b09005765 Feat: add lifi and small fixes (#798)
* fix: add gitattribute rules for woff2 files

* feat: add lifi widget + fixes minor issues

* fix: remove unused packages + clean constants declaration and config

* fix: update dockerfile and github ci workflows

* fix: env variable naming issue

* fix: bridge mode alt value issue + remove button component
2025-03-24 14:28:42 +01:00
Victorien Gauch
8f75f73db2 Feat/bridge UI v2 (#776)
* feat: linea bridge ui refresh (#597)

* feat: linea bridge ui refresh

* feat: improve ui components

* chore: restore layout.tsx

* chore: update destination address modal

* chore: update bridge ui by feedback

chore: update bridge ui by feedback

* chore: add skeleton loader

* chore: update header nav

* feat: update new ui

* chore: fix skeleton

* fix: build issue

---------

Signed-off-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: VGau <victorien.gauch@consensys.net>

* feat: add dynamic

* fix: update lock file

* fix: change font size and all rem values

* feat: add currency state, amount, prices management

* feat: add fees calculation

* fix: remove react hook form and create a form store

* feat: add bridging feature

* fix: bridging issue

* fix: limit number of decimals for gas fees

* feat: add history

* fix: remove old code + remove dependencies

* fix: clean folders

* fix: manual claiming issue

* fix: remove warnings and optimize rerenders

* fix: adjust ui + fix network switching

* fix: update bridge ui dockerfile and github ci

* fix: update button text, input styling and history styling

* fix: add cctp deposit feature + cctp util functions and hooks

* feature toggle done for getTokenConfig (#780)

* fix: fees calculation issue (#781)

* [Feat] Bridge UI v2 - Transaction List with CCTPV2 transactions (#783)

* much of fetchCCTPBridgeEvents

* add getClaimTx

---------

Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>

* fix: token history issue

* fix: history issue for erc20 + add confirm address modal

* fix: claiming issue

* feat: add usdc banner

* fix: update usdc banner message

* fix: update usdc banner message

* fix: update usdc banner message

* fix: update bridge ui e2e tests ci

* fix: update min storage version

---------

Signed-off-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
Co-authored-by: viphan007 <106945122+viphan007@users.noreply.github.com>
Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
2025-03-18 11:58:12 +01:00
Alain Nicolas
7d871aff3f chore: Remove unused CI pipeline (#777)
* chore: Remove unused CI pipeline

* feat: removed all actions cache related codes in workflows

* chore: Improve comment

---------

Co-authored-by: jonesho <jones.ho@consensys.net>
2025-03-14 14:19:08 +01:00
Leo Jeong
a3972f3baa Prover: go-corset as submodule (#759)
* feat(go-corset): go-corset as submodule (#743)

* remove corset submodule

* add go-corset submodule

* use go-corst in Makefile

* use go-corset v0.9.2

* update go-corset submodule url

* fix(go-corset): typo in submodule url

* fix: use go-corset instead of corset

* add zkevm_for_old_trace.bin without 2B block gas limit constraint to test old traces

---------

Signed-off-by: Leo Jeong <dreamerty@postech.ac.kr>
2025-03-07 16:02:09 +09:00
jonesho
845ddedd5f feat: add metrics in GlobalBlobAwareConflationCalculator and move bri… (#654)
* feat: add metrics in GlobalBlobAwareConflationCalculator and move bridge logs and state root hash retrieval from execution prover client to coordinator

* fix: unit test

* feat: testing for docker cache pipeline

* feat: disabled docker cache

* feat: move encoder back to file-based prover client

* fix: compare with hex string instead of ulong for bridgelog block number

* feat: add test case for ExecutionProofRequestDtoMapper

* feat: revise ExecutionProofRequestDtoMapper test case

* feat: revise metric names and add testing for the added metrics

* feat: added metricscheck

* feat: handle zero transactions in empty blocks for avg-tx-data-size histogram metrics

* feat: resolve conflicts from latest main and fix warning on missing env vars in docker compose

* fix: unit tests

* feat: revise unit tests with fake implementation of histogram to reduce the use of mock

* feat: resuse filtered block counters
2025-02-25 18:10:36 +08:00
Pedro Novais
45a41b455d increase block gas limit as in sepolia (#720)
* increase block gas limit as in sepolia

* increase block gas limit as in sepolia

* staterecovery: update test data to match new genesis with 2B gas block

* staterecovery: update test data to match new genesis with 2B gas block

* staterecovery: reduce amount of blobs sent to L1

* staterecovery: increase l1 besu memory limit

* staterecovery: disable parallel tests in staterecovery

* staterecovery: donwgrade runner to large

* staterecovery: fix some integration tests

* staterecovery: fix integration tests
2025-02-24 14:26:15 +00:00
Victorien Gauch
e16fe6cf66 fix: update bridge ui e2e tests paths filters + remove unecessary actions in workflow (#717) 2025-02-20 11:31:41 +01:00
Victorien Gauch
eb0088a894 Fix: skip bridge UI e2e test and docker build for forked PR (#712)
* fix: skip bridge UI e2e test and docker build for forked PR

* fix: update paths filters for bridge e2e tests github workflow
2025-02-20 10:36:56 +01:00
Roman Vaseev
3a355fc582 Fixing logs collection in case of E2E tests failure on CI (#658)
* Fixing logs collection in case of E2E tests failure on CI

* Fixing duplicated || true
2025-02-05 15:37:48 +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
kyzooghost
a8cdd2870b [Fix] CI run-e2e-tests remove log artefact conflict (#607)
* run-e2e-test-besu-tracing

* revert run-e2e-tests-besu-tracing rename due to github repo setting
2025-01-30 23:48:51 +11:00
jonesho
e4256a5c59 Feat/revise GitHub docker cache images (#584)
* feat: added gauge metrics for batch, blob, aggregation size

* feat: upgrade actions/cache save and restore to 4.2.0

* feat: add secret inherit for transaction-exclusion-api

* feat: revert to include cache-docker-images job in coordinator-testing.yml

* feat: move cache-docker-images out from coordinator-testing and staterecovery-test

* feat: text changes for testing

* feat: set restore-keys as cached-images

* feat: add step to create directory for cached docker images

* feat: change cache dir from ~/docker-images to ./docker-images

* feat: change actions cache version and keys

* fix: cache-docker-images folder name

* feat: temp disable cache-docker-images

* feat: makeover with cache-docker-images and restore-cached-images

* feat: put restore-cached-images in actions folder

* feat: change runner for save cache step and revise hash

* feat: testing with diff cache path

* feat: testing with diff hash

* feat: testing with original runner

* feat: added composite action for Compute Docker Images Hash

* feat: remove action permissions and use cache restore

* Revert "feat: added gauge metrics for batch, blob, aggregation size"

This reverts commit 4b1bfc4b27f5c5ee80ed1554625600d10e771f49.

* feat: removed internal built images from cache

* feat: fix docker_images_unique command line

* feat: fix docker_images_unique command line

* feat: fix docker_images_unique command line

* feat: add name for pull-and-cache-images

* feat: update cache docker image list with those from traces-v1

* feat: move cache-docker-images to main workflow

* feat: move cache-docker-images back to testing workflow

* feat: remove leftover outputs in reuse-images-tags-and-push-workflow

* feat: bump to exact version for actions/cache

* feat: temp disable cache for docker images

* feat: add more detailed comments

* feat:remove unnecessary exception import
2025-01-28 00:53:03 +08: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
kyzooghost
eabdcad64d substitute old for new runner (#595) 2025-01-23 20:41:46 +11:00
kyzooghost
99f1338b94 [Fix] CI warnings (#590)
* update actions/cache to 4.2.0 as per deprecation warning

* checkout before setup-go in prover-testing.yml

* point setup-go to prover/go.sum

* empty commit to rerun prover test after go action cache

* fix cache hit error in prover-test workflow

* apply golang caching changes to run-smc-tests

* fix bad change to cache-docker-images
2025-01-23 18:44:42 +11:00
kyzooghost
aeac0e056f [Feat] GitHub runner upgrades to beefier runners (#579)
* beefed up runner for time-limiting steps

* up specs for e2e test runner

* update workflows with metrics in comments

* updated comments for workflows
2025-01-23 18:18:53 +11: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
39679c7cfb staterecovery: github release fix (#578)
* staterecovery: githiub release try fix
2025-01-21 09:43:44 +00:00
Pedro Novais
26d61205e7 staterecovery: add github release (#575)
* staterecovery: add github release
2025-01-20 17:59:50 +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
kyzooghost
6c8a282743 [Fix] Docker credentials in Github CI (#570)
* docker credentials optional in bridge-ui-publish

* docker credentials optional in all-tools
2025-01-20 20:41:46 +11:00
Bradley Bown
734a2fdaa6 Extend MetricsFacade with createSimpleTimer() factory (#265)
* Extend MetricsFacade with createSimpleTimer() factory

* Rename Timer interface to TimerCapture

* Use createSimpleTimer to create SimpleTimerCaptures throughout codebase

* Fix test

* Pass metrics facade

* feat: add createDynamicTagTimer and update MetricsFacade codes

* feat: update test cases in MicrometerMetricsFacadeTest

* feat: update JsonRpcMessageProcessor to not for computing metrics parsing error

* feat: add timer metric for calculating shnarf

* feat: add metric for block compression ratio and blob utilization ratio

* feat: revert back to internal val goNativeBlobCompressor

* fix: spotless issue

* fix: JsonRpcMessageProcessor constructor call

* fix: VertxHttpJsonRpcClientFactory constructor call

* feat: added the option for ratio metric in createHistogram

* feat: remove no-daemon option in transaction-exclusion-api build

* feat: revised metrics handling in JsonRpcMessageProcessor

* feat: changed tag value on error

* feat: return error cases in handleMessage as succeededFuture instead of failedFuture

* fix: use MicrometerMetricsFacade in VertxHttpJsonRpcClientFactory

---------

Co-authored-by: jonesho <jones.ho@consensys.net>
2025-01-20 17:19:20 +08:00
kyzooghost
006bcbb4aa [Fix] remove SELF_GITHUB_SSH_KEY (#561)
* remove SELF_GITHUB_SSH_KEY

* add back submodule:true
2025-01-17 20:37:27 +11:00
kyzooghost
4f13fb5a89 removed _GITHUB_TOKEN_RELEASE_ACCESS from pull_request workflows (#563) 2025-01-17 20:16:59 +11:00
kyzooghost
26ba22ead0 [Fix] Make codecov action optional in workflows (#559)
* make codecov action optional in workflows

* test env vs secret

* added CODECOV_TOKEN to optional

* fix typo
2025-01-16 23:01:45 +11:00
AlexandreBelling
522d9f18ef chores(ci): deactivate the slack notification for prover-ci (#546)
* chores(ci): deactivate the slack notification for prover-ci

* Update .github/workflows/prover-testing.yml

---------

Signed-off-by: AlexandreBelling <alexandrebelling8@gmail.com>
Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
2025-01-15 09:48:45 +01:00
kyzooghost
94f461a70d [Fix] Remove dead code for finalized-tag-updater-github-release.yml automatic trigger (#506)
* removed commented out code + automatic trigger for finalized-tag-updated-github-release

* removed dead references to finalized-tag-updater in main.yml
2025-01-09 17:55:40 +11:00
Pedro Novais
6daac298e4 coordinator: update besu dependency (#475)
* coordinator: update besu dependency and fix coordinator integration tests with retries
2025-01-06 16:04:41 +00:00
kyzooghost
ea79b2d2be [Feat] Automate smart contract docgen and PR branch creation into Linea docs repo (#446)
* did poc for autogenerated *.mdx into docs.linea.build

* changed sparseMerkleProof

* first draft of contracts-docgen

* fix typos

* try different github token

* cleanup

* created create-docs-website-pr-branch

* cleanup for doc website repo scripts

* created first docs-repo pr using create-docs-website-pr-branch.sh

* improve comments

* added bash script segment to change filename to lowercase

* fix *.mdx headers to make more docusarus friendly

* update scripts for updated docs pr

* added comments to updateSidebar.js

* fix scripts after local test

* added installation checks

* Update contracts/docs/scripts/create-docs-website-pr-branch.sh

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

---------

Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
2024-12-20 20:45:36 +11:00
Pedro Novais
829630b0a1 Coordinator: replace teku ExecutionPlayloadV1 by Domain Block class - fix block encoding (#406)
* coordinator: replace Teku ExecutionPayloadV1.kt by our own Domain Block
* update GHA runners and CI fixes
---------
Signed-off-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
2024-12-16 17:04:38 +00:00
AlexandreBelling
89c048bd29 Prover: fix empty to address decoding (#403)
* test and fix the encoding-decoding of transaction with an empty to

* fix typo

* readd the explicit test case

* fix: move decompressBlob out of the "no-CI" build tag

* fix tag confusion

* Fix prover libs CI release  (#450)

* prover: try to fix native libs arm build

---------

Signed-off-by: AlexandreBelling <alexandrebelling8@gmail.com>
Co-authored-by: Arya Tabaie <arya.pourtabatabaie@gmail.com>
Co-authored-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>
2024-12-16 13:31:53 +01:00
Roman Vaseev
f254667b0e Implemented publishing of Linea JVM libs by Gradle (#404)
* Implemented publishing of linea stuff

* Changed maven release to accept any gradle package id
2024-12-10 18:53:57 +01:00
Victorien Gauch
f58c12a455 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
2024-12-09 12:12:45 +01:00
kyzooghost
5cf5c52337 [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>
2024-12-06 20:33:59 +11:00
Victorien Gauch
c6fee0c265 fix: update github actions versions (#398) 2024-12-05 14:41:33 +01:00
Victorien Gauch
93c75ad9f5 fix: bump code ql github action version to v3 (#396) 2024-12-04 18:20:43 +01:00
Victorien Gauch
741afeee3b Fix: remove github actions warnings (#394)
* fix: remove github actions warnings
2024-12-04 17:30:56 +01:00
Bradley Bown
bca27b112f Use multi-stage builds to unzip and copy jars (#118)
* Use multi-stage builds to unzip and copy jars

* Change base docker iamge

* Fix mkdir command

* Revert mkdir concat

* Remove apt-get calls

* Revert local COPY change

* Use apk to install packages

* Revert to debian based image

* Fix copy location

* Merge mkdir commands

* Amended directories

* Remove libs based on platform

* Use uname -m to get current architecture

* Switch if statement to case statement to uname call

* Fix zip copy

* Add WORKDIR to improve readability, move removal of darwin dir out of case switches

* feat: change builder image to a more secure one

* feat: change builder and final image to eclipse-temurin 21-alpine

* feat: removed unnecessary slash

* feat: update dockerfile to avoid hardcoded version for jar files

* feat: allow more flexible name matching for jar files

* feat: use installDist in GHA job to avoid unzip

* feat: use installDist in GHA job to avoid unzip in transaction-exclusion-api

* feat: update manual image build for coordinator and tx-exclusion-api

* feat: revert setting ssl and gssEncMode in tx-exclusion-api integration test

---------

Co-authored-by: jonesho <jones.ho@consensys.net>
Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
2024-12-03 02:43:24 +08:00
Victorien Gauch
90c4c08f1b Update PNPM version (#373) 2024-12-02 15:37:33 +01:00
kyzooghost
8a20b27f3d [Feat] - Foundry config, supports London EVM_VERSION for L2 Linea contracts (#361)
* forge build working

* poc done

* commit

* did lint command

* remove caret from hardhat-foundry

* add foundry installation to run-smc-tests.yml

* update run-smc-tests.yml
2024-11-29 07:09:07 -08:00
The Dark Jester
7f95ae9be2 ping codeowners for entire contracts folder (#348) 2024-11-28 05:36:58 -08:00
Victorien Gauch
86616e6136 fix: update testing workflow to always succeed in case all jobs are skipped (#330) 2024-11-22 14:46:29 +01:00
Victorien Gauch
d4f3f271af Fix(328): ci testing workflow issue when no tests are run (#329)
* fix: ci testing workflow issue when no tests are run

* feat: set ssl as false and gssEncMode as disable in tx-exclusion-api integration test

* fix: remove unnecessary conditions in testing workflow

---------

Co-authored-by: jonesho <jones.ho@consensys.net>
2024-11-22 11:31:22 +00:00
Victorien Gauch
b72d23e567 Fix: jest e2e tests stuck in CI (#315)
* fix: decrease machine to ubuntu 20

* fix: add high gas price in global setup txs
2024-11-21 13:17:06 +01:00
Victorien Gauch
f462a82333 fix: issue with checkout job for external branches (#284) 2024-11-09 06:14:38 +01: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
Bradley Bown
aa4e2e63f6 Add 15m timeout to coordinator integration tests (#264) 2024-11-06 11:52:07 +08:00
Julien Marchand
060f8e3cf5 chore(GITHUB): fix epic.md extension (#280)
Signed-off-by: Julien Marchand <julien-marchand@users.noreply.github.com>
2024-11-04 17:54:56 +01:00
jonesho
5dc02f88d2 feat: separate tx exclusion api integration tests from coordinator (#263)
* feat: separate tx exclusion api integration tests from coordinator

* feat: add integrationTestAllNeeded task for coordinator:app and transaction-exclusion-api:app

* feat: integration test all needed gradle task description update
2024-10-31 02:29:20 +08:00