-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GnoVM] OrigSend for realms called from another realm #1887
Comments
Hey, thank you for bringing this up - as far as I know, we do not have a way to do this right now, which is very bizarre considering it is a much needed feature most apps, let alone a DeFi app. For anyone reading - to draw an analogy: I will add this to the next engineering call to be discussed. Thank you @r3v4s again for finding this issue. EDIT: thinking about this a little more, there should only be one type of parsing coins - parsing coins from the immediate, previous caller (similar to what |
PrevRealm
Coins
@thehowl This is an issue that is quite important. Does it make sense to include it into your After discussing internally, we definitely need a way to fetch I see two possible options - either we create a We also need to keep in mind the way we send coins from one realm to another. Right now, this is cc @Kouteki |
The |
@leohhhn thanks for bringing it up, it's actually something I remembered in the back of my head and that I introduced it in the design, though still TODO for now. The idea is that you have the |
PrevRealm
Coins
centralizing on #1475 |
FYI,
std.GetOrigSend()
will return very first coin that being sent in current stack frame.For example,
In above case, '1234ugnot' is origSend but what about '999ugnot'?
As view of ContractB, is there ways to parse 999ugnot (which isn't orig send) ??
txtar testing
The text was updated successfully, but these errors were encountered: