-
Notifications
You must be signed in to change notification settings - Fork 215
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
Create 0141-remote-onchain-execution.md #141
base: master
Are you sure you want to change the base?
Create 0141-remote-onchain-execution.md #141
Conversation
|
||
# Summary | ||
|
||
This TEP proposes a way of how one contract may execute code (including get nethods) or read data of other contracts in asynchronous manner. Note: data may and often will become outdated during delivery and it MUST to be taken into account dduring protocol ddevelopment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
during
I don't understand why are you want to use all three flags (ihr, bounce, bounced) if you need only first. less changes in schemes. |
also not all messages in the past has flag ihr_disabled = true
so we will need to parse old messages with one scheme and new with another based on additional context information |
|
|
||
// We keep it to be able to parse history | ||
int_msg_info_ihr_usual$0010 _:CommonInternalMsgInfo = CommonMsgInfo; | ||
int_msg_info_ihr_no_bounce$0000 _:CommonInternalMsgInfo = CommonMsgInfo; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about ..._ihr_bounced$0001
? That case is not possible?
``` | ||
|
||
|
||
Now we "freed" `0111` prefix space and can use it for new types of internal messages, for instance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theoretically, prefix 0011
is also not possible (ihr + bounce + bounced).
|
||
# Summary | ||
|
||
This TEP proposes a way of how one contract may execute code (including get nethods) or read data of other contracts in asynchronous manner. Note: data may and often will become outdated during delivery and it MUST to be taken into account dduring protocol ddevelopment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"get nethods", "dduring", "ddevelopment" 🤔
Another opportunity for new type of special messages is InternalExternal type:
This will allow
can be used for this |
No description provided.