-
Notifications
You must be signed in to change notification settings - Fork 64
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 proposedByDelegate
to multisig mapping
#2062
Conversation
This is now on staging. |
.with('proposer', delegate) | ||
.with('proposedByDelegate', delegate) |
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.
Nit: I think this wouldn't have any impact on the tests, but to make the instances generated by this builder more accurate: I think the proposer
and the proposedByDelegate
can't share the same address, right? Otherwise the transaction wouldn't be proposed by a delegate but by the owner themself and therefore proposedByDelegate
would be null
.
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.
@@ -246,4 +249,32 @@ describe('MultisigTransactionExecutionDetails mapper (Unit)', () => { | |||
}), | |||
); | |||
}); | |||
it('should return a MultisigExecutionDetails object with no proposedByDelegate if not present', async () => { |
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.
Super nitpicky: missing newline just before this test case 🙂
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.
Added in f18756f.
Summary
A new
proposedByDelegate
field has been added to multisig transactions on the Transaction Service. This is also needed by the client for delegate integration.This adds the new field to the relevant validation schema and maps it accordingly.
Changes