Using iroha_data_model crate as a dependency withouttransparent_api feature.
Getting these compilation errors from dependent iroha_genesis:
error[E0616]: field `sumeragi` of struct `iroha_data_model::parameter::Parameters` is private
--> iroha/genesis/src/lib.rs:358:18
|
358 | Sumeragi(sumeragi.max_clock_drift_ms) => SumeragiParameter::MaxClockDriftMs,
| ^^^^^^^^ private field
Context
Using
iroha_data_model
crate as a dependency withouttransparent_api
feature.Getting these compilation errors from dependent
iroha_genesis
:Fix
Add
transparent_api
feature:https://github.com/hyperledger/iroha/blob/b4329102eeff4623ea27a23bdc3c86c26ee8a920/genesis/Cargo.toml#L16