hyperledger / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
434 stars 277 forks source link

Construct a set of data types to test data-model from SDKs side #2020

Open 0x009922 opened 2 years ago

0x009922 commented 2 years ago

The Problem

There are a lot of data types in Iroha Data Model. Each SDK (Java, Swift, JS etc) has to generate the schema and test generated codecs with heavy e2e tests to cover ideally each data type.

The Solution

Core team could generate a set of data type samples with their encoded form, thus SDK developers can re-use it on their own to ensure the correctness of their SCALE infrastructure.

It could:

0x009922 commented 2 years ago

Created such samples for JS SDK: output.json.

appetrosyan commented 2 years ago

Dead link

0x009922 commented 2 years ago

@appetrosyan, here is a permalink.