Skip to content

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

Merged
merged 6 commits into from
Jul 7, 2020
Merged

merge PR 477 from 1.0 #508

merged 6 commits into from
Jul 7, 2020

Conversation

dkent600
Copy link
Contributor

@dkent600 dkent600 commented Jul 6, 2020

Merges #477 from 1.0

@dkent600 dkent600 requested a review from jellegerbrandy July 6, 2020 13:14
@@ -138,7 +138,7 @@ export class FundingRequest
method: 'propose',
args: [
options.beneficiary,
options.amount.toNumber(),
options.amount.toString(),
Copy link
Contributor

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 ?

Copy link
Contributor Author

@dkent600 dkent600 Jul 7, 2020

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.

Copy link
Contributor

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
> {
> {
Copy link
Contributor

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 ?

Copy link
Contributor Author

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.

@orenyodfat orenyodfat merged commit 1dc14f0 into client-2-0 Jul 7, 2020
@orenyodfat orenyodfat deleted the merge477From1.0 branch July 7, 2020 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants