-
Notifications
You must be signed in to change notification settings - Fork 17
merge PR 477 from 1.0 #508
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
Conversation
@@ -138,7 +138,7 @@ export class FundingRequest | |||
method: 'propose', | |||
args: [ | |||
options.beneficiary, | |||
options.amount.toNumber(), | |||
options.amount.toString(), |
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 plugin is not supported in alchemy yet. so why update that ?
@jellegerbrandy is that needed for Common ?
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.
the change is needed in any case. without it we would have a bug by casting a BN to a number, assuming the BN in this case can easily overflow a number
.
However, just to note: I don't think this change was absolutely needed for this particular PR.
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.
Yeah, this is good 👍
@@ -43,7 +44,7 @@ export class GenericPlugin extends ProposalPlugin< | |||
IGenericPluginState, | |||
IGenericPluginProposalState, | |||
IProposalCreateOptionsGS | |||
> { | |||
> { |
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 additiional space is here ?
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 was generated by my editor. I'm not sure what rules it is following, but the change makes sense by aligning the bracket with the lines above. Looks clean and harmless enough to me.
Merges #477 from 1.0