Skip to content

refactor!: Simplify serialization of NumericSpec in genesis.json#5340

Merged
dima74 merged 1 commit intohyperledger-iroha:mainfrom
dima74:diralik/NumericSpec-serialization
Mar 4, 2025
Merged

refactor!: Simplify serialization of NumericSpec in genesis.json#5340
dima74 merged 1 commit intohyperledger-iroha:mainfrom
dima74:diralik/NumericSpec-serialization

Conversation

@dima74
Copy link
Contributor

@dima74 dima74 commented Feb 28, 2025

Context

Fixes #5335
#5308 (comment)

Solution

Use default JSON serialization for NumericSpec.
Custom Display implementation is kept for ISI display formatting.

Migration Guide

This PR should be considered as part of #5308, so see "Migration Guide" section in #5308


Checklist

  • I've read CONTRIBUTING.md.
  • (optional) I've written unit tests for the code changes.
  • All review comments have been resolved.
  • All CI checks pass.

@dima74 dima74 self-assigned this Feb 28, 2025
@github-actions github-actions bot added the config-changes Changes in configuration and start up of the Iroha label Feb 28, 2025
@github-actions
Copy link

@BAStos525

Signed-off-by: Dmitry Murzin <diralik@yandex.ru>
@mversic mversic force-pushed the diralik/NumericSpec-serialization branch from aac3ec4 to 5966916 Compare March 4, 2025 07:50
@dima74 dima74 merged commit f04591d into hyperledger-iroha:main Mar 4, 2025
11 of 13 checks passed
@dima74 dima74 deleted the diralik/NumericSpec-serialization branch March 4, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config-changes Changes in configuration and start up of the Iroha

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve serialization of NumericSpec

3 participants