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
To use client.submit() for CustomInstructionExpr, it is necessary for CustomInstructionExpr to implement Instruction and Sealed traits. This will require some changes to iroha_data_model (at least make Sealed trait public). I am not sure if it is worth it.
Currently I added pub fn into_instruction(self) -> InstructionBox method to CustomInstructionExpr, so it is possible to write:
let isi = CustomInstructionExpr::If(...);
client.submit_blocking(isi.into_instruction())?;
Originally posted by @dima74 in #4645 (comment)
The text was updated successfully, but these errors were encountered: