Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
refactor: add BaseExecutor with built in permit #202
refactor: add BaseExecutor with built in permit #202
Changes from 30 commits
6b72474
45fa560
0708ef9
deea3af
ea07183
4d7cb05
962dcc7
6328274
d0a7ff0
6429b25
d8b0ce4
ab81231
2d182a1
2231d74
68f1fcb
a509343
122ed24
fa80cda
7cee8ef
7df8e44
ef4ea2f
af93887
8e9caaf
ad9622d
00703ba
643398a
0cb79d7
c33b4e4
2dcef7c
6fc26bd
ebe31f9
d3526ef
acacd7e
f7d3df6
b1e5f03
8c6d149
e67d845
114333c
093964a
7e5f863
858125d
882f9e5
fa2d1b1
40220e2
eadd405
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this virtual?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made this virtual so we can add the
onlyWhitelistedCaller
modifier to itThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not a huge fan of this auth scheme, especially for
reactorCallback
because that must be restricted to only being called by the reactor but since its virtual in this base executor we can't enforce that here. So it's possible that integrators could make the mistake of not gating it by callerThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, discussed offline and we should remove impl here and just override in inheriting contract