Commit Graph

723 Commits

Author SHA1 Message Date
The Dark Jester
e66abc64fd Feat/1076 refactor and allow overriding (#1079)
* allow tokenbridge overrides

* add L1MessageService overrides

* refactor L2 MessageService

* refactor L2 MessageService V1

* use correct modifier

* refactor LineaRollup for overriding

* allow other overrides

* reinstate general in pause on tokenbridge

* add missing NatSpec

* sample overrides

* add generic bridge and document placeholder

* documentation and folder placement

* documentation cleanup

* use imported references

* use variable pragma for inherited contracts

* reset pragmas for some

* use base abstract contracts with version overrides

* use TokenBridgeBase as abstract

* Update contracts/src/bridging/token/TokenBridgeBase.sol

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

* Update contracts/src/bridging/token/TokenBridgeBase.sol

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

* Update contracts/src/bridging/token/TokenBridgeBase.sol

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

* Update contracts/src/bridging/token/interfaces/ITokenBridge.sol

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

* Update contracts/src/messaging/l2/L2MessageServiceBase.sol

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

* Update contracts/src/messaging/l2/v1/interfaces/IL2MessageServiceV1.sol

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

* Update contracts/src/rollup/interfaces/ILineaRollup.sol

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

* Update contracts/src/rollup/LineaRollupBase.sol

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

* Update contracts/src/_testing/unit/bridging/InheritingTokenBridge.sol

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

* Update contracts/src/verifiers/PlonkVerifierDev.sol

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

* Update contracts/src/verifiers/PlonkVerifierForDataAggregation.sol

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

* Update contracts/src/verifiers/PlonkVerifierForMultiTypeDataAggregation.sol

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

* Update contracts/src/verifiers/PlonkVerifierMainnetFull.sol

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

* Update contracts/src/verifiers/PlonkVerifierSepoliaFull.sol

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

* linting

* allow submitDataAsCalldata overriding

* address missing test coverage

* adjust gap name for storage clarity

---------

Signed-off-by: The Dark Jester <thedarkjester@users.noreply.github.com>
Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
2025-06-17 09:26:24 -07:00
Fabio Di Fabio
490ad2af70 chore: switch to Consensys fork of Tuweni and update it to 2.7.0 (#1074)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-06-17 16:08:24 +02:00
Victorien Gauch
c915485fdd fix: update bridge ui next js image config (#1171) 2025-06-17 15:45:01 +02:00
Fabio Di Fabio
bc1748a6d6 Chore: Update Tracer to beta-v3.1-rc5 (#1165)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-06-17 14:18:41 +02:00
jonesho
cc0bfaf100 fix: added test fixtures dependencies for linea-contract-clients (#1166) 2025-06-17 11:14:48 +01:00
Alain Nicolas
32e49d843a chore(deps): update dependencies (#1164) 2025-06-17 11:45:13 +02:00
VolodymyrBg
e39fd7f244 chore: migrate project to Kotlin 2.0.0 and fix null-safety in tests (#1040)
* chore: update kotlin-gradle-plugin to 2.0.0

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* fix: add null-safety (!!) for micrometer gauge/counter/timer in tests for Kotlin 2.0

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* chore: update kotlin-reflect dependency to 2.0.0 in besu-plugin

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* chore: add kotlin 2.0.0 version to version catalog

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* chore: update kotlin dependencies and plugins to 2.0.0 in testing-tools

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* fix: add null-safety (!!) for micrometer gauge/counter/timer in tests for Kotlin 2.0

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update ProverClientFactoryTest.kt

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update build.gradle

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update build.gradle

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update libs.versions.toml

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update libs.versions.toml

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update MicrometerMetricsFacadeTest.kt

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update MicrometerMetricsFacadeTest.kt

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update build.gradle

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update build.gradle

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update build.gradle

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update build.gradle

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update build.gradle

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Create gradle.properties

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update libs.versions.toml

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Delete buildSrc/gradle.properties

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* Update gradle.properties

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>

* feat: add gradle.properties for buildSrc

* feat: upgrade to gradle 8.12.1 and log4j to 2.24.3 and fixed missing test fixture dependencies

* feat: update kotlinx-serialization-json to 1.8.1

---------

Signed-off-by: VolodymyrBg <aqdrgg19@gmail.com>
Co-authored-by: Jones Ho <jones.ho@consensys.net>
Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
2025-06-17 16:50:53 +08:00
Fluent Crafter
1fea41b066 coordinator: adds FakeLineaRollupSmartContractClient (#1161)
* coordinator: adds FakeLineaRollupSmartContractClient

* coordinator: change @get:Synchronized notation

* coordinator: move contractVersion to constructor

* jvm-libs: fix publish job
2025-06-17 09:19:44 +01:00
Alain Nicolas
df37838b76 chore(ci): improve CodeQL analysis (#1160) 2025-06-16 17:55:31 +02:00
Alain Nicolas
2a8288f75a chore(deps): update compromised dependencies (#1157) 2025-06-13 15:18:05 +02:00
Fabio Di Fabio
cba18ed760 Feat: Sequencer fully remove uber jar distribution (#1118)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-06-13 14:36:26 +02:00
Fabio Di Fabio
2e607cc0e2 Feat: integrate ZkCounter into the Sequencer (#1101)
* Support limitless ZkCounter

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Fixes

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

* Extend ATs to cover the ZkCounter

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>

---------

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-06-13 12:05:46 +02:00
dependabot[bot]
7b77ce2a26 chore(deps): bump the npm_and_yarn group across 1 directory with 1 update (#1124)
* chore(deps): bump the npm_and_yarn group across 1 directory with 1 update

Bumps the npm_and_yarn group with 1 update in the /operations directory: [axios](https://github.com/axios/axios).


Updates `axios` from 1.8.4 to 1.9.0
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.8.4...v1.9.0)

Updates `axios` from 1.8.4 to 1.9.0
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.9.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: axios
  dependency-version: 1.9.0
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(deps): update pnpm-lock.yaml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alain Nicolas <alain.nicolas@consensys.net>
2025-06-13 11:29:43 +02:00
Fabio Di Fabio
3e185e41f9 Chore: Update Besu artifacts coordinates (#1155)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-06-13 15:18:17 +10:00
Alain Nicolas
aa9b1e2c63 fix(ci): input sanitizing on Slack pipeline (#1156) 2025-06-12 23:02:27 +02:00
Gengar
65c71965c4 feat(docs): Improve documentation for local coordinator development (#1037)
* Create local-development-guide.md

Signed-off-by: Gengar <creeptogengar@gmail.com>

* Update README.md

Signed-off-by: Gengar <creeptogengar@gmail.com>

* Update get-started.md

Signed-off-by: Gengar <creeptogengar@gmail.com>

* Update local-development-guide.md

Signed-off-by: Gengar <creeptogengar@gmail.com>

* Update docs/local-development-guide.md

Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
Signed-off-by: Gengar <creeptogengar@gmail.com>

* Update docs/local-development-guide.md

Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
Signed-off-by: Gengar <creeptogengar@gmail.com>

* Update docs/local-development-guide.md

Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
Signed-off-by: Gengar <creeptogengar@gmail.com>

* Update docs/local-development-guide.md

Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
Signed-off-by: Gengar <creeptogengar@gmail.com>

---------

Signed-off-by: Gengar <creeptogengar@gmail.com>
Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
2025-06-13 03:17:28 +08:00
Alain Nicolas
22a6771e5b fix(ops): on external Issue creation, notify Slack (#1152) 2025-06-12 16:33:22 +02:00
Fabio Di Fabio
f96f71b446 Chore: update arithmetization to beta-v3.1-rc3 (#1147)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-06-12 14:37:13 +02:00
kyzooghost
47c248e073 adjust gtm url (#1145) 2025-06-12 19:23:36 +10:00
Fluent Crafter
8461bde17e coordinator: carveout conflation app (#1138)
* coordinator: carvout conflation app

* coordinator: stop conflation app

* coordinator: fix client setup

* coordinator: fix spotless
2025-06-12 09:17:02 +01:00
Alain Nicolas
434b4ca3e6 feat(ops): notify Slack on external contribution (#1133) 2025-06-12 09:56:28 +02:00
Gaurav Ahuja
47085c2182 Fix jrereleaser errors for besu-rlp-and-mappers (#1141)
* Add description to besu-rlp-and-mappers package

* jrereleaser info logs

* default description
2025-06-11 12:58:00 -04:00
kyzooghost
2a131d775a remove usabilla, add gtm script path to csp header (#1143) 2025-06-11 23:44:04 +10:00
Fabio Di Fabio
fed397fe02 Autoset the Sequencer dev version after Tracer version (#1142)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-06-11 14:50:29 +02:00
kyzooghost
772b9d4edb Fix/linea sequencer release (#1140)
* initial changes to linea-seq plugin-release

* simplify artifact script
2025-06-11 20:40:33 +10:00
Alain Nicolas
52ee92f459 chore(bridge-ui): add a CSP header (#1134)
* chore(bridge-ui): add a CSP header

* adjust csp header

* fix devnet url

---------

Co-authored-by: kyzooghost <jeffersonzjtang@gmail.com>
2025-06-11 20:00:53 +10:00
kyzooghost
8f5e5dbad3 merge gitignores (#1137) 2025-06-11 19:24:59 +10:00
Fluent Crafter
5c874e9ff9 coordinator: fix duplicated anchoring on high frequency tick interval (#1135) 2025-06-11 09:35:50 +01:00
jonesho
0b863e2a6e feat: update trace-limits and besu images (#1129)
* feat: update trace-limits and besu images

* update prover image

* feat: update trace-limits ROM to the power of 2

* feat: update trace-limits to be at max 2147483647

---------

Co-authored-by: gusiri <dreamerty@postech.ac.kr>
2025-06-11 00:09:20 +08:00
Alain Nicolas
f15e39987e fix(bridge-ui): revert CSP header (#1130) 2025-06-10 16:11:49 +02:00
Alain Nicolas
18eb426ef7 fix(bridge-ui): local CSP header for development (#1128) 2025-06-10 19:59:31 +10:00
Fabio Di Fabio
b4d17c753f Use distribution artifact instead of uber jar for Tracer plugin (#1115)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-06-10 11:46:50 +02:00
kyzooghost
4ed4fc0b08 add unsafe eval to dev (#1127) 2025-06-10 19:31:51 +10:00
dependabot[bot]
5acbb94e99 chore(deps): bump the go_modules group across 1 directory with 3 updates (#873)
Bumps the go_modules group with 3 updates in the /prover directory: [golang.org/x/crypto](https://github.com/golang/crypto), [golang.org/x/net](https://github.com/golang/net) and [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum).


Updates `golang.org/x/crypto` from 0.31.0 to 0.35.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.35.0)

Updates `golang.org/x/net` from 0.27.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.36.0)

Updates `github.com/ethereum/go-ethereum` from 1.14.8 to 1.14.13
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.14.8...v1.14.13)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.35.0
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-version: 0.36.0
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/ethereum/go-ethereum
  dependency-version: 1.14.13
  dependency-type: direct:production
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-10 10:04:24 +02:00
Gaurav Ahuja
0ca2ad14a4 Add new timer and counter methods to metrics facade (#1097)
* Add new timer and counter methods to metrics facade

* Update unit test

* Fix flakey test

* Review comments, provider -> factory

* Remove simple timer capture

* Update future extensions

* Add tests

* Review comments and refactor DynamicTag timer capture

* fix micrometer version

* nit comments
2025-06-09 18:41:55 -04:00
jonesho
50e4933495 feat: fix batch-limits, coordinator update for local run, and L1 d… (#1123)
* mainnet: fix batch-limits, coordinator update for local run, and L1 dynamic gas pricing readme update

* fix: spotless
2025-06-10 00:51:42 +08:00
Alain Nicolas
fa82db800b chore(dependencies): update outdated dependencies (#1122) 2025-06-09 16:53:02 +02:00
Alain Nicolas
64ca051ea9 chore(operations): fix typos and format in the Readme file (#1121) 2025-06-09 16:25:45 +02:00
Victorien Gauch
81583c8d14 feat(bridge-ui): add base path config (#1095)
* fix: add base path config to the bridge ui

* fix: remove unused import

* update bridge UI ci build job

* fix: update env.template
2025-06-09 16:13:35 +02:00
Fabio Di Fabio
c44218ebcb Fix: Increase the block period for EcDataLimitsTest to avoid flackyness (#1117)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-06-09 16:11:04 +02:00
Victorien Gauch
f9358b9442 fix: bridge ui e2e tests issue (#1119) 2025-06-09 14:32:54 +02:00
Arya Tabaie
fdd84f24e5 refactor: Use new GKR API (#1064)
* use new gkr API

* fix Table pointers

* refactor: remove removed test engine option

* chore: don't initialize struct for interface assertion

* refactor: plonk-in-wizard hardcoded over U64 for now

* refactor: use new gnark-crypto stateless RSis API

* test: disable incompatible tests

* chore: go mod update to PR tip

* chore: dependency against gnark master

* chore: cherry-pick 43141fc13d

* test: cherry pick test from 407d2e25ecfc32f5ed702ab42e5b829d7cabd483

* chore: remove magic values

* chore: update go version in Docker builder to match go.mod

---------

Co-authored-by: Ivo Kubjas <ivo.kubjas@consensys.net>
2025-06-09 14:17:34 +02:00
Victorien Gauch
f31aaa814b fix: update bridge ui lifi, dynamic and viem dependencies (#1116) 2025-06-09 12:51:13 +02:00
Alain Nicolas
a3ad42a072 chore(license): update licensing (#1106)
* chore(license): update licensing

* chore(license): update licensing on Java files
2025-06-09 11:53:04 +02:00
Fluent Crafter
4e5625bdc0 coordinator: reduce unnecessary JSON-RPC requests (#1114) 2025-06-09 09:55:54 +01:00
Fabio Di Fabio
fcb4658377 Update Tracer to beta-v3.1-rc2 (#1093)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2025-06-09 10:06:35 +02:00
Fluent Crafter
194742eda8 coordinator: update inage on local stack (#1113) 2025-06-06 15:34:09 +01:00
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
40eea0d534 coordinator: delete legacy MinMineableFeesPricerServiceIntegrationTest (#1112) 2025-06-06 14:40:48 +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