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: paymentInitiator role in ServiceManagerBase #260

Merged
merged 4 commits into from
May 28, 2024

Conversation

diyahir
Copy link
Contributor

@diyahir diyahir commented May 22, 2024

Currently, the entity responsible for posting the range payments is the ServiceManager Owner, but for practical purposes this responsibility will likely be delegated to a separate entity or smart contract.

High level changes:

  • creating ServiceManagerBaseStorage.sol
  • adding paymentInitiator storage var to ServiceManagerBaseStorage
  • adding ability for owner to change paymentInitiator
  • testing changing and proper management of paymentInitiator role
  • formatting based on forge fmt on contracts modified

diyahir added 2 commits May 22, 2024 13:41
- creating ServiceManagerBaseStorage
- adding paymentInitiator storage var to ServiceManagerBase
- adding ability for owner to change paymentInitiator
- formatting based on forge fmt for contracts modified
@diyahir diyahir changed the title Feature: paymentInitiator role in ServiceManagerBase feat: paymentInitiator role in ServiceManagerBase May 22, 2024
diyahir added 2 commits May 23, 2024 10:00
- removing erroneous gap from `ServiceManagerBase`
- typo 50 to 49
- making inheritance backward compatible
Copy link
Collaborator

@8sunyuan 8sunyuan left a comment

Choose a reason for hiding this comment

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

LGTM appreciate the idea and implementation on this. Going to ping for another approval on this before merging.
Also want to flag that there will be another follow-up PR to this based on the PaymentCoordinator being renamed to RewardsCoordinator. WIP PR can be found here
Layr-Labs/eigenlayer-contracts#565

@8sunyuan 8sunyuan requested review from wadealexc and 0x0aa0 May 28, 2024 14:51
Copy link
Collaborator

@wadealexc wadealexc left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the PR.

In the future, please keep code changes and code formatting in separate PRs -- it's hard to review otherwise!

@8sunyuan 8sunyuan merged commit a7b1851 into Layr-Labs:dev May 28, 2024
2 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.

3 participants