Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: batcherPaymentService pause individual functions #1272

Draft
wants to merge 42 commits into
base: staging
Choose a base branch
from

Conversation

uri-99
Copy link
Contributor

@uri-99 uri-99 commented Oct 16, 2024

This PR has only the very beggining of solving the issue.
It was an initial commit so as to enable the PR creation, but it still needs developing and testing

  • migrating to the new pausbale
  • migrating the deployer/upgrader if necesarry
  • testing if the upgrade from the previous version looses storage (it is probable, since the batcher will change some storage due to the new inheritance)

JuArce and others added 30 commits June 24, 2024 18:35
…servicemanager' into 480-chore-implement-pausable-in-servicemanager
…ervicemanager

# Conflicts:
#	contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json
#	contracts/src/core/AlignedLayerServiceManager.sol
…ervicemanager

# Conflicts:
#	contracts/script/output/devnet/alignedlayer_deployment_output.json
Copy link

Changes to gas cost

Generated at commit: 87c4d5857c57309ecd3b95565a6aabdc1e856442, compared to commit: b94224dfa0c842923430c2bd99dfedf0d9abb659

🧾 Summary (10% most significant diffs)

Contract Method Avg (+/-) %
AlignedLayerServiceManager createNewTask -181 ✅ -0.24%

Full diff report 👇
Contract Deployment Cost (+/-) Method Min (+/-) % Avg (+/-) % Median (+/-) % Max (+/-) % # Calls (+/-)
AlignedLayerServiceManager 5,254,372 (0) createNewTask
receive
55,975 (-543)
23,318 (0)
-0.96%
0.00%
75,888 (-181)
46,828 (-187)
-0.24%
-0.40%
76,133 (-54)
47,202 (0)
-0.07%
0.00%
76,937 (+75)
47,202 (0)
+0.10%
0.00%
256 (0)
256 (0)

Base automatically changed from 480-chore-implement-pausable-in-servicemanager to staging November 6, 2024 00:44
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.

3 participants