-
Notifications
You must be signed in to change notification settings - Fork 8
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
chore: Add HC-AA docs #197
Conversation
.gitbook/contents/developer/features/aa-basics/hybrid-compute.md
Outdated
Show resolved
Hide resolved
.gitbook/contents/developer/features/aa-basics/hybrid-compute.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
.gitbook/contents/developer/features/aa-basics/hybrid-compute.md
Outdated
Show resolved
Hide resolved
'verificationGasLimit': "0x10000", | ||
'preVerificationGas': "0x10000", | ||
} | ||
callGas = 705*len(resp_payload) + 170000 |
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.
Note that this gas calculation is subject to change. I will be adding a version flag to the RPC request so that we can manage changes to the protocol, and moving some of this code into a library so that users won't have to deal with all of the complexity directly.
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.
noted, thx!
{ | ||
"jsonrpc":"2.0", | ||
"id":0, | ||
"method":"ASD97e0d7ba", |
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.
One question I have is whether it makes sense to implement the JSON-RPC "method" like this, or whether people would prefer to call it something fixed like "eth.offchain" and put the function selector into its own field as part of the request params. Opinions are welcome.
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.
yes the more cleartext the better imho.
Documentation
of the new Hybrid Compute within AA