fork | group |
---|---|
Byzantium |
Environmental Information |
Index 1 is top of the stack. See PUSH.
A sub context can be created with CALL, CALLCODE, DELEGATECALL or STATICCALL.
size
: byte size of the return data from the last executed sub context.
* | Input | Output |
---|---|---|
1 |
32 |
[Reproduce in playground][1]
[1]: /playground?unit=Wei&codeType=Mnemonic&code='gCJWthat%20cJX-ichB.(Y7F7jjjjjjjjjjF)KY6Q527F6Q526020832KYq0602052602980064KmmgC!_X-ith_WcodVabove~77))mCREATE%20gPuts_new%20X%20addres.on_stackmmgCall_deployed%20X))))mDUP5G4%200xjmSTATICCALLmmgNow-Vshould%20havVourB%20data%20sizVof%2032mRETURNDATASIZEm'G1%20qQQQm%5Cnj*g%2F%2F%20_%20thVYG(0xXcontractWconstructor%20Ve%20Q000KmMSTOREJ!.a%20GmPUSHB%20return86QF3qqqq.s%20-%20wFF)~0(32%20!reate%01!()-.8BGJKQVWXY_gjmq_
The state changes done by the current context are reverted in those cases:
- Not enough gas.
- Stack overflow.