Skip to content

v0.21.0 - #2274

Merged
JuArce merged 67 commits into
testnetfrom
staging
Sep 11, 2026
Merged

v0.21.0#2274
JuArce merged 67 commits into
testnetfrom
staging

Conversation

@JuArce

@JuArce JuArce commented Jan 23, 2026

Copy link
Copy Markdown
Collaborator

v0.21.0

Description

Checklist

  • “Hotfix” to testnet, everything else to staging
  • Linked to Github Issue
  • This change depends on code or research by an external entity
    • Acknowledgements were updated to give credit
  • Unit tests added
  • This change requires new documentation.
    • Documentation has been added/updated.
  • This change is an Optimization
    • Benchmarks added/run
  • Has a known issue
  • If your PR changes the Operator compatibility (Ex: Upgrade prover versions)
    • This PR adds compatibility for operator for both versions and do not change crates/docs/examples
    • This PR updates batcher and docs/examples to the newer version. This requires the operator are already updated to be compatible

maximopalopoli and others added 30 commits October 30, 2025 19:01
Co-authored-by: gabrielbosio <gabrielbosio95@gmail.com>
Co-authored-by: Estéfano Bargas <estefano.bargas@fing.edu.uy>
Co-authored-by: Gabriel Bosio <38794644+gabrielbosio@users.noreply.github.com>
Co-authored-by: Mauro Toscano <12560266+MauroToscano@users.noreply.github.com>
Co-authored-by: Julian Arce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: Nicolas Rampoldi <58613770+NicolasRampoldi@users.noreply.github.com>
Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com>
Co-authored-by: Gian <58370608+glpecile@users.noreply.github.com>
Co-authored-by: cliraa <113949669+cliraa@users.noreply.github.com>
Co-authored-by: Mariano A. Nicolini <mariano.nicolini.91@gmail.com>
Co-authored-by: Tatu <65305492+srosati@users.noreply.github.com>
Co-authored-by: Diego K <43053772+diegokingston@users.noreply.github.com>
Co-authored-by: PatStiles <33334338+PatStiles@users.noreply.github.com>
Co-authored-by: Tatu <65305492+taturosati@users.noreply.github.com>
Co-authored-by: taturosati <“taturosati@users.noreply.github.com”>
Co-authored-by: taturosati <taturosati@users.noreply.github.com>
Co-authored-by: Santos Rosati <rosatisantos@gmail.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
…tcher (#2166)

Co-authored-by: MauroFab <maurotoscano2@gmail.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: MauroFab <maurotoscano2@gmail.com>
Co-authored-by: Marcos Nicolau <marcosnicolau@lambdaclass.com>
Co-authored-by: Marcos Nicolau <76252340+MarcosNicolau@users.noreply.github.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: Marcos Nicolau <76252340+MarcosNicolau@users.noreply.github.com>
Co-authored-by: Marcos Nicolau <marcosnicolau@lambdaclass.com>
Co-authored-by: Marcos Nicolau <76252340+MarcosNicolau@users.noreply.github.com>
Co-authored-by: maximopalopoli <mpalopoli@fi.uba.ar>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
…on lists (#2201)

Co-authored-by: Marcos Nicolau <76252340+MarcosNicolau@users.noreply.github.com>
…ime left (#2202)

Co-authored-by: Marcos Nicolau <76252340+MarcosNicolau@users.noreply.github.com>
JuArce and others added 19 commits January 12, 2026 14:44
…2237)

Co-authored-by: Marcos Nicolau <76252340+MarcosNicolau@users.noreply.github.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
@github-actions

github-actions Bot commented Jan 23, 2026 •

Copy link
Copy Markdown

Changes to gas cost

Generated at commit: cb3cd252ca3ee18842a40afe4f6975c34a023fa1, compared to commit: ce1e2f56b5f237f5d3f0ce09ec20ea92ab88acdc

🧾 Summary (10% most significant diffs)

Contract Method Avg (+/-) %
AlignedLayerServiceManager createNewTask -387 ✅ -0.51%

Full diff report 👇
Contract Deployment Cost (+/-) Method Min (+/-) % Avg (+/-) % Median (+/-) % Max (+/-) % # Calls (+/-)
AlignedLayerServiceManager 4,398,072 (+12) createNewTask
receive
56,874 (-24)
23,301 (0)
-0.04%
0.00%
76,184 (-387)
46,003 (-463)
-0.51%
-1.00%
77,026 (-12)
47,115 (0)
-0.02%
0.00%
77,884 (0)
47,115 (0)
0.00%
0.00%
257 (0)
257 (0)
StrategyManagerMock 1,146,058 (-12)
IndexRegistry 917,377 (-12)

@JuArce
JuArce marked this pull request as draft January 23, 2026 14:48
# Conflicts:
#	.github/workflows/aggregation_mode.yml
@JuArce
JuArce marked this pull request as ready for review September 11, 2026 14:01
@github-actions

Copy link
Copy Markdown

Codex Code Review

  • Medium — Concurrent submissions bypass nonce and quota checks. http.rs:240: Validation and insertion are separate, and the schema lacks uniqueness on (address, nonce). Concurrent requests can replay the same signed submission and exceed daily quotas. Enforce uniqueness and validate/update per-address counters atomically.

  • Medium — Renewals lose paid service time. AggregationModePaymentService.sol:250: Renewals extend the stored expiry, but the event reports block.timestamp + paymentExpirationTimeSeconds. The gateway uses event timestamps, so it rejects users before their renewed subscription expires. Emit newExpiration.

  • Medium — Batched subscriptions silently disappear. db.rs:69: Deduplication uses only the transaction hash, while addSubscriptions emits multiple payments per transaction. Only the first subscriber receives gateway access. Deduplicate using transaction hash plus log index.

  • Medium — Failed payment inserts can be permanently skipped. payments.rs:129: Insert failures are logged, but the polling checkpoint still advances. Failed events older than the five-block overlap will never be retried, denying paying users access. Advance the checkpoint only after all events are persisted successfully.

@JuArce
JuArce merged commit e57c39b into testnet Sep 11, 2026
20 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants