Open
Conversation
To run you probably will need to have an instance of Iroha online running local, preferably with docker-compose.yml
/*
Expected output:
Asset data: Asset { id: time##user@unreasonable, value: Fixed(Fixed(12.34)) }
Asset data: Asset { id: time##user2@unreasonable, value: Fixed(Fixed(12.34)) }
Error: Transaction was rejected
Caused by:
0: Validation failed
1: Operation is not permitted: TransferBox { source_id: AssetId(time##user@unreasonable), object: 1.0_fx, destination_id: AssetId(time##user2@unreasonable) }: Unsupported operation
Location:
/rustc/f7ca9df69549470541fbf542f87a03eb9ed024b6/library/core/src/convert/mod.rs:716:9
*/
Signed-off-by: Miguel Lemos <miguellemos95@gmail.com>
Signed-off-by: Miguel Lemos <miguellemos95@gmail.com>
Signed-off-by: Miguel Lemos <miguellemos95@gmail.com>
Contributor
|
Sorry for late notice of your PR. This repo is not developed enough yet, and the examples are just drafts! Anyway, it is interesting to see that this transaction is not supported. What version of Iroha do you use? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Alo!
Trying to make an experiment about use of transfer, preferably signed transfers.
But I am encountering issues, to in order to escalate the consultation to you the code-owners I provide here a fork that replicates the issue at hand.
To reproduce the issue:
Question is, would this serve as inspiration/conversation starter for you to provide a working example?