Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Add block assets schema for the endpoint app_getSchema #7144

Closed
nagdahimanshu opened this issue Apr 28, 2022 · 1 comment
Closed

Add block assets schema for the endpoint app_getSchema #7144

nagdahimanshu opened this issue Apr 28, 2022 · 1 comment

Comments

@nagdahimanshu
Copy link

nagdahimanshu commented Apr 28, 2022

Description

Include block assets schema in response of endpoint app_getSchema

assetSchema = {
  "type": "object",
  "required": ["moduleID", "data"],
  "properties": {
    "moduleID": {
      "dataType": "uint32",
      "fieldNumber": 1
    },
    "data": {
      "dataType": "bytes",
      "fieldNumber": 2
    }
  }
}

Motivation

  • It is necessary to include the block assets schema while retrieving all schemas from SDK
  • It is required to decode the complete block
@shuse2 shuse2 closed this as completed May 30, 2022
Repository owner moved this from Backlog to Done in Lisk SDK Version 6.0.0 May 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants