Skip to content

Releases: fireblocks/polkadot_staking_sdk

FIreblocks DOT Staking SDK

06 Aug 13:54
3b73b81
Compare
Choose a tag to compare

Version 2.0.0 introduces a breaking change; as per this forum post - https://forum.polkadot.network/t/staking-controller-deprecation-plan-staking-ui-leads-comms/2748 on Polkadot - the controller is being deprecated.

As a result the following breaking changes were introduced:

The function setController will no longer work and will results in an error.
The function bond no longer accepts 4 arguments, instead only 3 arguments - vaultAccountId: string, amount?: number, rewardDestination?: string (the controller argument was removed)