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
TRC: Trigger constant contract #31
Comments
Good point! I like the idea to explicitly trigger constant function. So, how would you deal with our origin triggerSmartContract? Should we simply keep it the same as before? |
What happens when encounter the following situations?
|
|
This was referenced Apr 8, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Abstract
This TIP specifies a new api, which triggers the constant contract without ABI.
Motivation
Many developers hope not upload the ABI, and trigger the contract by their judgment.
Specification
A new api,
triggerConstantContract
, is introduced.The
triggerConstantContract
parameters are the same as thetriggerContract
.Http interface example:
In case the type of method is not constant will gets error.
Backwards Compatibility
There are no backwards compatibility concerns.
Test Cases
triggerConstantContract
.triggerConstantContract
.The text was updated successfully, but these errors were encountered: