+
Skip to content

Pallet RWS2.0 improvements [draft] #379

@dkuanyshbaev

Description

@dkuanyshbaev

BREAKING CHANGES

Requests for improvements:

Proposed solution plan:

Implementation requested improvements while backward compatibility brings exceed complexity and code hacks. To keep sources simple and safe breaking changes are introduced, keep aware.

  • New subscription is inactive by default.
  • Subscription activation required by call claim extrinsic.
  • During activation additional parameter can be added for activation on other account.
  • Activation method automatically adds owner account into device list.
  • Change subscription_id type to u64.
  • Subscription ledger splits in two different storages: subscription kind ledger and subscription owner ledger.
  • Add storage migration required and will be processed during runtime upgrade.

Some cleanups:

  • Remove oracles.
  • Remove set_subscription and set_oracle extrinsics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载