Skip to content

Feat/sp1 contracts#1841

Closed
Mechanix97 wants to merge 13 commits intostagingfrom
feat/sp1-contracts
Closed

Feat/sp1 contracts#1841
Mechanix97 wants to merge 13 commits intostagingfrom
feat/sp1-contracts

Conversation

@Mechanix97
Copy link
Copy Markdown
Contributor

@Mechanix97 Mechanix97 commented Apr 1, 2025

Add SP1 contracts to anvil in devnet

Description

Created a new Makefile command to deploy the sp1 verification contracts and gateways

make anvil_deploy_sp1_contracts

To ensure the correct state load on anvil, the deployer first loads the eigenlayers contracts and then dumps them into the sp1-contracts state file with the sp1 contracts already loaded. Then, the anvil aligned contracts deployer (make anvil_deploy_aligned_contracts) loads this state on start instead of the original eigenlayer contracts.

Type of change

Please delete options that are not relevant.

  • New feature

Checklist

  • Add a new deployer for Groth16 gateway.
  • Add a new deployer for Groth16 verifier V3.0.0.
  • Add a new command to deploy the contracts.
  • Add the SP1-contracts submodule.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2025

Changes to gas cost

Generated at commit: d6a78427b2349fa7e616c8285d79f821fb386ff4, compared to commit: 956b4a727ffc9d152eee7a334ead6c5630d8df39

🧾 Summary (10% most significant diffs)

Contract Method Avg (+/-) %
AlignedLayerServiceManager createNewTask
receive
+132 ❌
+94 ❌
+0.17%
+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,050 (+132)
47,472 (+94)
+0.17%
+0.20%
77,994 (+78)
47,472 (0)
+0.10%
0.00%
78,696 (-72)
47,472 (0)
-0.09%
0.00%
256 (0)
256 (0)

@Mechanix97 Mechanix97 changed the base branch from testnet to staging April 1, 2025 14:28
@Mechanix97 Mechanix97 force-pushed the feat/sp1-contracts branch from 2eea178 to 2af21b9 Compare April 1, 2025 14:54
@JuArce JuArce changed the base branch from staging to feat/aggregation-mode April 3, 2025 13:59
@JuArce JuArce changed the base branch from feat/aggregation-mode to staging April 3, 2025 13:59
@JuArce JuArce changed the base branch from staging to feat/aggregation-mode April 3, 2025 14:10
@JuArce JuArce changed the base branch from feat/aggregation-mode to staging April 3, 2025 14:13
@JuArce
Copy link
Copy Markdown
Collaborator

JuArce commented Apr 3, 2025

Supersedes by #1843

@JuArce JuArce closed this Apr 3, 2025
@JuArce JuArce deleted the feat/sp1-contracts branch April 3, 2025 15:14
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.

2 participants