Skip to content

Conversation

@0x009922
Copy link
Contributor

Description

Since there is still no consensus about using human readable types in configuration (#4294, #4295), I decided to at least make it explicit that they aren't supported.

  • Reverted use of _ms suffix for millisecond numbers
  • Used _bytes suffix for torii.max_content_length_bytes
  • Updated config templates
  • Refactored internals:
    • Renamed HumanDuration to DurationMs, and HumanBytes to just Bytes
    • Chore refactors

@0x009922 0x009922 added config-changes Changes in configuration and start up of the Iroha Refactor Improvement to overall code quality labels May 30, 2024
@0x009922 0x009922 self-assigned this May 30, 2024
@github-actions
Copy link

@BAStos525

nxsaken
nxsaken previously approved these changes May 30, 2024
@0x009922
Copy link
Contributor Author

CI failed due to a single unused import.

I made this rule a warning locally. And, I don't think it should be a hard error in general. Warning is just fine in all circumstances.

nxsaken
nxsaken previously approved these changes May 30, 2024
nxsaken
nxsaken previously approved these changes May 30, 2024
@0x009922 0x009922 force-pushed the fix-human-non-human-config-types branch 3 times, most recently from 14cffe8 to 9a1f880 Compare May 31, 2024 09:10
VAmuzing
VAmuzing previously approved these changes Jun 2, 2024
@0x009922 0x009922 dismissed stale reviews from VAmuzing and nxsaken via 631c704 June 6, 2024 01:17
@0x009922 0x009922 force-pushed the fix-human-non-human-config-types branch 2 times, most recently from 631c704 to 89306c7 Compare June 6, 2024 01:24
@nxsaken nxsaken force-pushed the fix-human-non-human-config-types branch from 89306c7 to 4234725 Compare June 10, 2024 08:12
nxsaken
nxsaken previously approved these changes Jun 10, 2024
@0x009922 0x009922 force-pushed the fix-human-non-human-config-types branch from 4234725 to d224e9d Compare June 11, 2024 08:38
@github-actions github-actions bot added the api-changes Changes in the API for client libraries label Jun 11, 2024
@0x009922 0x009922 requested review from mversic and nxsaken June 11, 2024 08:39
@mversic mversic requested a review from nxsaken June 11, 2024 10:27
mversic
mversic previously approved these changes Jun 11, 2024
nxsaken
nxsaken previously approved these changes Jun 11, 2024
@0x009922 0x009922 dismissed stale reviews from nxsaken and mversic via 4dc45ea June 14, 2024 08:04
@0x009922 0x009922 force-pushed the fix-human-non-human-config-types branch from d224e9d to 4dc45ea Compare June 14, 2024 08:04
@0x009922 0x009922 requested review from mversic and nxsaken June 14, 2024 08:04
@mversic mversic enabled auto-merge (squash) June 14, 2024 08:05
@mversic mversic merged commit 5214a6a into hyperledger-iroha:main Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-changes Changes in the API for client libraries config-changes Changes in configuration and start up of the Iroha Refactor Improvement to overall code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants