Concordium / concordium-contracts-common

Common functionality used by smart contracts and the host environment on the Concordium blockchain.
Mozilla Public License 2.0
10 stars 10 forks source link

Add schema type for byte arrays in hex format #40

Closed Bargsteen closed 2 years ago

Bargsteen commented 2 years ago

Add a schema type for byte arrays in hex format. They should be represented with a JSON string.

This is especially useful with the new cryptographic primitives: https://github.com/Concordium/concordium-rust-smart-contracts/pull/101

Will also require matching changes in cargo-concordium and concordium-client.

This will introduce a new contract schema version and require updating

limemloh commented 2 years ago

This will be solved together with another addition to the schema. The current state of this can be tracked at https://github.com/Concordium/concordium-wasm-smart-contracts/issues/53