Commit Graph

429 Commits

Author SHA1 Message Date
Victorien Gauch
317ef4f06e fix: improve postman logging and error parsing (#622)
* fix: improve postman logging and error parsing

* fix: remove unnecessary casting
2025-01-29 17:12:01 +01:00
Pedro Novais
c819e319cc AsyncRetryerTest: fix flacky test (#620) 2025-01-29 14:11:24 +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
Victorien Gauch
d9353756ee Fix: update contracts folder structure (#420)
* fix: update contracts folder structure

* fix: update contracts documentation

* fix: regenerate docs

* fix: remove .md file in solidity docs folder

* fix: rename Utils contract + update autoupdate script

* fix: update solidity doc

* fix: clean test contracts folder structure

* fix: clean test folder structure

* fix: update autoupdate.sh script

* fix: update solcover file

* fix: remove static nonce in LineaRollup test

* Merge branch 'main' into fix/399-update-contracts-folder-structure

* remove files in merge conflict

* fix prover reference for Mimc.sol

* fix: update docs

* fix: remove unused files

* point to correct folders in readmes

---------

Co-authored-by: thedarkjester <grant.southey@consensys.net>
2025-01-29 10:32:31 +01: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
Pedro Novais
62a2594984 L1 client config improv (#601)
* localstack: improve l1 configs
2025-01-27 10:00:59 +00:00
jonesho
869bcdcbb4 3128 export metrics for conflation blob and aggregation size (#571)
* feat: added gauge metrics for batch, blob, aggregation size

* feat: use histogram instead of gauge for aggregation, blob, batch size metrics

* fix: unit test
2025-01-24 17:37:33 +08:00
Victorien Gauch
0f62ddcf98 Feat/129 enable auto deposit erc20 bridge UI (#574)
* feat: enable auto deposit for erc20

* feat: enable erc20 auto deposit in bridge ui

* fix: refactor usePostmanFee hook

* fix: remove unused conditions in useExecutionFee hook

* fix: typo issue
2025-01-23 13:48:21 +01: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
jonesho
728487be8e feat: update prover-v3 image tag to the one with latest prover change (#592) 2025-01-22 21:22:12 +08:00
Lakshminarayanan Nandakumar
bb838db60e set aggregation prover priority to low (#591) 2025-01-22 14:17:59 +01:00
Pedro Novais
1009213171 Local stack update (#588)
* staterecovery: udpate besu package devnet

* staterecovery: udate besu package

* staterecovery: udate teku

* staterecovery: update local images

* staterecovery: update shomei front end
2025-01-22 11:41:00 +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
Arya Tabaie
543aedd23f Feat/multi dict prover (#553)
* refactor: disallow explicit dictionaries for anything other than v0 decompression setup

* refactor: pass around dictionary stores instead of individual dictionaries

* feat: add new dictionary

---------

Co-authored-by: Arya Tabaie <15056835+Tabaie@users.noreply.github.com>
2025-01-21 09:38:45 -06:00
Pedro Novais
39679c7cfb staterecovery: github release fix (#578)
* staterecovery: githiub release try fix
2025-01-21 09:43:44 +00:00
Pedro Novais
1f8647e0fb jvm-libs/jsonrpc fix flacky test (#577) 2025-01-20 19:01:29 +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
Bogdan Ursu
db311708a4 Prover/feat/Adding field extension support to Smartvectors (#569)
* field extension support for the maths package
2025-01-17 17:37:39 +01:00
jonesho
3c392be434 feat: excluded besu-available module groups from fat jar of finalized… (#529)
* feat: excluded besu-available module groups from fat jar of finalized-tag-updater

* feat: update the groupsToIncludeInShadow
2025-01-17 23:26:47 +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
AlexandreBelling
aeb86855ae Prover: connect the codehash and the statesummary module (#463)
* clean(prover): more hilo into zkevm/prover/common

* feat(codehash): implements the module connecting the codehash and the statesummary

* clean(ss): apply the changes for the statesummary

* feat(rand): moves everything to use rand/v2

* feat(csv): adds WriteExplicit

* feat(codehash): implements the consistency module

* fix(rng): Int31n -> Int32N

* fix(lint): pass the use of test-rng

* clean: clean one of the comment to remove debugging data

* fix(test): fix conversion test and also simplify the use of rng

* feat(codehash): enable the codehash consistency module

* reconnect the execution data hasher with the public input

* revert the rand/v2 for the testcase-gen of the contracts
2025-01-16 22:31:15 +01:00
Pedro Novais
be18423769 Staterecover part5 (#565)
* staterecovery: fix testing tx sender helper

* staterecovery: improve FakeExecutionLayerClient

* staterecovery: improve LogsSearcher to be resilient to query failures

* staterecovery: fix scenario where headblock greater lastFinalizedBlock

* staterecovery: simplify RecoveryModeManager

* staterecovery: improve test code reuse and reliability

* staterecovery: improve logsSearcher tests

* Apply suggestions from code review

Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
Signed-off-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>

* staterecovery: fix boolean check

---------

Signed-off-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>
Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
2025-01-16 19:23:59 +00:00
Ivo Kubjas
05d3ee2875 fix(ecpair): ensure last non-trivial input pair goes to ML+finalexp circuit (#524)
* fix: set inputresult only once

* fix: copy only actual inputs going to pairing (no trivial pairs)

* fix: non-exclusive G2 membership or pairing check

* fix: enable index consistency check when interleaved G2 membership

We may interleave in the same rows the G2 membership and pairing check
inputs. Currently when we have interleaved then we disable the index
consisitency check.

* fix: do not project pair IDs and total pairings

* fix: add constraint to check totalpairs correctness

* test: add IS_RESULT column to test cases and uniform reformat

* feat: allow outputting CSV in hex

* feat: add utility method to write the module

* test: check also IS_RESULT in test cases

* test: add test case modules

* test: add regression test case

* feat: add testdata generator for ecpair

* feat: add tests for manual generation of EC edge cases

* fix: accumulator consistency assignment in case of one valid point

* docs: describe assignment

* fix: indexing when non-sequential valid points

* test: run tests on generated data

* feat: generate all cases for 1-5 input pairs

* test: skip long tests

* fix: test imports

* enable ecpair

* perf: parallelize testcase testing

---------

Co-authored-by: gusiri <dreamerty@postech.ac.kr>
2025-01-16 13:24:04 +01: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
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
jonesho
d29cdd4030 feat: added async retryer for currentL2BlockNumber in case the contra… (#425)
* feat: added async retryer for currentL2BlockNumber in case the contract variable is not initialized yet

* feat: revise the use of async retry

* feat: use LineaRollupSmartContractClientReadOnly client for last finalized block

* feat: use LineaRollupSmartContractClientReadOnly client in FinalizationUpdatePoller

* feat: avoid making contract version call during Web3JLineaRollupSmartContractClientReadOnly class init
2025-01-15 19:13:08 +08:00
Pedro Novais
4cb0c60fe0 coordinator: decouple configs test from real configs (#552)
* coordinator: decouple configs test from real configs
2025-01-15 10:18:04 +00: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
Pedro Novais
27cc9eb090 Coordinator fix logging (#551)
* coordinator: log retried errors as info/debug instead of error
2025-01-15 09:37:48 +01:00
Pedro Novais
1ad6131079 coordinator: update traces limits-v2 (#548) 2025-01-14 16:39:02 +00:00
Pedro Novais
6e157404b6 prover: Dockerfile remove legacy/unused data/work folder (#537) 2025-01-13 14:21:27 +00:00
The Dark Jester
b1352b5881 add Diligence audit link (#531) 2025-01-10 03:36:53 -08:00
Alain Nicolas
06294fda72 feat(bridge-ui): Simplify the wallet connection modal (#509)
* feat(bridge-ui): Simplify the wallet connection modal

* Fix copy on metadata

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

---------

Signed-off-by: Alain Nicolas <alainncls@users.noreply.github.com>
Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
2025-01-09 18:37:34 +01:00
The Dark Jester
50d45164f7 [Chore] - Update Cyfrin audit link (#519)
* update Cyfrin audit link

* remove incorrect setting
2025-01-09 04:14:45 -08:00
kyzooghost
5e7e7e1cb9 hacky fix to check for forge install on pnpm run solidity:docgen (#501) 2025-01-09 22:07:24 +11:00
Nadeem Bhati
469bb8b925 Add support for foundry compilation and testing (#277)
* step 1/2

* fix

* setup 2/2, foundry test added

* readme added

* fix gitmodules

* fix gitmodule

* fix git module

* :(

* forge install: forge-std

v1.9.4

* readme fix
2025-01-09 02:38:55 -08:00
Roman Vaseev
59e7cf7fc5 Updating geth tracing sequencer (#516) 2025-01-09 11:09:50 +01:00
The Dark Jester
a5dffa3339 [Chore] - Add beta v1 proof verification test (#508)
* feat: reactivate the ecadd module

* feat: add the new contract (in prover folder)

* chores: move the plonk verifier in the contract folder

* add betaV1 sepolia proof verification test

* move functions closer to use

---------

Co-authored-by: AlexandreBelling <alexandrebelling8@gmail.com>
2025-01-09 01:17:47 -08:00
kyzooghost
3cf80e1d2c remove empty *.mdx page for storagefiller39 (#512) 2025-01-09 20:14:56 +11:00
kyzooghost
10ca81f6e6 [Fix] stucture typo (#502)
* fix structure typo

* fix structure typo
2025-01-09 20:12:15 +11: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
AlexandreBelling
35a8ded680 bench(sis): adds a benchmark for the ringsis hash (#511)
* bench(sis): adds a benchmark for the ringsis hash
2025-01-08 23:17:09 +01:00
Victorien Gauch
b194b90bb6 Fix: add retry mechanism in e2e account manager (#497)
* fix: add retry mechanism in e2e account manager

* Update e2e/src/config/tests-config/accounts/account-manager.ts

Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Signed-off-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>

* Update e2e/src/config/tests-config/accounts/account-manager.ts

Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Signed-off-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>

* fix: update account manager logs

---------

Signed-off-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: The Dark Jester <thedarkjester@users.noreply.github.com>
2025-01-08 18:25:18 +01:00