Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Bump @polkadot/api to 1.16 #808

Merged
merged 9 commits into from May 27, 2020
Merged

Bump @polkadot/api to 1.16 #808

merged 9 commits into from May 27, 2020

Conversation

Tbaut
Copy link
Collaborator

@Tbaut Tbaut commented May 26, 2020

  • This includes a hack, that needs to be removed when the chain has upgraded.
  • There's a lot of change in the auth-server package.json but those are mostly space->tabs
  • Refactoring ProposalInfo/vote so that we can get the amount of voters (needed in 1.16) in both component without duplicating api call.

@Tbaut Tbaut marked this pull request as ready for review May 27, 2020 13:30
@Tbaut Tbaut requested a review from niklabh May 27, 2020 13:31
: [proposalId];

// eslint-disable-next-line no-extra-parens
const second = (api.tx.democracy as any).second(...params);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the hack

Copy link
Contributor

@niklabh niklabh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working fine

@Tbaut Tbaut merged commit 32f1fb9 into master May 27, 2020
@Tbaut Tbaut deleted the tbaut-bump-api-1.16 branch May 27, 2020 15:14
@Tbaut
Copy link
Collaborator Author

Tbaut commented May 27, 2020

merging quickly so that we can test this a bit on test.polkassemby and not release in hurry with the runtime upgrade.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants