Skip to content

feat: Create PermissionedMulticall3 #988

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nicholaspai
Copy link
Member

We're running into a frustrating situation where a contract like SP1Helios.update() can only be called by a permissioned EOA but we'd like to batch this call with an unpermissioned call to Universal_SpokePool.execute().

This doesn't work because there is no way to batch the update() call from an EOA with a contract call.

Therefore if we had a function like this PermissionedMulticall3 that we could whitelist as a SP1Helios.update() caller, then we could batch it with execute()

We're running into a frustrating situation where a contract like `SP1Helios.update()` can only be called by a permissioned EOA but we'd like to batch this call with an unpermissioned call to `Universal_SpokePool.execute()`.

This doesn't work because there is no way to batch the `update()` call from an EOA with a contract call.

Therefore if we had a function like this PermissionedMulticall3 that we could whitelist as a `SP1Helios.update()` caller, then we could batch it with `execute()`
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.

1 participant