93 Commits

Author SHA1 Message Date
Gaith Hallak
bf3a692e0d Revert "Add DBG_CALL and DBG_RETURN"
This reverts commit db9766ac746b7f2d34a6f09a2f528be07b4226ea.
2023-03-18 13:47:46 +03:00
Gaith Hallak
f53029453c Revert "Add a DBG_CALL_R for remote calls"
This reverts commit a336314cfc3930b348fb73352de8c108eba72973.
2023-03-18 13:46:51 +03:00
Gaith Hallak
782bcea5ce Revert "Remove is_tail_call from DBG_CALL_R"
This reverts commit a620c9c34b1c0ace77253ec0eabe6ac0b8e77ad2.
2023-03-18 13:46:50 +03:00
Gaith Hallak
a620c9c34b Remove is_tail_call from DBG_CALL_R 2023-03-17 08:32:28 +03:00
Gaith Hallak
a336314cfc Add a DBG_CALL_R for remote calls 2023-03-17 08:28:39 +03:00
Gaith Hallak
7cac2c215d Update the docs for debug opcodes 2023-02-15 14:03:44 +03:00
Gaith Hallak
db9766ac74 Add DBG_CALL and DBG_RETURN 2023-02-15 13:49:19 +03:00
Gaith Hallak
69a1c41a4f Remove column from DBG_LOC 2022-12-25 11:10:42 +03:00
Gaith Hallak
dc7a7c7d6f Rename DBGLOC to DBG_LOC 2022-12-25 10:30:55 +03:00
Gaith Hallak
dd6ec9bc9b Rename DBGDEF and DBGUNDEF to DBG_DEF and DBG_UNDEF 2022-12-23 20:11:43 +03:00
Gaith Hallak
ee4949777f No safe sanity check for dbgundef 2022-12-23 20:00:06 +03:00
Gaith Hallak
ebe6d0fa7e Change DBGUNDEF to end_bb = true 2022-12-23 19:57:22 +03:00
Gaith Hallak
8fc9773c54 Change the type of arg for dbgdef and dbgundef 2022-12-23 19:30:41 +03:00
Gaith Hallak
fc9a795b49 Add DBGDEF and DBGUNDEF 2022-12-23 19:17:22 +03:00
Gaith Hallak
da64e6ce51 Add DBGLOC fate op 2022-12-07 17:55:44 +03:00
Hans Svensson
822a269f75 Add OPCODES for bitwise operations, addr_to_byte and poseidon hash 2021-11-18 16:31:07 +01:00
radrow
e860e217a0 Better clone&create docs 2021-06-08 13:09:39 +02:00
radrow
7b9c1b856b Upgrade doc generation 2021-06-08 11:26:18 +02:00
Hans Svensson
7d4f3fed10 BYTECODE_HASH should be cheaper 2021-04-30 12:05:17 +02:00
Hans Svensson
1bb24a485b Revert CALL_R/GR/PGR gas changes 2021-04-30 09:14:03 +02:00
Hans Svensson
e4d46bd17a Adjust FATE OPs gas price for Iris 2021-04-29 15:16:48 +02:00
Hans Svensson
0318c60caf Add mechanism for pricing FATE ops differently in IRIS 2021-04-28 13:18:56 +02:00
radrow
69110b2ee8 Rename TX_FEE to just FEE 2021-04-26 15:19:59 +02:00
radrow
b0263319e3 Add TX_FEE 2021-04-26 14:23:20 +02:00
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
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
Ulf Norell
e5bdf583f9 Add protected remote call instruction 2020-03-02 08:40:04 +01:00
Hans Svensson
36559842ae Char.to_upper/lower isn't feasible do String.to_upper/lower 2020-02-26 14:06:50 +01:00
Hans Svensson
167bfcc0e6 Add String.to/from_list Char.to/from_int and Char.to_upper/lower as operations 2020-02-24 10:09:23 +01:00
Hans Svensson
2f11143e5a Align operators (missing spaces) 2020-02-24 10:08:48 +01:00
Hans Svensson
370c7387a9 Add AUTH_TX to FATE operations 2020-02-11 09:34:48 +01:00
Hans Svensson
4565188c6a Add AENS_LOOKUP and ORACLE_EXPIRY as FATE operations 2020-02-03 13:19:08 +01:00
Hans Svensson
e4b09d7c5c Add FATE-ops for BLS12-381 2019-11-27 09:06:20 +01:00
skkw
211ee74df2 fixed documenting of AENS_UPDATE type 2019-11-18 16:00:36 +01:00
skkw
38f4f0ecd7
Merge pull request #81 from aeternity/PT-158904718-aens-update-sophia
add support for AENS.update call
2019-11-12 14:17:11 +01:00
Ulf Norell
176df87bb0 Add ADDRESS_TO_CONTRACT 2019-09-30 13:14:11 +02:00
Ulf Norell
872766260b Bump gas cost for non-trivial instructions 2019-09-30 11:39:38 +02:00
skkw
f184abeb87 add support for AENS.update call 2019-09-10 15:46:04 +02:00
Ulf Norell
17c9656f5c Add FATE instructions for Bytes.concat and Bytes.split 2019-09-09 14:45:23 +02:00
Erik Stenman
b036531dc2
Renumber ops and set base gas. (#78) 2019-09-06 14:13:51 +02:00
Tobias Lindahl
69912db2b6 Make api function for exposing gas costs of ops 2019-09-05 13:27:33 +02:00
sennui
e21abb875e Add argument to claim tx to enable bidding 2019-08-28 11:02:21 +02:00
Hans Svensson
50df849709 VERIFY_SIG_SECP256K1 was too long for code generation 2019-08-21 09:26:01 +02:00
Hans Svensson
dfa9b80a3c Change ECVERIFY to VERIFY_SIG and add proper ECVERIFY 2019-08-21 09:25:28 +02:00
Hans Svensson
efb4afeafa Add IS_PAYABLE opcode 2019-08-16 09:31:27 +02:00
Ulf Norell
fdd660a219
Merge pull request #67 from aeternity/PT-167221635-remote-type-check
PT-167221635 remote type check
2019-08-16 09:10:47 +02:00
Tino Breddin
3954bd22da
Merge pull request #64 from aeternity/newby/ecrecover
[PT-167805291] Add opcode for ecrecover
2019-08-14 16:08:45 +02:00
Ulf Norell
13211887a3
Update src/aeb_fate_generate_ops.erl
Co-Authored-By: Hans Svensson <hanssv@gmail.com>
2019-08-14 09:32:23 +02:00