You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of testing the IBC relayer in ibc-rs, we would like to have the capability of generating light blocks. See, for instance, this issue informalsystems/hermes#158.
After discussing briefly with @andrey-kuprianov and @Shivani912, I understand that this is the current state of the light block generation testgen feature:
light block generation feature was added (Adds light block generation to testgen #534) but unfortunately it also introduced a circular dependency between crates testgen and light-client;
the cause for the dependency loop seems to be in the LightBlock struct, which testgen needs but it's defined in light-client (so the former crate would need to depend on the latter)
Possible solutions to avoiding the dependency loop:
Option 2. Move the LightBlock outside of light-client crate and into some (new?) "common types" crate, so that both light-client and testgen would depend on this new crate.
Other solutions or thoughts?
The text was updated successfully, but these errors were encountered:
As part of testing the IBC relayer in
ibc-rs
, we would like to have the capability of generating light blocks. See, for instance, this issue informalsystems/hermes#158.After discussing briefly with @andrey-kuprianov and @Shivani912, I understand that this is the current state of the light block generation testgen feature:
testgen
andlight-client
;LightBlock
struct, whichtestgen
needs but it's defined inlight-client
(so the former crate would need to depend on the latter)Possible solutions to avoiding the dependency loop:
LightBlock
definition intotestgen
LightBlock
outside oflight-client
crate and into some (new?) "common types" crate, so that bothlight-client
andtestgen
would depend on this new crate.Other solutions or thoughts?
The text was updated successfully, but these errors were encountered: