Skip to content

v0.15.0 - #1814

Merged
MauroToscano merged 48 commits into
testnetfrom
staging
Mar 27, 2025
Merged

v0.15.0#1814
MauroToscano merged 48 commits into
testnetfrom
staging

Conversation

@MauroToscano

Copy link
Copy Markdown
Contributor

v0.15.0

Description

MegaRedHandand others added 30 commits January 6, 2025 15:08
…ed (#1694)
Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com>
Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com>
Co-authored-by: Uriel Mihura <43704209+uri-99@users.noreply.github.com>
Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: PatStiles <pdstiles78@gmail.com>
Co-authored-by: avilagaston9 <gavila@fi.uba.ar>
Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com>
Co-authored-by: Marcos Nicolau <76252340+MarcosNicolau@users.noreply.github.com>
Co-authored-by: PatStiles <33334338+PatStiles@users.noreply.github.com>
Co-authored-by: Avila Gastón <72628438+avilagaston9@users.noreply.github.com>
Co-authored-by: Marcos Nicolau <marcosnicolau@lambdaclass.com>
Co-authored-by: nicolau <marcosnicolau2003@gmail.com>
Co-authored-by: Marcos Nicolau <marcosnicolau@lambdaclass.com>
Co-authored-by: Mauro Toscano <12560266+MauroToscano@users.noreply.github.com>
Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com>
Co-authored-by: MauroFab <maurotoscano2@gmail.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
… not been spent (#1725)
Co-authored-by: Uriel Mihura <43704209+uri-99@users.noreply.github.com>
Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com>
Co-authored-by: Tomás Casagrande <53660242+samoht9277@users.noreply.github.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
…fixes_testnet_17_01
# Conflicts:
#	explorer/.env.dev
#	explorer/.env.example
#	explorer/lib/explorer_web/live/utils.ex
#	explorer/start.sh
)
Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
…li commands (#1553)
Co-authored-by: Marcos Nicolau <marcosnicolau@lambdaclass.com>
Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
# Conflicts:
#	alerts/sender_with_alert.sh
#	explorer/.env.dev
#	explorer/.env.example
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: Mario Rugiero <mrugiero@gmail.com>
Co-authored-by: Julian Arce <52429267+JuArce@users.noreply.github.com>
uri-99and others added 6 commits March 18, 2025 20:32
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: MauroFab <maurotoscano2@gmail.com>
…erServiceManager.sol (#1762)
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: Klaus Lungwitz <klaus.lungwitz@lambdaclass.com>
Co-authored-by: Julian Arce <52429267+JuArce@users.noreply.github.com>
…e.sol (#1772)
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: MauroFab <maurotoscano2@gmail.com>
@github-actions

github-actionsBot commented Mar 19, 2025

Copy link
Copy Markdown

Changes to gas cost

Generated at commit: bc0aa7a87b17d0b7293297ae18f4641d209845e9, compared to commit: d9fd29dba06f745523129cb9b751ab62b8abcfc4

🧾 Summary (10% most significant diffs)

ContractMethodAvg (+/-)%
AlignedLayerServiceManagercreateNewTask+112 ❌+0.14%

Full diff report 👇
ContractDeployment Cost (+/-)MethodMin (+/-)%Avg (+/-)%Median (+/-)%Max (+/-)%# Calls (+/-)
AlignedLayerServiceManager8,319,208 (0)createNewTask
receive
57,854 (+48)
23,496 (0)
+0.08%
0.00%
77,918 (+112)
47,378 (+187)
+0.14%
+0.40%
77,916 (-42)
47,472 (0)
-0.05%
0.00%
78,768 (+27)
47,472 (0)
+0.03%
0.00%
256 (0)
256 (0)

JuArceand others added 11 commits March 19, 2025 19:37
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: JuArce <52429267+JuArce@users.noreply.github.com>
Co-authored-by: Mauro Toscano <12560266+MauroToscano@users.noreply.github.com>
Co-authored-by: MauroFab <maurotoscano2@gmail.com>
# Conflicts:
#	batcher/aligned-sdk/src/core/types.rs
#	batcher/aligned-sdk/src/sdk.rs
#	batcher/aligned/src/main.rs
@MauroToscano
MauroToscano marked this pull request as ready for review March 27, 2025 14:36
@JuArce
JuArce requested a review from CopilotMarch 27, 2025 17:41

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR (v0.15.0) introduces several improvements and refactorings across the SDK and batcher modules. Key changes include:

  • Changes to fee estimation logic and renaming of related functions and types.
  • Refactoring network handling to use methods on the Network enum rather than passing explicit URLs.
  • Enhancements to error messages and new metrics for queue tracking in the batcher.

Reviewed Changes

Copilot reviewed 188 out of 195 changed files in this pull request and generated 1 comment.

Show a summary per file
FileDescription
batcher/aligned-task-sender/README.mdUpdated the CLI usage example to reflect the new network parameter instead of a hardcoded URL.
batcher/aligned-sdk/src/sdk.rsRefactored fee estimation functions and updated documentation with new fee estimation types.
batcher/aligned-sdk/src/core/types.rsRenamed PriceEstimate to FeeEstimationType and added a Custom option in the Network API.
batcher/aligned-sdk/src/core/errors.rsReplaced MaxFeeEstimateError with FeeEstimateError across the SDK to reflect the new logic.
batcher/aligned-sdk/src/core/constants.rsUpdated fee estimation constants and added network address constants for the batcher.
batcher/aligned-sdk/src/communication/messaging.rsEnriched error messages to include additional context on transaction fund handling.
batcher/aligned-sdk/src/communication/batch.rsSmall refactor to pass a cloned network in the proof verification loop.
batcher/aligned-batcher/src/sp1/mod.rsUpdated initialization of sp1-sdk components to use environment-based configuration.
batcher/aligned-batcher/src/metrics.rsAdded new metrics for tracking the queue length and queue size (bytes).
batcher/aligned-batcher/src/main.rsAdded a new CLI argument for address configuration and updated variable naming accordingly.
batcher/aligned-batcher/src/lib.rsIntegrated queue metric updates at critical points in the batch processing logic.
batcher/aligned-batcher/Cargo.tomlUpgraded sp1-sdk dependency to the latest version.
.github/workflows/build-and-test-go.ymlRemoved outdated build steps and adjusted workflow steps to match the current project structure.
Files not reviewed (7)
  • .github/workflows/test-risc-zero-old.yml: Language not supported
  • .github/workflows/test-sp1-old.yml: Language not supported
  • Makefile: Language not supported
  • alerts/.env.devnet: Language not supported
  • alerts/.env.example: Language not supported
  • alerts/sender_with_alert.sh: Language not supported
  • batcher/aligned-batcher/rust-toolchain: Language not supported
Comments suppressed due to low confidence (1)

batcher/aligned-batcher/src/main.rs:27

  • [nitpick] The CLI parameter is named 'addr' while later in the code it is reformatted as 'address'. Consider renaming 'addr' to 'address' in the CLI definition for consistent naming.
 #[arg(short, long)]

Comment threadbatcher/aligned-sdk/src/sdk.rs
Co-authored-by: Julian Arce <52429267+JuArce@users.noreply.github.com>
@MauroToscano
MauroToscano merged commit 48d768b into testnetMar 27, 2025
Sign up for freeto 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.

11 participants

@MauroToscano@JuArce@MarcosNicolau@MegaRedHand@JulianVentura@PatStiles@uri-99@Oppen@avilagaston9@samoht9277