Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prune usage of V1 structs from codebase #3887

Closed
mversic opened this issue Sep 13, 2023 · 1 comment
Closed

Prune usage of V1 structs from codebase #3887

mversic opened this issue Sep 13, 2023 · 1 comment
Assignees
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST

Comments

@mversic
Copy link
Contributor

mversic commented Sep 13, 2023

Let's see to what extent can we rewrite the code (source code or tests) that destructures versioned enum into a concrete type:

  • for example VersionedSignedBlock::V1 must not be used except in data_model
  • no code outside of data_model should depend on a specific version
@mversic mversic added the iroha2-dev The re-implementation of a BFT hyperledger in RUST label Sep 13, 2023
@Stukalov-A-M Stukalov-A-M self-assigned this Jan 29, 2024
@Stukalov-A-M
Copy link
Contributor

To hide internal structure of versioning structs from external users and a public API.
To keep access for internal crates.

Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Jan 31, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Jan 31, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Jan 31, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Jan 31, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 2, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 2, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 5, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 7, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 8, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 8, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 8, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 8, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 12, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 12, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 12, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 13, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 13, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 13, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 13, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 13, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 13, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit to Stukalov-A-M/iroha that referenced this issue Feb 13, 2024
…ersioned structs from the public API.

Signed-off-by: Stukalov-A-M <[email protected]>
Stukalov-A-M added a commit that referenced this issue Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST
Projects
None yet
Development

No branches or pull requests

2 participants