Add CREATE, CLONE and BYTECODE_HASH opcodes. Add bytecode typerep and datatype #211

Merged
zxq9 merged 5 commits from factories into master 2021-03-31 16:45:57 +09:00

5 Commits

Author SHA1 Message Date
radrow
1498e1cdc2 Remove CREATE_G 2021-03-24 14:41:44 +01:00
radrow
41b80b5d44 Gas versions 2021-03-24 14:22:09 +01:00
radrow
fd9f15789c Fix test 2021-03-24 13:13:05 +01:00
radrow
8d447e803b CREATE and CLONE now push to the stack 2021-03-23 20:37:36 +01:00
radrow
83616392e1 Add CREATE, CLONE and BYTECODE_HASH opcodes. Add bytecode typerep and datatype.
Format fixes. Changed type of BLOCKHASH to variant.

Fixed number of parameters to include target

Changed op args

Protected create

Make new type store a SERIALIZED CODE (instead of RAW BYTECODE)

Fix test

Format

Make create not protected

format

Fix serialization of fate_code type

Align

Add rebar3

Use shipped rebar3

Fix serialization, test

Fix tests

Rename fate_code to contract_bytearray

Update README
2021-03-23 12:27:35 +01:00