-
Notifications
You must be signed in to change notification settings - Fork 1
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: handle arbitrary transaction motion #304
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,6 @@ export default async (event: ContractEvent): Promise<void> => { | |
await writeActionFromEvent(event, colonyAddress, { | ||
type: ColonyActionType.MakeArbitraryTransaction, | ||
initiatorAddress: receipt.from, | ||
recipientAddress: receipt.to, | ||
fromDomainId: getDomainDatabaseId(colonyAddress, Id.RootDomain), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure we actually need this as it is only possible to create arbitrary transactions in the root domain, although looking at some of the other actions we use this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a good point, there's no concept of domain when it comes to arbitrary transactions. I would opt for removing this to avoid confusion. |
||
arbitraryTransactions: [currentArbitraryTransaction], | ||
}); | ||
|
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 see what you mean now, it makes sense to remove this as it would always point to the colony rather than the target contract address of the arbitrary transaction.