Skip to content

Add legacy rws.set_devices() support #1

@Fingerling42

Description

@Fingerling42

Context

esp-robonomics-client currently supports sending datalog.record and rws.call(owner, datalog.record(data)) by manually encoding Robonomics extrinsics.

As a quick compatibility improvement, we need to add support for the legacy RWS pallet call:

RWS.set_devices(devices: BoundedVec<AccountId, MaxDevicesAmount>)

In the current Robonomics runtime:

  • RWS pallet index: 55 / 0x37
  • set_devices call index: 2
  • max devices: 32
  • call argument: SCALE-encoded Vec<AccountId32>

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions