Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
673 commits
Select commit Hold shift + click to select a range
6f1d8e8
fix: overflow for modexp arg (#489)
letypequividelespoubelles Dec 13, 2023
ecfa6f5
Log ZkTracer counters for every produced block (#485)
fab-10 Dec 13, 2023
a0eee23
fix(romLex): wrong stack arg for extcodecopy address (#498)
letypequividelespoubelles Dec 17, 2023
e326d3b
fix: lookup txndata <-> wcp (#488)
letypequividelespoubelles Dec 17, 2023
1cacf45
fix: continuous tracing plugin start check (#500)
daniellehrner Dec 17, 2023
108e8db
perf: cache tx-specific line counter (#497)
Dec 17, 2023
ec3dc01
style: update name of prec limits to avoid confusion with old geth na…
letypequividelespoubelles Dec 19, 2023
8c71729
[MINOR] Add javadoc (#507)
Gabriel-Trintinalia Dec 20, 2023
c2df349
refactor: group RLPs modules, use retro-compatible module keys (#508)
Dec 20, 2023
36e9b0d
feat: enable TxnData constraints (#502)
letypequividelespoubelles Dec 22, 2023
7a0fb0f
feat: introduce a trivial assembler in `BytecodeCompiler` (#512)
Dec 22, 2023
5316a4d
ci: use Corset releases (#518)
Dec 23, 2023
3c6ed94
Perf/issue 520/update wcp module (#521)
letypequividelespoubelles Dec 29, 2023
f8c7860
docs(copyright): fix copyright (#525)
Gabriel-Trintinalia Jan 4, 2024
5cef870
perf: adaptive line count for ADD (#522)
letypequividelespoubelles Jan 4, 2024
12be583
perf: generalize line count caching (#527)
Jan 5, 2024
91181f3
feat: implement EUC (#526)
letypequividelespoubelles Jan 8, 2024
2272028
fix: invalid SStore gas computation (#532)
Jan 9, 2024
a8e7e4b
Upgrade Linea Besu to 24.1.0-SNAPSHOT (#535)
fab-10 Jan 10, 2024
0f5512c
Add profitable transaction selector (#530)
fab-10 Jan 10, 2024
a2a43c3
fix: the hub should trace its transactions in the correct order (#538)
Jan 11, 2024
65d614d
Fix CHANGELOG (#537)
fab-10 Jan 12, 2024
7e25aad
Bump Linea Besu to 24.1.1-SNAPSHOT (#539)
fab-10 Jan 12, 2024
9f598f5
refactor: add @EqualsAndHashCode annotations and remove corresponding…
powerslider Jan 15, 2024
babc456
fix: semantics of LinkedList (#544)
Jan 17, 2024
cace2f7
Update CHANGELOG (#545)
fab-10 Jan 17, 2024
1c3bdde
fix: stacked set multiple insertions in a single transaction (#548)
Jan 18, 2024
57b2de3
Update CHANGELOG from v0.1.4-test12 (#550)
fab-10 Jan 18, 2024
887173b
fix: `StackedSet` semantics (#551)
Jan 19, 2024
a703955
Update changelog to v0.1.4-test13 (#552)
fab-10 Jan 19, 2024
de9a6dd
build: update Corset to 9.3.0 (#554)
Jan 19, 2024
2caaf21
Fix log of line counts in case of block limit reached + minor changes…
fab-10 Jan 19, 2024
62da7d7
Add the possibility to adjust the tx size in the profitability formul…
fab-10 Jan 22, 2024
842ba83
Upgrade Linea Besu to 24.1.2-SNAPSHOT (#560)
fab-10 Jan 23, 2024
b6fbd5c
tests: drop huge random tests (#563)
Jan 23, 2024
77b8338
feat(modexp-data): implement MODEXP_DATA module (#547)
powerslider Jan 23, 2024
0f04bcf
feat: mechanics to capture conflations & replay them as test cases (#…
Jan 24, 2024
3d76e1c
perf(EUC): one less column (#570)
letypequividelespoubelles Jan 24, 2024
04ab93f
docs: Add basic plugins doc (#509)
Gabriel-Trintinalia Jan 30, 2024
77295ad
Check upfront profitability + Unprofitable txs cache and retry limit …
fab-10 Jan 31, 2024
6aa2127
Avoid reprocessing txs that go over line count limit (#571)
fab-10 Feb 2, 2024
d1cae74
Update CHANGELOG (#577)
fab-10 Feb 2, 2024
6cef41a
Linea estimate gas endpoint (#585)
fab-10 Feb 7, 2024
e4e9818
Fix for NoSuchElementException when not passing the gasPrice param (#…
fab-10 Feb 8, 2024
d4723a3
Update CHANGELOG for 0.1.4-test18-RC2 (#588)
fab-10 Feb 8, 2024
0d3ed69
Use compressed tx size also when selecting txs from block creation (#…
fab-10 Feb 13, 2024
1082ec5
Update CHANGELOG for release 0.1.4-test18-RC3 (#594)
fab-10 Feb 13, 2024
deed40c
fix: check that spilling and limits file contain all counted modules …
Feb 14, 2024
9c4257f
Avoid returing an estimated priority fee that is less than the min ga…
fab-10 Feb 15, 2024
791f249
Get L2L1 settings from CLI options (#591)
Feb 15, 2024
764bd67
feat: add a replay capture script (#600)
Feb 15, 2024
dd6bf5f
Update CHANGELOG for v0.1.4-test18 (#599)
fab-10 Feb 16, 2024
574c87f
Upgrade Linea-Besu to 24.2.0-SNAPSHOT (#602)
fab-10 Feb 16, 2024
c1e6113
move compress native into plugin repo (#604)
pinges Feb 20, 2024
021d701
Add compression (#605)
pinges Feb 21, 2024
f74e19a
Update for the new bad block manager (#607)
fab-10 Feb 21, 2024
058d714
Update CHANGELOG for v0.1.4-test20 (#610)
fab-10 Feb 21, 2024
48f774e
fix: capture SSTORE-touched storage slots for correct gas computation…
Feb 22, 2024
8ebde66
build: make the build script portable, explicit dependency on Go & GC…
Feb 26, 2024
c85619b
Update after the refactor of transaction selection service (#626)
fab-10 Feb 27, 2024
c6d8ebf
Use the right classloader to load the native library (#628)
fab-10 Feb 27, 2024
7914115
Update CHANGELOG for v0.1.4-test21 (#630)
fab-10 Feb 28, 2024
ddb06fa
linea_estimateGas compatibility switch (#634)
fab-10 Feb 29, 2024
288a6fb
Refactor profitability options and calculator + gas price adjustment …
fab-10 Mar 5, 2024
8a9e95a
Update code to latest plugin API (#640)
fab-10 Mar 6, 2024
afb0d23
Txpool profitability check (#603)
fab-10 Mar 6, 2024
a521f1b
Fix price adjustment in profitability formula (#642)
fab-10 Mar 6, 2024
ec4f019
Update CHANGELOG for v0.1.4-test22 (#641)
fab-10 Mar 7, 2024
53a479d
Build native lib for Windows (#645)
fab-10 Mar 13, 2024
f4ad24d
linea_estimateGas compatibility mode multiplier (#646)
fab-10 Mar 14, 2024
26100ef
Update CHANGELOG for v0.1.4-test23 (#647)
fab-10 Mar 14, 2024
3a3a3c0
On Windows also build Linux native lib so it can run on WSL (#651)
fab-10 Mar 25, 2024
596e98b
Improve linea_estimateGas error response (#650)
fab-10 Mar 25, 2024
3c471f8
Update CHANGELOG for v0.1.4-test24 (#652)
fab-10 Mar 26, 2024
097d72d
Rename to TransactionPoolValidator to make it clear it only apply to …
fab-10 Mar 27, 2024
53cfc06
feature: disable arithmetization tests (#4)
Gabriel-Trintinalia Apr 10, 2024
ed88b6d
Extend Module Line Count Verification to `linea_estimateGas` RPC Meth…
Gabriel-Trintinalia Apr 10, 2024
0d498e7
In the txpool, reject a tx if its simulation fails (#2)
fab-10 Apr 11, 2024
5f75b3b
Update Linea Besu (#5)
fab-10 Apr 12, 2024
63d915a
Build native lib for arm64 (#8)
fab-10 May 3, 2024
4bb9719
Improve ZkTracer initialization time (#11)
ahamlat May 16, 2024
4e6a862
Add more log to txpool simulation validator (#12)
fab-10 May 21, 2024
7b7569b
Update CHANGELOG for 0.1.4-test25 and 0.1.4-test26 (#9)
fab-10 May 22, 2024
dd2bd96
Calculate line count only once in linea_estimateGas (#13)
fab-10 May 24, 2024
206bbe2
Update CHANGELOG for v0.1.4-test27 release (#14)
fab-10 May 27, 2024
778c913
Extra data based pricing (#10)
fab-10 May 30, 2024
c8cae20
Remove check that minGasPrice need to decrease to retry unprofitable …
fab-10 May 30, 2024
dada69e
Update CHANGELOG for v0.1.4-test28 release (#16)
fab-10 May 30, 2024
6b66125
Update Java, Gradle and dependencies (#20)
fab-10 Jun 12, 2024
50b3b62
Update README.md (#21)
anonployed Jun 13, 2024
afd7d1b
Update besu to 24.6-develop-711dff7 (#18)
daniellehrner Jun 14, 2024
9b2826d
Remove arthimization code and include it as dependency (#15)
fab-10 Jun 14, 2024
928e6ad
Update Linea Besu dependecy to 24.6-develop-752aeff (#22)
fab-10 Jun 16, 2024
94ed3ac
Implement linea_setExtraData (#19)
fab-10 Jun 21, 2024
59577a9
Set plugin-linea-tx-pool-simulation-check-api-enabled=false by defaul…
fab-10 Jun 21, 2024
43eaa29
Update documentation (#24)
fab-10 Jun 24, 2024
e34bc51
Re-add dependencies to the jar and change duplication strategy (#28)
Gabriel-Trintinalia Jun 25, 2024
e3a59df
Align linea_estimateGas behavior to geth (#25)
fab-10 Jun 25, 2024
8c2b22c
Update arithmetizationVersion to 0.1.5-rc3 (#29)
fab-10 Jun 26, 2024
330743e
Remove leftover of the repo split (#27)
fab-10 Jun 26, 2024
a58c842
Update CHANGELOG for Release v0.1.5-test1 and fix artifact publishing…
fab-10 Jun 27, 2024
224a068
Include baseFee in the calculation of a profitable tx (#30)
fab-10 Jun 27, 2024
52e9d26
update arithmetization to 0.1.5-rc4 (#36)
macfarla Jul 4, 2024
f5665c3
fix: patch inconsistencies in module line count limits (#41)
powerslider Jul 4, 2024
1b02789
fix typos (#40)
SunRunAway Jul 4, 2024
aed59ca
s/ConsenSys/Consensys (#37)
macfarla Jul 10, 2024
91ea40b
Improve error log when setting pricing conf via extra data fails (#44)
fab-10 Jul 15, 2024
f183bd5
Documentation using javadoc (#33)
fab-10 Jul 16, 2024
25cba8c
Fix and enable unit tests in CI (#45)
fab-10 Jul 17, 2024
73fb8f8
Remove the check that profitable priority fee must be greater than mi…
fab-10 Jul 22, 2024
79191c8
Option to disable setting minGasPrice via extra data (#50)
fab-10 Jul 22, 2024
f38ccdc
feat: bump linea-arithmetization version to 0.2.0-rc4 (#47)
powerslider Jul 25, 2024
afb2e49
Update CHANGELOG for release 0.2.0-rc4.1 (#52)
fab-10 Jul 26, 2024
aadf0fa
Set version to 0.2.0-SNAPSHOT (#53)
fab-10 Jul 26, 2024
03741c5
Change artithmetization dependency version to 0.2.0-rc5 (#55)
ahamlat Jul 29, 2024
84e3369
Set besuVersion=24.7-develop-f812936 and arithmetizationVersion=0.3.0…
fab-10 Jul 30, 2024
b767844
Fix `linea_estimateGas` when called with `gasPrice` set (#58)
fab-10 Jul 30, 2024
ec4d4b3
Update CHANGELOG for v0.3.0-rc1.1 (#59)
fab-10 Jul 31, 2024
1529ef2
docs:extends userdocs (#57)
m4sterbunny Jul 31, 2024
e7513f8
docs: retires zk-EVM (#61)
m4sterbunny Jul 31, 2024
26c641f
Update linea besu version 24.7 develop c0029e6 (#62)
fab-10 Aug 1, 2024
f755076
Gradle cleanup and simplification (#63)
fab-10 Aug 12, 2024
5c3505f
Gradle: replace license check plugin (#65)
fab-10 Aug 12, 2024
f5ba710
Improve linea_estimateGas error handling (#48)
pinges Aug 13, 2024
b738bd9
Fix: postpone registration of plugin validator factory when blockchai…
fab-10 Aug 16, 2024
46b74da
Update Linea-Besu and Tracer dependencies (#70)
fab-10 Aug 21, 2024
5b63afd
Set besuVersion=24.9-delivery32 and arithmetizationVersion=0.6.0-rc1 …
fab-10 Sep 12, 2024
794781f
Split rpc methods into different plugins (#73)
Gabriel-Trintinalia Sep 12, 2024
ee14400
Update CHANGELOG for release 0.6.0-rc1.1 (#74)
fab-10 Sep 12, 2024
56ae71e
feat: Report discarded transactions to external service (#69)
usmansaleem Sep 12, 2024
61fce79
rename Hyperledger Besu to just Besu (#75)
macfarla Sep 17, 2024
02d10f5
Log the transaction hash in the module limit warning (#76)
siladu Sep 18, 2024
326137f
Update arithmetization dependency version (#77)
ahamlat Sep 18, 2024
bfa76e3
Update arithmetization dependency version (#79)
ahamlat Sep 20, 2024
d38bd6f
Improve SimulationValidation Trace Logs (#78)
siladu Sep 20, 2024
dfc9228
Build macOS native lib (#80)
fab-10 Sep 21, 2024
e284f66
removed references to junit4 (#81)
macfarla Sep 23, 2024
979e600
update actions to node20 versions (#83)
macfarla Sep 23, 2024
ca809ce
Update arithmetization dependency version (#84)
ahamlat Sep 24, 2024
cd9bd30
Calculate the gas limit upper bound for the sender in linea_estimateG…
fab-10 Sep 27, 2024
f8d8317
Fix a config key name clash with the tracer (#87)
fab-10 Sep 27, 2024
b6ffd49
Update tracer (#88)
fab-10 Sep 27, 2024
64ebb86
Set besuVersion=24.9-delivery33 and arithmetizationVersion=0.7.0-rc1 …
fab-10 Oct 1, 2024
d3671a8
Set besuVersion=24.10-delivery34 and arithmetizationVersion=0.8.0-rc1…
fab-10 Oct 2, 2024
064a2fd
Use required plugins in ATs to not register tracer plugins (#91)
fab-10 Oct 3, 2024
5ac01dd
feat: Report rejected transactions to an external service for tx pool…
usmansaleem Oct 3, 2024
33cefe5
fix: Validate rejected-tx cli options without ArgGroup (#95)
usmansaleem Oct 8, 2024
de4794b
Provide `chainId` to `createZkTracer(...)` (#93)
OlivierBBB Oct 8, 2024
a1548bc
Fix for required chainId check (#96)
fab-10 Oct 8, 2024
d6908a9
docs: Update plugins doc with reporting rejected tx cli options (#97)
usmansaleem Oct 9, 2024
fe149da
added missing javadoc comments (#98)
macfarla Oct 16, 2024
6d7fc65
Rename minGasPrice to ethGasPrice from the extraData and track its va…
cloudspores Oct 23, 2024
1879779
Expose metrics for profitability extra data field (#104)
fab-10 Oct 24, 2024
7548ed3
Fix: MetricSystem is only available at start phase (#106)
fab-10 Oct 24, 2024
fb1b9a9
Wait for the initial sync phase to complete before processing extra d…
fab-10 Oct 24, 2024
38d8b64
syntax suggestions (#100)
macfarla Oct 25, 2024
5bea89f
log plugin name at registration; remove override of getName() method …
macfarla Oct 26, 2024
3c4afd5
Accept txs that revert in eth_sendRawTransaction when simulation chec…
fab-10 Nov 19, 2024
4529bbb
update linea-besu version (#110)
macfarla Nov 22, 2024
79c7c8f
feat: Rejected transaction reporting due to trace line limits (#111)
usmansaleem Nov 27, 2024
1e0d9db
Update Linea Besu and Tracer (#112)
fab-10 Nov 29, 2024
c700412
3D pricing metrics (#107)
cloudspores Nov 29, 2024
1333d7c
Support state overrides in `linea_estimateGas` (#113)
fab-10 Dec 4, 2024
c855d47
Make `linea_estimateGas` to simulate tx on pending block (#116)
fab-10 Dec 9, 2024
f94af80
update to 24.12 besu (#117)
macfarla Dec 9, 2024
a081d18
add trivial change clause to contributing md (#119)
macfarla Dec 10, 2024
42e852c
Use Besu BOM (#121)
fab-10 Dec 10, 2024
0c27b4a
Workaround for overwritten Tracer MANIFEST.MF (#122)
fab-10 Dec 12, 2024
975f8dc
Workaround for overwritten Tracer MANIFEST.MF (part 2) (#123)
fab-10 Dec 12, 2024
d11f247
Support for chainId and EIP-1559 fee market in linea_estimateGas (#94)
fab-10 Dec 13, 2024
5081b17
Update Linea Besu to delivery41 (#125)
fab-10 Dec 16, 2024
5121bfe
Fix linea_estimateGas not allowing exceeding balance during simulatio…
fab-10 Dec 18, 2024
e36146f
log4j: replace status (deprecated) with level (#128)
macfarla Jan 13, 2025
f01c104
Fix the log of the profitability selector in the pre process phase (#…
fab-10 Jan 14, 2025
966d849
Set besuVersion=25.1-develop-921c726 and arithmetizationVersion=beta-…
fab-10 Jan 28, 2025
1bfef94
Remove uber jar (#124)
fab-10 Jan 29, 2025
8bc60de
Fix release workflow (#137)
fab-10 Jan 30, 2025
a5ada9b
AT passing nonce to linea_estimateGas (#138)
fab-10 Feb 3, 2025
ce13eb3
update limits for blockhash, blockdata and blake prc (#133)
letypequividelespoubelles Feb 7, 2025
238f2c9
Update Linea Besu to 25.2-delivery48 (#141)
fab-10 Feb 11, 2025
5b180a1
Support stateful block tx selectors (#140)
fab-10 Feb 13, 2025
1bd56ed
Linea send bundle (#142)
fab-10 Feb 14, 2025
10bdec1
Log extra data parsing at debug (#143)
fab-10 Feb 17, 2025
63b80c1
Add check to detect and report invalid line counts (#144)
fab-10 Feb 17, 2025
b31d1ff
Set arithmetizationVersion=beta-v1.3-rc2 (#145)
fab-10 Feb 17, 2025
0d13b35
besuVersion=25.2-delivery50 arithmetizationVersion=beta-v1.3-rc4 (#147)
fab-10 Feb 18, 2025
4d00b04
Re-apply MANIFEST.MF workaround until we get rid of the uber jar ever…
fab-10 Feb 19, 2025
7bdde0d
Fix ZkTracer commit and rollback of non bundle transactions (#150)
fab-10 Feb 19, 2025
d295582
Simplify and optimize bundle and pending tx relation plus improve bun…
fab-10 Feb 20, 2025
8dd5e3a
Add acceptance test to verify bundle revert protection (#152)
fab-10 Feb 24, 2025
947eda5
Extend ATs (#153)
fab-10 Feb 24, 2025
6f691c3
Use vanilla Besu from linea-besu-upstream (#155)
usmansaleem Feb 27, 2025
33e90b6
Set arithmetizationVersion=beta-v2.1-rc2 (#156)
fab-10 Feb 27, 2025
4827371
update link to besu contribution guidelines (#154)
macfarla Feb 27, 2025
f9e720f
besuVersion=25.2.1-linea1 and arithmetizationVersion=beta-v2.1-rc3 (#…
fab-10 Mar 4, 2025
feaa3e5
Fix release version (#161)
fab-10 Mar 4, 2025
c1c9488
adjust log message (#162)
macfarla Mar 6, 2025
193d2b1
Save and restore bundle pool (#157)
fab-10 Mar 6, 2025
34dbff1
Set arithmetizationVersion=beta-v2.1-rc4 (#164)
fab-10 Mar 12, 2025
ee088c6
Use vanilla Besu for local development (#165)
fab-10 Mar 13, 2025
50d532e
Extend parameters validation of bundles and reprocessing the same req…
fab-10 Mar 14, 2025
9823474
Froze the bundle pool when saving to disk, to avoid accepting and los…
fab-10 Mar 14, 2025
50e2800
166 ecpairing limits testing (#170)
lorenzogentile404 Mar 17, 2025
9c5c3d8
Use JSON to save and restore bundles (#172)
fab-10 Mar 18, 2025
908c7eb
Set besuVersion=25.3.0-linea2 and arithmetizationVersion=beta-v2.1-rc…
fab-10 Mar 18, 2025
6e004b1
remove reference to the fork (#175)
macfarla Mar 19, 2025
1177eb7
Move reusable bundle related classes in a dedicated package (#173)
fab-10 Mar 19, 2025
b15dbcd
`ECADD`, `ECMUL`, `ECRECOVER` limits testing (#177)
lorenzogentile404 Mar 24, 2025
87b1c15
besuVersion=25.3.0-linea3 and arithmetizationVersion=beta-v2.1-rc12 (…
fab-10 Mar 24, 2025
c1aa0d3
Bundle store forward plugin (#178)
fab-10 Mar 24, 2025
7390858
Fix registration of bundle CLI options (#180)
fab-10 Mar 26, 2025
32677f6
Fix forward bundle bad request and restore pool from disk (#183)
fab-10 Mar 26, 2025
c9a08c5
added test for MODEXP limit and fixed some naming (#182)
lorenzogentile404 Mar 27, 2025
f4bd082
Add options to configure bundle forward retry delay and call timeout …
fab-10 Mar 27, 2025
6008e80
Run acceptance tests in parallel (#185)
fab-10 Mar 31, 2025
77df42f
Update Besu and bump release version (#188)
fab-10 Mar 31, 2025
7242fdd
Set arithmetizationVersion=beta-v2.1-rc14 (#190)
fab-10 Apr 7, 2025
99e5924
Set besuVersion=25.4.1-linea1 and arithmetizationVersion=beta-v2.1-rc…
fab-10 Apr 23, 2025
8e9b542
Set besuVersion=25.5.0-linea1 and arithmetizationVersion=beta-v2.1-rc…
fab-10 May 13, 2025
3177420
use compressor for linea-monorepo (#193)
fluentcrafter May 15, 2025
afb2967
releaseVersion=v2.1-rc16.2.0 (#194)
fluentcrafter May 15, 2025
2c7b35b
Set besuVersion=25.5.0-linea2 and arithmetizationVersion=beta-v2.1-rc…
fab-10 May 19, 2025
ab8f672
compressor: debug loading failures (#197)
fluentcrafter May 19, 2025
7a7e8f1
compressor: update compressor and releaseVersion=v2.1-rc16.2.3 (#199)
fluentcrafter May 20, 2025
d72665e
compressor: update compressor (#200)
fluentcrafter May 20, 2025
365df2c
[Feat] Besu node running with Prague config for acceptance tests (#198)
kyzooghost May 21, 2025
1bbaf0b
Merge branch 'main' into feat/linea-sequencer
kyzooghost May 21, 2025
57b58f7
migrated linea-sequencer yaml workflows, deleted gradlew binaries fro…
kyzooghost May 22, 2025
665be40
removed gradlew wrapper for linea-sequencer project, merged settings.…
kyzooghost May 22, 2025
40693d6
centralized spotless config, replaced references to rootProject in li…
kyzooghost May 22, 2025
6d37470
centralize dependency managaement for de.undercouch.download
kyzooghost May 22, 2025
c2c1f9a
Revert "centralize dependency managaement for de.undercouch.download"
kyzooghost May 22, 2025
40f685a
removed common plugins
kyzooghost May 22, 2025
e73f430
removed buildSrc from linea-sequencer
kyzooghost May 22, 2025
bae21b4
./gradlew besu-plugins:linea-sequencer:build working
kyzooghost May 22, 2025
be8d094
remove gradle.properties from linea-sequencer
kyzooghost May 23, 2025
72c3c73
removed duplicate test config
kyzooghost May 23, 2025
637e4f1
acceptance test can start for linea sequencer
kyzooghost May 23, 2025
764b884
disable parallel junit tests for linea-sequencer-plugin
kyzooghost May 23, 2025
0e3f803
downgrade spotless version
kyzooghost May 23, 2025
a3e389d
move spotless apply
kyzooghost May 23, 2025
ef9a552
centralized most linea-sequencer versions
kyzooghost May 23, 2025
1d9b5fc
version bumps
kyzooghost May 23, 2025
a64974b
improve naming for linea-sequencer-plugin-testing
kyzooghost May 23, 2025
02c84b5
bump besu version to 25.5.0-linea2
kyzooghost May 23, 2025
3644a0d
fix ci paths for linea-sequencer-plugin
kyzooghost May 23, 2025
071c87d
centralize besu version used
kyzooghost May 23, 2025
1350d4f
cleanup
kyzooghost May 26, 2025
068ddcd
Call Besu `eth_estimateGas` internally for `linea_estimateGas` (#201)
fab-10 May 27, 2025
9e8edb6
edit for pr comments 1
kyzooghost May 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .github/workflows/linea-sequencer-plugin-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Release

on:
workflow_dispatch:
inputs:
version:
description: 'Version (must start with "v", e.g., "v1.2.3")'
required: true
type: string

jobs:
build:
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
steps:
- name: Validate version
run: |
if [[ ! "${{ github.event.inputs.version }}" =~ ^v.+ ]]; then
echo "Error: version must start with 'v'"
exit 1
fi

- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
cache: 'gradle'

- name: Build artifacts
run: ./gradlew besu-plugins:linea-sequencer:artifacts -PreleaseVersion=${{ github.event.inputs.version }}
env:
JAVA_OPTS: -Xmx2g -Dorg.gradle.daemon=false

# TODO in later ticket - actions/create-release and actions/upload-release-asset are both archived
# ncipollo/release-action@v1 is an actively-maintained alternative that can combine release creation and artifact upload
- name: Draft Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: 'Draft release of version ${{ github.event.inputs.version }}.'
draft: true
prerelease: false

- name: Upload Release Lib Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./besu-plugins/linea-sequencer/sequencer/build/libs/linea-sequencer-${{ github.event.inputs.version }}.jar
asset_name: linea-sequencer-${{ github.event.inputs.version }}.jar
asset_content_type: application/octet-stream

- name: Upload Release Dist Asset
id: upload-release-dist-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./besu-plugins/linea-sequencer/sequencer/build/distributions/linea-sequencer-${{ github.event.inputs.version }}.zip
asset_name: linea-sequencer-${{ github.event.inputs.version }}.zip
asset_content_type: application/octet-stream
79 changes: 79 additions & 0 deletions .github/workflows/linea-sequencer-plugin-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: linea-sequencer-plugin-testing

on:
workflow_call:

concurrency:
group: linea-sequencer-plugin-testing-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
validation:
name: "Gradlew Wrapper Checksum Validation"
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v4

build:
name: "Linea Sequencer Plugin Build"
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin

- name: Build and test
run: ./gradlew besu-plugins:linea-sequencer:build
env:
JAVA_OPTS: -Xmx2g -Dorg.gradle.daemon=false

- name: Store distribution artifacts
uses: actions/upload-artifact@v4
with:
name: distributions
path: besu-plugins/linea-sequencer/sequencer/build/libs

acceptanceTest:
name: "Linea Sequencer Plugin Acceptance Tests"
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-large
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin

- name: Run acceptance tests
run: ./gradlew besu-plugins:linea-sequencer:acceptance-tests:acceptanceTests
env:
JAVA_OPTS: -Dorg.gradle.daemon=false

- name: Upload test report
if: always()
uses: actions/upload-artifact@v4
with:
name: acceptance-test-report
path: besu-plugins/linea-sequencer/acceptance-tests/build/reports/tests/

spotless:
name: "Linea Sequencer Plugin Spotless Check"
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-small
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: spotless
run: ./gradlew --no-daemon --parallel clean besu-plugins:linea-sequencer:spotlessCheck
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
contracts-excluding-local-deployment-artifacts: ${{ steps.exclusion-filter.outputs.contracts-excluding-local-deployment-artifacts }}
contracts-excluding-local-deployment-artifacts-count: ${{ steps.exclusion-filter.outputs.contracts-excluding-local-deployment-artifacts_count }}
smart-contracts: ${{ steps.filter.outputs.smart-contracts }}
linea-sequencer-plugin: ${{ steps.filter.outputs.linea-sequencer-plugin }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -105,6 +106,9 @@ jobs:
- 'prover/**'
- '.github/workflows/main.yml'
- '.github/workflows/run-smc-tests.yml'
linea-sequencer-plugin:
- 'besu-plugins/linea-sequencer/**'
- '.github/workflows/linea-sequencer-plugin-testing.yml'

- name: Filter out commit changes
uses: dorny/paths-filter@v3
Expand Down Expand Up @@ -147,6 +151,7 @@ jobs:
with:
commit_tag: ${{ needs.store-image-name-and-tags.outputs.commit_tag }}
coordinator_changed: ${{ needs.filter-commit-changes.outputs.coordinator }}
linea_sequencer_changed: ${{ needs.filter-commit-changes.outputs.linea-sequencer-plugin }}
postman_changed: ${{ needs.filter-commit-changes.outputs.postman }}
prover_changed: ${{ needs.filter-commit-changes.outputs.prover }}
smart_contracts_changed: ${{ needs.filter-commit-changes.outputs.smart-contracts }}
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ on:
smart_contracts_changed:
required: true
type: string
linea_sequencer_changed:
required: true
type: string

jobs:
# Cache for pulling Docker images is disabled as we empirically found that this
# (retrieving cache and loading Docker images) actually increased test time-to-completion
Expand Down Expand Up @@ -63,6 +67,11 @@ jobs:
commit_tag: ${{ inputs.commit_tag }}
secrets: inherit

linea-sequencer:
uses: ./.github/workflows/linea-sequencer-plugin-testing.yml
if: ${{ inputs.linea_sequencer_changed == 'true' }}
secrets: inherit

# If all jobs are skipped, the workflow will still succeed.
always_succeed:
runs-on: ubuntu-24.04
Expand Down
34 changes: 34 additions & 0 deletions besu-plugins/linea-sequencer/.gitignore
Comment thread
kyzooghost marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
*.bak
*.swp
*.tmp
*~.nib
*.iml
*.launch
*.swp
*.log
*.out
nohup.out
.classpath
.DS_Store
.externalToolBuilders/
.gradle/
.idea/
.loadpath
.metadata
.prefs
.project
.recommenders/
.settings
.springBeans
.vertx
.java-version
./bin
local.properties
target/
tmp/
build/
out/
site/
/.direnv/
/.envrc
acceptance-tests/bin/
Loading
Loading