mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 23:33:07 +00:00
TODOs
This commit is contained in:
parent
cc61c7211c
commit
74b1fd25e6
@ -3,21 +3,24 @@
|
|||||||
|
|
||||||
global stop:
|
global stop:
|
||||||
// TODO: Set parent context's CTX_METADATA_RETURNDATA_SIZE to 0.
|
// TODO: Set parent context's CTX_METADATA_RETURNDATA_SIZE to 0.
|
||||||
|
// TODO: Refund unused gas to parent.
|
||||||
%jump(terminate_common)
|
%jump(terminate_common)
|
||||||
|
|
||||||
global return:
|
global return:
|
||||||
// TODO: Set parent context's CTX_METADATA_RETURNDATA_SIZE.
|
// TODO: Set parent context's CTX_METADATA_RETURNDATA_SIZE.
|
||||||
// TODO: Copy returned memory to parent context's RETURNDATA (but not if we're returning from a constructor?)
|
// TODO: Copy returned memory to parent context's RETURNDATA (but not if we're returning from a constructor?)
|
||||||
// TODO: Copy returned memory to parent context's memory (as specified in their call instruction)
|
// TODO: Copy returned memory to parent context's memory (as specified in their call instruction)
|
||||||
|
// TODO: Refund unused gas to parent.
|
||||||
%jump(terminate_common)
|
%jump(terminate_common)
|
||||||
|
|
||||||
global selfdestruct:
|
global selfdestruct:
|
||||||
%consume_gas_const(@GAS_SELFDESTRUCT)
|
%consume_gas_const(@GAS_SELFDESTRUCT)
|
||||||
// TODO
|
// TODO: Destroy account.
|
||||||
|
// TODO: Refund unused gas to parent.
|
||||||
%jump(terminate_common)
|
%jump(terminate_common)
|
||||||
|
|
||||||
global revert:
|
global revert:
|
||||||
// TODO
|
// TODO: Refund unused gas to parent.
|
||||||
%jump(terminate_common)
|
%jump(terminate_common)
|
||||||
|
|
||||||
// The execution is in an exceptional halt-ing state if
|
// The execution is in an exceptional halt-ing state if
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user