* add consideration to templates
* use emoji for better visibility
* fix: always run CodeQL
---------
Co-authored-by: Alain Nicolas <alain.nicolas@consensys.net>
* feat: add script for assemble linea besu packages and makefile
* feat: update README.md for make commands to build linea-besu-package locally
* feat: revise the make commands for build and run e2e tests
* feat: add timeout for shomei frontend e2e test
* feat: revise README
* feat: update e2e test timeout and reduce log
* feat: update e2e test timeout
* feat: revise Makefile for compatible sed -i command on MacOS and Linux
* feat: update e2e test timeout
* feat: added log info for e2e test
* feat: revise the e2e test to avoid timeout
* feat: revise the e2e test to avoid timeout
* fix: overflow for modexp arg (#489)
* fix: overflow for modexp arg
* fix: can be longer than 32 Bytes
* Log ZkTracer counters for every produced block (#485)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* fix(romLex): wrong stack arg for extcodecopy address (#498)
* fix: lookup txndata <-> wcp (#488)
Fixes#486
Signed-off-by: franklin.delehelle@consensys.net
* fix: continuous tracing plugin start check (#500)
Fixes#499
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: franklin.delehelle@consensys.net
* perf: cache tx-specific line counter (#497)
Signed-off-by: franklin.delehelle@consensys.net
* style: update name of prec limits to avoid confusion with old geth name (#506)
* style: update name of prec limits to avoid confusion with old geth name
* style: update module name
* style: update name in .toml files
* style: remove NB
* [MINOR] Add javadoc (#507)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* refactor: group RLPs modules, use retro-compatible module keys (#508)
* feat: enable TxnData constraints (#502)
Co-authored-by: Franklin Delehelle <franklin.delehelle@odena.eu>
* feat: introduce a trivial assembler in `BytecodeCompiler` (#512)
* ci: use Corset releases (#518)
Directly download corset binary release instead of building it from scratch every time.
This should spare 3-5 minutes per test CI cycle.
* Perf/issue 520/update wcp module (#521)
* perf: new spec
* feat: constraint update
* fix: debug
* style: spotless
* fix: constraint
* fix: constraint
* fix: constraint
* fix: debug
* perf: smart slt and sgt
* docs: add reminder for value of slt and sgt + constraints update
* fix: maxCT must take acc5 and acc6 as arg
* style: rename + move stuff to tracing time
* docs(copyright): fix copyright (#525)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* perf: adaptive line count for ADD (#522)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Franklin Delehelle <franklin.delehelle@odena.eu>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* perf: generalize line count caching (#527)
Signed-off-by: franklin.delehelle@consensys.net
* feat: implement EUC (#526)
* feat: wip
* feat(euc): module implem
* refactor: convert to new module system
* fix: constraints and .toml
* style: spotless
* fix: ras
* fix: toml
* feat: constraints
---------
Co-authored-by: Franklin Delehelle <franklin.delehelle@odena.eu>
* fix: invalid SStore gas computation (#532)
* Upgrade Linea Besu to 24.1.0-SNAPSHOT (#535)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add profitable transaction selector (#530)
* Add profitable transaction selector
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set default min margin to 1.0
Co-authored-by: Julien Marchand <julien-marchand@users.noreply.github.com>
* Pass TransactionSelectionContext to all methods of plugin selector
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* log each tx margin at trace level
* Update arithmetization/src/main/java/net/consensys/linea/sequencer/txselection/selectors/ProfitableTransactionSelector.java
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
* Add a test for verifying that a prev unprofitable tx is selected after a gas price bump
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Enforce validation on tx selection parameters that must be positive
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Acceptance test for profitable tx selector
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Julien Marchand <julien-marchand@users.noreply.github.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
* fix: the hub should trace its transactions in the correct order (#538)
* Fix CHANGELOG (#537)
* Bump Linea Besu to 24.1.1-SNAPSHOT (#539)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* refactor: add @EqualsAndHashCode annotations and remove corresponding methods (#541)
Resolves: #540
Signed-off-by: Tsvetan Dimitrov <tsvetan.dimitrov@consensys.net>
* fix: semantics of LinkedList (#544)
* Update CHANGELOG (#545)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* fix: stacked set multiple insertions in a single transaction (#548)
* Update CHANGELOG from v0.1.4-test12 (#550)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* fix: `StackedSet` semantics (#551)
Co-authored-by: FlorianHuc <florian.huc@gmail.com>
* Update changelog to v0.1.4-test13 (#552)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* build: update Corset to 9.3.0 (#554)
* Fix log of line counts in case of block limit reached + minor changes (#555)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add the possibility to adjust the tx size in the profitability formula (#562)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Upgrade Linea Besu to 24.1.2-SNAPSHOT (#560)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* tests: drop huge random tests (#563)
Signed-off-by: franklin.delehelle@consensys.net
* feat(modexp-data): implement MODEXP_DATA module (#547)
Resolves: #288
Signed-off-by: Tsvetan Dimitrov <tsvetan.dimitrov@consensys.net>
* feat: mechanics to capture conflations & replay them as test cases (#561)
Signed-off-by: franklin.delehelle@consensys.net
* perf(EUC): one less column (#570)
* perf(EUC): one less column
* feat(constraint): update
* docs: Add basic plugins doc (#509)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Check upfront profitability + Unprofitable txs cache and retry limit (#565)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Avoid reprocessing txs that go over line count limit (#571)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG (#577)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Linea estimate gas endpoint (#585)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>
* Fix for NoSuchElementException when not passing the gasPrice param (#587)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for 0.1.4-test18-RC2 (#588)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Use compressed tx size also when selecting txs from block creation (#590)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for release 0.1.4-test18-RC3 (#594)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* fix: check that spilling and limits file contain all counted modules (#592)
Fixes#511
Signed-off-by: franklin.delehelle@consensys.net
* Avoid returing an estimated priority fee that is less than the min gas price (#598)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Get L2L1 settings from CLI options (#591)
Signed-off-by franklin.delehelle@consensys.net
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* feat: add a replay capture script (#600)
Signed-off-by franklin.delehelle@consensys.net
* Update CHANGELOG for v0.1.4-test18 (#599)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Upgrade Linea-Besu to 24.2.0-SNAPSHOT (#602)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* move compress native into plugin repo (#604)
* move compress native into plugin repo
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
* spotless and add a missing header
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
* some cleanup
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
---------
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
* Add compression (#605)
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
* make use of compression in profitability calculation
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update for the new bad block manager (#607)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for v0.1.4-test20 (#610)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* fix: capture SSTORE-touched storage slots for correct gas computations (#606)
* build: make the build script portable, explicit dependency on Go & GCC, test libcompress build (#621)
Signed-off-by franklin.delehelle@consensys.net
* Update after the refactor of transaction selection service (#626)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Use the right classloader to load the native library (#628)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for v0.1.4-test21 (#630)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* linea_estimateGas compatibility switch (#634)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
* Refactor profitability options and calculator + gas price adjustment option (#638)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update code to latest plugin API (#640)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Txpool profitability check (#603)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix price adjustment in profitability formula (#642)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for v0.1.4-test22 (#641)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Build native lib for Windows (#645)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* linea_estimateGas compatibility mode multiplier (#646)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for v0.1.4-test23 (#647)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* On Windows also build Linux native lib so it can run on WSL (#651)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Improve linea_estimateGas error response (#650)
* Improve linea_estimateGas error response
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update arithmetization/src/main/java/net/consensys/linea/rpc/linea/LineaEstimateGas.java
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
* Update CHANGELOG for v0.1.4-test24 (#652)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Rename to TransactionPoolValidator to make it clear it only apply to txpool (#654)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* feature: disable arithmetization tests (#4)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Extend Module Line Count Verification to `linea_estimateGas` RPC Method (#1)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* In the txpool, reject a tx if its simulation fails (#2)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Update Linea Besu (#5)
* feature: Add module limit verification to linea_estimateGas
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* feature: Add module limit verification to linea_estimateGas
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* feature: Add module limit verification to linea_estimateGas
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* feature: Add module limit verification to linea_estimateGas
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* feature: Add module limit verification to linea_estimateGas
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* feature: PR suggestion
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* feature: Add unit test
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* feature: Fix logging
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Reject a tx, sent via eth_sendRawTransaction, if its simulation fails
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* remove unused method
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Apply suggestions from code review
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix test flakyness
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update Linea Besu version
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Build native lib for arm64 (#8)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Improve ZkTracer initialization time (#11)
Improve ZkTracer initialization time by doing only once Opcodes and spilling loading from disk resources
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
* Add more log to txpool simulation validator (#12)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for 0.1.4-test25 and 0.1.4-test26 (#9)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Calculate line count only once in linea_estimateGas (#13)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for v0.1.4-test27 release (#14)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Extra data based pricing (#10)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Remove check that minGasPrice need to decrease to retry unprofitable tx (#17)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for v0.1.4-test28 release (#16)
* Update CHANGELOG for v0.1.4-test27 release
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for v0.1.4-test28 release
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* update CHANGELOG
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update Java, Gradle and dependencies (#20)
* Update Gradle and dependencies
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Upgrade to Java 21
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update README.md (#21)
Fixed typos in the documentation:
- Changed "relating" to "related" for correct usage.
- Corrected "build" to "built" for proper past tense.
- Changed "than" to "then" for proper conditional usage.
* Update besu to 24.6-develop-711dff7 (#18)
* Update besu to 24.6-develop-711dff7
* update overridden traceEndTransaction methods
* Remove arthimization code and include it as dependency (#15)
Resolves: #3
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Tsvetan Dimitrov <tsvetan.dimitrov@consensys.net>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Update Linea Besu dependecy to 24.6-develop-752aeff (#22)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Implement linea_setExtraData (#19)
* Implement linea_setExtraData
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix and test
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Apply suggestions from code review
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Apply suggestions from code review
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set plugin-linea-tx-pool-simulation-check-api-enabled=false by default (#23)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update documentation (#24)
* Update documentation
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* minor edits
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
* Re-add dependencies to the jar and change duplication strategy (#28)
Re-add dependencies to the jar and change duplication strategy
* Align linea_estimateGas behavior to geth (#25)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update arithmetizationVersion to 0.1.5-rc3 (#29)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Remove leftover of the repo split (#27)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for Release v0.1.5-test1 and fix artifact publishing (#32)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Include baseFee in the calculation of a profitable tx (#30)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* update arithmetization to 0.1.5-rc4 (#36)
* update arithmetization to 1.5.0-rc4
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* update module limits files
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* ordering and add missing modules
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* added missing modules blake_modexp_data and shakira_data and gas
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* rename rlp txnrcpt
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* Update module limit files and fix test
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* fix: patch inconsistencies in module line count limits (#41)
Signed-off-by: Tsvetan Dimitrov <tsvetan.dimitrov@consensys.net>
* fix typos (#40)
* s/ConsenSys/Consensys (#37)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* Improve error log when setting pricing conf via extra data fails (#44)
* Improve error log when setting pricing conf via extra data fails
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Documentation using javadoc (#33)
* Documentation using javadoc
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Apply suggestions from code review
* Update Javadoc
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix and enable unit tests in CI (#45)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Remove the check that profitable priority fee must be greater than minGasPrice (#49)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Option to disable setting minGasPrice via extra data (#50)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* feat: bump linea-arithmetization version to 0.2.0-rc4 (#47)
* feat: bump linea-arithmetization version to 0.2.0-rc1
* Set arithmetizationVersion=0.2.0-rc2
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Avoid including sequencer twice when running acceptance tests
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Use shared options from arithmization and separate private options
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set arithmetizationVersion=0.2.0-rc3
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set a value for plugin-linea-conflated-trace-generation-traces-output-path
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update to the latest version of the shared config
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set arithmetizationVersion=0.2.0-rc4
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for release 0.2.0-rc4.1 (#52)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set version to 0.2.0-SNAPSHOT (#53)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Change artithmetization dependency version to 0.2.0-rc5 (#55)
Change artithmetization dependency version to 0.2.0-rc5
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
* Set besuVersion=24.7-develop-f812936 and arithmetizationVersion=0.3.0-rc1 (#54)
* Set besuVersion=24.7-develop-f812936
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set arithmetizationVersion=0.3.0-rc1
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix `linea_estimateGas` when called with `gasPrice` set (#58)
* Fix `linea_estimateGas` when called with `gasPrice` set
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add test
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update CHANGELOG for v0.3.0-rc1.1 (#59)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* docs:extends userdocs (#57)
* docs:extends userdocs
* docs:extends userdocs
* Update README.md
repo name change & update of descriptions
* Update README.md
updated description
* Update README.md
updated description
* Update README.md
adds verbose description
* Update README.md
moving this repo to top
* Update README.md
moves this repo to top
* Update README.md
---------
Co-authored-by: Julien Marchand <julien-marchand@users.noreply.github.com>
* docs: retires zk-EVM (#61)
* Update linea besu version 24.7 develop c0029e6 (#62)
* Set besuVersion=24.7-develop-f812936
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* set besuVersion=24.7-develop-5622666
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update Linea-Besu to version 24.7-develop-c0029e6
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Workaround fof DNSJava bug
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Gradle cleanup and simplification (#63)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Gradle: replace license check plugin (#65)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Improve linea_estimateGas error handling (#48)
* improve linea-estimateGas error handling
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
---------
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
* Fix: postpone registration of plugin validator factory when blockchain service is fully inited (#67)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update Linea-Besu and Tracer dependencies (#70)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set besuVersion=24.9-delivery32 and arithmetizationVersion=0.6.0-rc1 (#71)
* Set besuVersion=24.8-develop-915fcb01 and arithmetizationVersion=0.5.3-beta
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Make it easier to reproduce and debug the failing ATs
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* fix ATs
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set besuVersion=24.9-delivery32 and arithmetizationVersion=0.6.0-rc1
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Align dependencies with Besu
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Split rpc methods into different plugins (#73)
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
* Update CHANGELOG for release 0.6.0-rc1.1 (#74)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* feat: Report discarded transactions to external service (#69)
CLI option: --plugin-linea-rejected-tx-endpoint=<URI>
This feature enables reporting of rejected transactions to an external server via JSON-RPC calls when the above CLI option is specified with a valid URI.
* rename Hyperledger Besu to just Besu (#75)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* Log the transaction hash in the module limit warning (#76)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
* Update arithmetization dependency version (#77)
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
* Update arithmetization dependency version (#79)
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
* Improve SimulationValidation Trace Logs (#78)
- Trace log for transaction details when module over limit
- Only print simulation disabled log when it is actually disabled
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
* Build macOS native lib (#80)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* removed references to junit4 (#81)
* removed references to junit4
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* formatting
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* revert failing test
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* update actions to node20 versions (#83)
* update actions to node20 versions
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* update gradlewrapper action
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update arithmetization dependency version (#84)
* Update arithmetization dependency version to 0.6.0-rc6.
* Fix build issues.
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
* Calculate the gas limit upper bound for the sender in linea_estimateGas (#86)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix a config key name clash with the tracer (#87)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update tracer (#88)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set besuVersion=24.9-delivery33 and arithmetizationVersion=0.7.0-rc1 (#89)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set besuVersion=24.10-delivery34 and arithmetizationVersion=0.8.0-rc1 (#90)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Use required plugins in ATs to not register tracer plugins (#91)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* feat: Report rejected transactions to an external service for tx pool validators used by LineaTransactionPoolValidatorPlugin (#85)
* Extract reporting endpoint URI cli option
* Linea Transaction Pool Validator to report rejected tx
* Linea node type and refactored request builder
* Update unit tests to use refactored generateSaveRejectedTxJsonRpc
* Use transactionSelectionResult.toString in LineaTransactionSelector
* Use Mutually exclusive = false for co-dep cli options
* Add unit test for cli options. Change endpoint type to URL
* JsonRpcManager - Use plugin identifier to create sub directories to store rpc calls
* JsonRpcManager convert submitNewJsonRpcCall to do async chaining before calling submitJsonRpcCall
* Add rej tx reporting to all tx pool validators
* fix: Validate rejected-tx cli options without ArgGroup (#95)
Removed PicoCli ArgGroup validation as it didn't work in Besu with config file parsing which uses DefaultValueProvider.
Instead, validate rejected tx cli options in the toDomainObject method. Enforce the rule that node type is required when endpoint is specified. If only node type is specified, we need no custom validation as we are only enabling reporting when endpoint is specified.
* Provide `chainId` to `createZkTracer(...)` (#93)
* fix: provide chainId to createZkTracer(...)
* fix: bumped arithmetization version to 0.8.0-rc2
* Make sure chainId is present and positive
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set arithmetizationVersion=0.8.0-rc4
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix for required chainId check (#96)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* docs: Update plugins doc with reporting rejected tx cli options (#97)
Update plugins doc with reporting rejected transaction cli options
* added missing javadoc comments (#98)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* Rename minGasPrice to ethGasPrice from the extraData and track its value (#103)
* Rename minGasPrice to ethGasPrice from the extraData.
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
* Expose metrics for profitability extra data field (#104)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix: MetricSystem is only available at start phase (#106)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Wait for the initial sync phase to complete before processing extra data (#105)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* syntax suggestions (#100)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* log plugin name at registration; remove override of getName() method (#99)
* log plugin name at registration; remove override of getName() method
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* logging
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* Accept txs that revert in eth_sendRawTransaction when simulation check is enabled (#108)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* update linea-besu version (#110)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* feat: Rejected transaction reporting due to trace line limits (#111)
- Rejected transaction reporting due to trace line limits
- Remove other rejected transactions reporting
- test fixes
* Update Linea Besu and Tracer (#112)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* 3D pricing metrics (#107)
* Introduce profitablePriorityFeeCache
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add block listener and transaction selector handler
- Introduce block listener in LineaTransactionSelectorPlugin to handle transaction profitability
- Integrate transaction selector handler for processing transactions from the latest block
- Extract profitability calculation into a separate method for clarity and maintainability
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
* Removed unused import
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
* Move profitability metrics during tx selection in a dedicated class
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Improve the log of the future metric
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Organize the profitability cache by block
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Refctor to respect the requirement
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add block added listener and handler into LineaTransactionPoolValidatorPlugin
- Implement: Node's perception on Profitability levels of TxPool's contents (lo, hi, avg of TransactionProfitabilityCalculator.profitablePriorityFeePerGas(transaction) / transaction.priorityFeePerGas).
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
* Add block added listener and handler into LineaTransactionPoolValidatorPlugin
- Implement: Node's perception on Profitability levels of TxPool's contents (lo, hi, avg of TransactionProfitabilityCalculator.profitablePriorityFeePerGas(transaction) / transaction.priorityFeePerGas).
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
* Add missing import in ValidatorProfitabilityMetrics.java
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
* Use histogram and txpool get content api
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add min and max metrics to selection profitability metrics
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Deleted ValidatorProfitabilityMetrics.java as part of 3D pricing metrics work
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
* Run './gradlew :sequencer:spotlessApply' to fix ProfitableTransactionSelectorTest.java
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
* Restore non-local dev settings for besuVersion in gradle.properties.
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
* Generalize histogram metrics in a single class and check for category enabled
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Make profitability histogram metric buckets configurable
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update versions
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix tests
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Apply suggestions from code review
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update DEFAULT_PROFITABILITY_METRICS_BUCKETS
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update Linea Besu and Tracer
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
Signed-off-by: Ade Lucas <37906710+cloudspores@users.noreply.github.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Support state overrides in `linea_estimateGas` (#113)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Make `linea_estimateGas` to simulate tx on pending block (#116)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* update to 24.12 besu (#117)
* update to 24.12 besu
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* add trivial change clause to contributing md (#119)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* Use Besu BOM (#121)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Workaround for overwritten Tracer MANIFEST.MF (#122)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Workaround for overwritten Tracer MANIFEST.MF (part 2) (#123)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Support for chainId and EIP-1559 fee market in linea_estimateGas (#94)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update Linea Besu to delivery41 (#125)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix linea_estimateGas not allowing exceeding balance during simulation (#126)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* log4j: replace status (deprecated) with level (#128)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* Fix the log of the profitability selector in the pre process phase (#129)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set besuVersion=25.1-develop-921c726 and arithmetizationVersion=beta-v1.2.0-rc3 (#130)
* Set besuVersion=25.1-develop-448d1a9 and arithmetizationVersion=beta-v1.2.0-rc2
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Get the nonce of the sender in `linea_estimateGas` if not provided
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Use simulatePendingBlockHeader
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Allow future nonce when simulating txs
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* update Linea Besu
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Remove uber jar (#124)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix release workflow (#137)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* AT passing nonce to linea_estimateGas (#138)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* update limits for blockhash, blockdata and blake prc (#133)
Signed-off-by: F Bojarski <ceciestunepoubelle@protonmail.ch>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update Linea Besu to 25.2-delivery48 (#141)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Support stateful block tx selectors (#140)
* Update Linea Besu to 25.2-delivery48
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update tx selectors to use selector state
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Adapt code to new TransactionEvaluationContext
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Linea Besu to 25.2-delivery49
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Apply suggestions from code review
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
* Linea send bundle (#142)
* initial commit for linea_sendBundle, bundle pool, and selector.
outstanding work on creating a shared singleton bundle pool before we can smoke test the endpoint.
Signed-off-by: garyschulte <garyschulte@gmail.com>
* refactor a bit to use BlockTransactionSelector to inject transactions
Signed-off-by: garyschulte <garyschulte@gmail.com>
* missing spdx headers
Signed-off-by: garyschulte <garyschulte@gmail.com>
* fix mock
Signed-off-by: garyschulte <garyschulte@gmail.com>
* use record types for bundle params, wire up checks and pool rpc test
Signed-off-by: garyschulte <garyschulte@gmail.com>
* add linea_cancelBundle, wire up replacement by uuid
Signed-off-by: garyschulte <garyschulte@gmail.com>
* spdx again
Signed-off-by: garyschulte <garyschulte@gmail.com>
* builds against 25.1-bundles ; will fail build against 25.1-delivery45
Signed-off-by: garyschulte <garyschulte@gmail.com>
* add blockAdded listener to cull bundle pool
Signed-off-by: garyschulte <garyschulte@gmail.com>
* add bundle block gas limits
Signed-off-by: garyschulte <garyschulte@gmail.com>
* spdx header again
Signed-off-by: garyschulte <garyschulte@gmail.com>
* resolve wiring issues, add bundle eval cache 'safety'
Signed-off-by: garyschulte <garyschulte@gmail.com>
* add bundle selector short circuit for non-bundle tx, fix minor serialization issues
Signed-off-by: garyschulte <garyschulte@gmail.com>
* Update tx selectors to use selector state
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Adapt code to new TransactionEvaluationContext
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* First sendBundle ATs
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Move shared services in AbstractLineaSharedPrivateOptionsPlugin
also to simplify assume that the bundle pool is always available.
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Use PendingTransaction::memorySize
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* ERC20 bundle AT
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Adapt code to support bundle aware ZkTracer
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Bundle failure ATs
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Adapt to latest ZkTracer code
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* More bundle ATs
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* some more logs
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set arithmetizationVersion=beta-v1.3.0-rc1
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* New tests and fixes
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: garyschulte <garyschulte@gmail.com>
* Log extra data parsing at debug (#143)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add check to detect and report invalid line counts (#144)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set arithmetizationVersion=beta-v1.3-rc2 (#145)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* besuVersion=25.2-delivery50 arithmetizationVersion=beta-v1.3-rc4 (#147)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Re-apply MANIFEST.MF workaround until we get rid of the uber jar everywhere (#149)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix ZkTracer commit and rollback of non bundle transactions (#150)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Simplify and optimize bundle and pending tx relation plus improve bundle gas limit check (#148)
* Simplify and optimize bundle and pending tx relation plus improve bundle gas limit check
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Apply suggestions from code review
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* update code after rebasing
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Apply suggestions from code review
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
* Add acceptance test to verify bundle revert protection (#152)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Extend ATs (#153)
* Test that txs targeting precompiles are not accepted
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add acceptance tests for excluded precompiles
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* ModExp ATs
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Use vanilla Besu from linea-besu-upstream (#155)
* Use vanilla Besu from linea-besu-upstream
* core test-support
* Set arithmetizationVersion=beta-v2.1-rc2 (#156)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* update link to besu contribution guidelines (#154)
* update link to besu contribution guidelines
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* updated link
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
---------
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* besuVersion=25.2.1-linea1 and arithmetizationVersion=beta-v2.1-rc3 (#159)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix release version (#161)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* adjust log message (#162)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* Save and restore bundle pool (#157)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set arithmetizationVersion=beta-v2.1-rc4 (#164)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Use vanilla Besu for local development (#165)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Extend parameters validation of bundles and reprocessing the same request (#168)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Froze the bundle pool when saving to disk, to avoid accepting and losing bundles (#169)
* Froze the bundle pool when saving to disk, to avoid accepting and losing bundles
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Apply suggestions from code review
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* 166 ecpairing limits testing (#170)
* Use JSON to save and restore bundles (#172)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set besuVersion=25.3.0-linea2 and arithmetizationVersion=beta-v2.1-rc8 (#174)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* remove reference to the fork (#175)
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
* Move reusable bundle related classes in a dedicated package (#173)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* `ECADD`, `ECMUL`, `ECRECOVER` limits testing (#177)
* added contract and deploy methods for testing other ecdata precompiles
* added test for ecadd limit executing several calls per transaction
* Added tests for ecrecover and ecmul
* fixed parameters of the tests
---------
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* besuVersion=25.3.0-linea3 and arithmetizationVersion=beta-v2.1-rc12 (#179)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Bundle store forward plugin (#178)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix registration of bundle CLI options (#180)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix forward bundle bad request and restore pool from disk (#183)
* Fix forward bundle bad request
* Enable restoring bundle pool from disk
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* added test for MODEXP limit and fixed some naming (#182)
* Add options to configure bundle forward retry delay and call timeout (#184)
* Fix forward bundle bad request
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Enable restoring bundle pool from disk
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Bump release version
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Save bundle pool only if plugin enabled
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add forward bundles acceptance tests
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Add configuration options for retry delay and call timeout
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Fix test
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Run acceptance tests in parallel (#185)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update Besu and bump release version (#188)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set arithmetizationVersion=beta-v2.1-rc14 (#190)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set besuVersion=25.4.1-linea1 and arithmetizationVersion=beta-v2.1-rc16 (#191)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set besuVersion=25.5.0-linea1 and arithmetizationVersion=beta-v2.1-rc16.1 (#192)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* use compressor for linea-monorepo (#193)
* use compressor for linea-monorepo
* remove unnecessary native libs build CI jobs
* remove unnecessary static native libs loading
* releaseVersion=v2.1-rc16.2.0 (#194)
* releaseVersion=v2.1-rc16.2.0
* Update gradle.properties
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>
---------
Signed-off-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Set besuVersion=25.5.0-linea2 and arithmetizationVersion=beta-v2.1-rc16.2 (#196)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* compressor: debug loading failures (#197)
* compressor: debug loading failures
* compressor: releaseVersion=v2.1-rc16.2.2
* compressor: update compressor and releaseVersion=v2.1-rc16.2.3 (#199)
* compressor: update compressor and releaseVersion=v2.1-rc16.2.3
* compressor: update compressor and releaseVersion=v2.1-rc16.2.3
* compressor: update compressor (#200)
* compressor: update compressor
* releaseVersion=v2.1-rc16.2.4
* [Feat] Besu node running with Prague config for acceptance tests (#198)
* working flexible path for genesis json template
* added code from PragueAcceptanceTestHelper
* fix comment
* enabled engine api call to node in acceptance test
* successful example test
* strategy pattern; move engine API logic to EngineApiService class
* removed duplicate code in LineaPluginTestBasePrague via inheritance, passing acceptance tests
* successful refactor of createGetPayloadRequest
* refactor of createNewPayloadRequest
* refactor createForkChoiceRequest
* refactor createForkChoiceRequest
* refactor EngineApiService
* refactor EngineApiService
* write extra comments
* more comments for EngineAPIService
* wrote ExamplePragueTest
* minor cleanup
* some cleanup
* refactor EngineApiService
* minor cleanup
* use EngineForkchoiceUpdatedParameter and EnginePayloadAttributesParameter from Besu
* implement registerToHexStringSerializer
* cleanup
* make engineApiService private
* remove unneeded code in createNewPayloadRequest
* improve comment
* edits to prague clique genesis file for pr comments
* removed WaitUtils.sleep
* set starting timestamp for prague config to 0
* added long timestampIncrement param to buildNewBlocks
* remove besu types of engine api
* remove state from EngineApiService
* remove state from EngineApiService
* remove hardcoded sleep time for Thread.sleep
* migrated linea-sequencer yaml workflows, deleted gradlew binaries from linea-sequencer
* removed gradlew wrapper for linea-sequencer project, merged settings.gradle, updated linea-sequencer-plugin-release to workflow_dispatch
* centralized spotless config, replaced references to rootProject in linea-sequencer
* centralize dependency managaement for de.undercouch.download
* Revert "centralize dependency managaement for de.undercouch.download"
This reverts commit 6d374706d8c8fed72c2c99beb5a1eb84ed4030a8.
* removed common plugins
* removed buildSrc from linea-sequencer
* ./gradlew besu-plugins:linea-sequencer:build working
* remove gradle.properties from linea-sequencer
* removed duplicate test config
* acceptance test can start for linea sequencer
* disable parallel junit tests for linea-sequencer-plugin
* downgrade spotless version
* move spotless apply
* centralized most linea-sequencer versions
* version bumps
* improve naming for linea-sequencer-plugin-testing
* bump besu version to 25.5.0-linea2
* fix ci paths for linea-sequencer-plugin
* centralize besu version used
* cleanup
* Call Besu `eth_estimateGas` internally for `linea_estimateGas` (#201)
* Call Besu eth_estimateGas internally for linea_estimateGas
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Go is not needed anymore
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* edit for pr comments 1
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: franklin.delehelle@consensys.net
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Signed-off-by: Tsvetan Dimitrov <tsvetan.dimitrov@consensys.net>
Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Ade Lucas <ade.lucas@consensys.net>
Signed-off-by: Ade Lucas <37906710+cloudspores@users.noreply.github.com>
Signed-off-by: F Bojarski <ceciestunepoubelle@protonmail.ch>
Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>
Co-authored-by: letypequividelespoubelles <54240434+letypequividelespoubelles@users.noreply.github.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: daniellehrner <daniel.lehrner@consensys.net>
Co-authored-by: delehef <franklin.delehelle@consensys.net>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
Co-authored-by: Franklin Delehelle <franklin.delehelle@odena.eu>
Co-authored-by: Julien Marchand <julien-marchand@users.noreply.github.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Co-authored-by: Tsvetan Dimitrov <tsvetan.dimitrov@consensys.net>
Co-authored-by: FlorianHuc <florian.huc@gmail.com>
Co-authored-by: Pedro Novais <1478752+jpnovais@users.noreply.github.com>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: ahamlat <ameziane.hamlat@consensys.net>
Co-authored-by: anonployed <164473726+anonployed@users.noreply.github.com>
Co-authored-by: Feng Liyuan <darktemplar.f@gmail.com>
Co-authored-by: m4sterbunny <harrie.bickle@consensys.net>
Co-authored-by: Usman Saleem <usman@usmans.info>
Co-authored-by: Simon Dudley <simon.dudley@consensys.net>
Co-authored-by: Olivier Bégassat <38285177+OlivierBBB@users.noreply.github.com>
Co-authored-by: Ade Lucas <37906710+cloudspores@users.noreply.github.com>
Co-authored-by: garyschulte <garyschulte@gmail.com>
Co-authored-by: Lorenzo Gentile <lorenzogentile404@gmail.com>
Co-authored-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>
* refactor for codecov-external-pr
* conditional codecov upload based on download
* fixes after test
* rename for pr comment
---------
Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
* feat: add manual inputs to set custom expected-traces-api-version
* feat: revise comment
* feat: revert the l1-el-node image hardcoded tag and update L1 genesis for Prague
* feat: update linea-besu-package image tag and coordinator config
* 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>
* 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>
* 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
* 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: move plugins into besu-plugins
* fix: naming of the besu-plugins folder
* feat: update description for pluginName
* feat: comment out unused task in gradle.build
* feat: align the same besu version used across all modules
* feat: removed vertx-helper dependency in message-anchoring module
* feat: add solona support in the LiFi widget
* fix: update dockerfile and update bridge ui version
* fix: handle cases where user is connected to non EVM network in native bridge
* fix: bridge ui e2e tests issue
* add first test
* create connectMetamaskToDapp fixture
* bump testing framework version
* correctly working connectMetamaskToDapp function
* working metamask e2e test
* ci fix
* fix
* some changes
* working transaction history list test
* try version bump
* try version bump
* work on toggleShowTestNetworksInNativeBridgeForm
* try playwright 1.51.1
* ci file change
* test fixture changes
* try
* try
* try
* try
* test
* Revert "test"
This reverts commit 2592b6835530feb912d537a29eefaba37f74560e.
* try fix
* try fix
* test
* test
* Revert "test"
This reverts commit a21634ca9224b3d025290e215ba61917bec043ff.
* working toggle network e2e test
* working confirm and bridge flow on e2e test
* refactor metamask fixtures
* successful e2e case for bridge eth
* did usdc bridge e2e test
* fix pnpm lock
* refactor
* refactor
* lint and try single text
* try
* test
* test ci change
* test
* test ci change
* run once to get cache
* first unit test for bridge-ui
* redo test
* more test logs
* test
* test
* test
* removed console logs
* address one more edge case
* activate all tests
* try
* more comments
* adjust fixture
* did some unit tests
* add more unit tests
* disable unit tests in ci
* new e2e test
* new comment
* new things
* fix
* comment out blockchain tx tests
* add reporter for playwright
* removed pause
* clean-up
* test
* change get token balance mechanic
* fix import
* fixes
* clean up
* test
* try headless
* redo headful