We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The execution engine part is mostly found here: https://notes.ethereum.org/s/HylpjAWsE#Shard-processing
Official discussion thread: https://ethresear.ch/t/a-layer-1-minimizing-phase-2-state-execution-proposal/5397
We should investigate the feasibility of this proposal in ewasm and provide feedback on the ethresearch forum.
The text was updated successfully, but these errors were encountered:
A translation of the proposal into (non-comprehensive) Ewasm design follows:
main()
getDataLength() -> i32
copyData(offset: i32ptr, length: i32, memoryOffset: i32ptr)
memoryOffset
setStorage(key: i32ptr, valuePtr: i32ptr, valueLength: i32)
getStorageSize(key: i32ptr) -> i32
getStorage(key: i32ptr, offset: i32, length: i32, memoryOffset: i32ptr)
saveReceipt(target: i32ptr, dataPtr: i32ptr, dataLength: i32)
call(id: u64, dataPtr: i32ptr, dataLength: i32) -> i32
getResponseSize() -> i32
call
getResponse(offset: i32, length: i32, memoryOffset: i32ptr)
currentShard() -> u64
getRecentBeaconStateRoot(slot: i32, memoryOffset: i32ptr)
getRecentShardStateRoot(slot: i32, memoryOffset: i32ptr)
abort()
finish()
executeCode(codePtr: i32ptr, codeLength: i32, dataPtr: i32ptr, dataLength: i32)
Differences to @vbuterin's version:
copyData
Sorry, something went wrong.
No branches or pull requests
The execution engine part is mostly found here: https://notes.ethereum.org/s/HylpjAWsE#Shard-processing
Official discussion thread: https://ethresear.ch/t/a-layer-1-minimizing-phase-2-state-execution-proposal/5397
We should investigate the feasibility of this proposal in ewasm and provide feedback on the ethresearch forum.
The text was updated successfully, but these errors were encountered: