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
Currently, only InstructionBox implements Instruction out of all ISI wrappers. I expected RegisterBox, MintBox and the rest of the wrappers to be usable with iroha.submit_*() directly, but they are not. I think it would be more ergonomic if they were.
The text was updated successfully, but these errors were encountered:
Additionally, change instances of impl IntoIterator<Item = impl Instruction> function parameters to impl IntoIterator<Item = I>, I: Instruction, which is more flexible due to the turbofish syntax being available. This would allow wrapping multiple instructions into *Boxes without binding them to a separate variable.
Currently, only
InstructionBox
implementsInstruction
out of all ISI wrappers. I expectedRegisterBox
,MintBox
and the rest of the wrappers to be usable withiroha.submit_*()
directly, but they are not. I think it would be more ergonomic if they were.The text was updated successfully, but these errors were encountered: