-
Notifications
You must be signed in to change notification settings - Fork 45
Add relayer and guardian to controllers #574
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
Add relayer and guardian to controllers #574
Conversation
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.
I wonder if we should have them as regular optional arguments, missing by default, instead of "empty" addresses.
| it("should interact with 'answer'", async function () { | ||
| setupUnitTestWatcherTimeouts(); | ||
|
|
||
| this.timeout(30000); |
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.
This file contains unit tests - we can skip setting the timeout.
| async createTransactionForGuardingAccount( | ||
| sender: IAccount, | ||
| nonce: bigint, | ||
| options: { guardian?: Address; relayer?: Address }, |
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.
here, the guardian in not needed, should be removed.
| async createTransactionForUnguardingAccount( | ||
| sender: IAccount, | ||
| nonce: bigint, | ||
| options: { guardian?: Address; relayer?: Address }, |
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.
here, guardian is mandatory
No description provided.