Skip to content

Conversation

@MarcosNicolau
Copy link
Member

@MarcosNicolau MarcosNicolau commented Mar 28, 2025

Description

Aligned aggregation mode first iteration.

Type of change

Please delete options that are not relevant.

  • New feature

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 batcher/docs/examples
    • This PR updates batcher and docs/examples to the newer version. This requires the operator are already updated to be compatible

@MauroToscano MauroToscano marked this pull request as ready for review April 3, 2025 16:40
@github-actions
Copy link

github-actions bot commented Apr 3, 2025

Changes to gas cost

Generated at commit: 13e604adeb050a023a93ad6b85fbdb7ed3ae4f5b, compared to commit: 956b4a727ffc9d152eee7a334ead6c5630d8df39

🧾 Summary (10% most significant diffs)

Contract Method Avg (+/-) %
AlignedLayerServiceManager createNewTask
receive
+127 ❌
+94 ❌
+0.16%
+0.20%

Full diff report 👇
Contract Deployment Cost (+/-) Method Min (+/-) % Avg (+/-) % Median (+/-) % Max (+/-) % # Calls (+/-)
AlignedLayerServiceManager 8,319,208 (0) createNewTask
receive
77,694 (+19,840)
47,472 (+23,976)
+34.29%
+102.04%
78,045 (+127)
47,472 (+94)
+0.16%
+0.20%
77,982 (+66)
47,472 (0)
+0.08%
0.00%
78,696 (-72)
47,472 (0)
-0.09%
0.00%
256 (0)
256 (0)

@MarcosNicolau MarcosNicolau changed the title feat: aggregation mode first iteration feat: aggregation mode Apr 4, 2025
//bytes calldata sp1ProofBytes
) external;

function getAggregatedProof(uint64 proofNumber)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would be nice to add docs for this function

@@ -0,0 +1,40 @@
use aligned_sdk::core::types::VerificationData;
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should add checks to avoid OOM DDoS

Copy link
Collaborator

@JuArce JuArce left a comment

Choose a reason for hiding this comment

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

LGTM

There is missing guide to run in /docs/.../setup_aligned, but it can be added in a new PR

@JuArce JuArce enabled auto-merge April 7, 2025 14:43
@JuArce JuArce added this pull request to the merge queue Apr 7, 2025
Merged via the queue into staging with commit 43a1084 Apr 7, 2025
4 checks passed
@JuArce JuArce deleted the feat/aggregation-mode branch April 7, 2025 14:55
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.

5 participants