334 Commits

Author SHA1 Message Date
zxq9 cc4fd04019 Update test path
Gajumaru Bytecode Tests / tests (push) Successful in 47m48s
2025-02-24 20:59:02 +09:00
zxq9 97cea33be8 Dep ref update (#237)
Gajumaru Bytecode Tests / tests (push) Successful in -3m36s
Reviewed-on: #237
Co-authored-by: Craig Everett <zxq9@zxq9.com>
Co-committed-by: Craig Everett <zxq9@zxq9.com>
2025-01-23 21:41:25 +09:00
zxq9 1cdcb9150b Revamp (#235)
Gajumaru Bytecode Tests / tests (push) Successful in -3m34s
Add Gitea tests
Rename
Remove oracle references
Package for zx

Reviewed-on: #235
Reviewed-by: dimitar.p.ivanov <dimitarivanov@qpq.swiss>
Co-authored-by: Craig Everett <zxq9@zxq9.com>
Co-committed-by: Craig Everett <zxq9@zxq9.com>
2025-01-22 21:12:54 +09:00
Hans Svensson b47b2fe23c Merge branch 'drop_oracles' into 'master'
A few mandatory changes to FATE ops to drop Oracles

See merge request ioecs/aebytecode!117
2024-03-07 11:28:09 +00:00
Hans Svensson 5e38d6e829 A few mandatory changes to FATE ops to drop Oracles 2024-03-07 12:18:24 +01:00
Hans Svensson 009e036192 Merge pull request #116 from aeternity/add_chain_network_id
Add NETWORK_ID FATE instruction
v3.4.0
2023-06-30 18:25:31 +02:00
Hans Svensson 37808419a8 Bump version to 3.4.0 2023-06-22 10:12:46 +02:00
Hans Svensson f4c3782888 Patch check_numbering to allow for DBG_ at end 2023-06-22 10:08:41 +02:00
Hans Svensson 1688f85f2b Add NETWORK_ID and push DBG_* to higher opcodes 2023-06-22 08:35:32 +02:00
Gaith Hallak b38349274f Bump version to 3.3.0 (#115) v3.3.0 2023-05-28 13:40:20 +03:00
Hans Svensson b8d593e351 Add instructions for arbitrary sized byte arrays (#114)
* Encode/decode bytes()/{bytes, any} as bytes(-1)

* Add 5 new bytes instructions

* reorder instructions and clarify some operations
2023-05-27 17:13:20 +03:00
Gaith Hallak 0f7529b26a Introduce debugging instructions (#113)
* Add DBGLOC fate op

* Add DBGDEF and DBGUNDEF

* Change the type of arg for dbgdef and dbgundef

* Change DBGUNDEF to end_bb = true

* No safe sanity check for dbgundef

* Rename DBGDEF and DBGUNDEF to DBG_DEF and DBG_UNDEF

* Revert "No safe sanity check for dbgundef"

This reverts commit ee4949777f.

* Rename DBGLOC to DBG_LOC

* Remove column from DBG_LOC

* Add DBG_CALL and DBG_RETURN

* Update the docs for debug opcodes

* Add a DBG_CALL_R for remote calls

* Remove is_tail_call from DBG_CALL_R

* Revert "Remove is_tail_call from DBG_CALL_R"

This reverts commit a620c9c34b.

* Revert "Add a DBG_CALL_R for remote calls"

This reverts commit a336314cfc.

* Revert "Add DBG_CALL and DBG_RETURN"

This reverts commit db9766ac74.

* Add DBG_CONTRACT op

* Upgrade aeserialization dep

* Use aeserialization v1.0.0

* Use aeserialization tag v1.0.0

* Remove debug instructions from AEVM
2023-05-25 18:09:42 +03:00
Gaith Hallak 2a0a397afa Bump version to 3.2.0 (#112)
* Bump version to 3.2.0

* Bump version in rebar.config
v3.2.0
2022-10-07 13:25:57 +03:00
Radosław Rowicki 093bcd6204 Merge pull request #111 from aeternity/enable-fate-code-mods
Export FATE code setters
2022-10-03 14:33:59 +02:00
radrow 6601ad2d38 Enable FATE code modifications 2022-09-16 10:54:48 +02:00
Dincho Todorov 578ebe2a8a Switch to OTP23 (#110) 2022-08-29 14:26:17 +03:00
Radosław Rowicki 8269dbd71e Update rebar3 and aeserialization (#109)
* Update rebar3 and aeserialization

* Version
v3.1.1
2022-07-27 17:22:42 +04:00
Hans Svensson 08cc0a9fcd Merge pull request #108 from aeternity/fix_doc_generation
Fix document generation script
v3.1.0
2021-12-10 14:00:20 +01:00
Hans Svensson 84f20ab683 Fix document generation script 2021-12-10 11:53:54 +01:00
Hans Svensson 7497345928 Merge pull request #106 from aeternity/ceres_extension
Add OPCODES for bitwise operations, addr_to_byte and poseidon hash
2021-11-25 08:33:33 +01:00
Hans Svensson 822a269f75 Add OPCODES for bitwise operations, addr_to_byte and poseidon hash 2021-11-18 16:31:07 +01:00
seanhinde 0699f35b03 Merge pull request #107 from aeternity/otp-24-support
Fix OTP-24 warnings and add OTP-24 compatible rebar3
2021-11-09 16:27:23 +01:00
Sean Hinde 3829e29a63 Fix dialyzer complaint about reading core erlang 2021-11-08 17:56:57 +01:00
Sean Hinde 52e9d30f76 Fix OTP-24 warnings and add OTP-24 compatible rebar3 2021-11-08 17:35:17 +01:00
Hans Svensson da7f00ae5d Merge pull request #105 from aeternity/doc-gen
Ease the process of doc generation
2021-11-04 08:45:26 +01:00
radrow 326fca709f Add opcodes gen 2021-06-08 13:33:33 +02:00
radrow e860e217a0 Better clone&create docs 2021-06-08 13:09:39 +02:00
radrow bc48b5d62f Styling in doc gen 2021-06-08 11:43:36 +02:00
radrow 7b9c1b856b Upgrade doc generation 2021-06-08 11:26:18 +02:00
Hans Svensson 05dfd7ffc7 Merge pull request #104 from aeternity/iris_gas_prices_adjustment
BYTECODE_HASH should be cheaper
v3.0.0
2021-04-30 12:16:57 +02:00
Hans Svensson 7d4f3fed10 BYTECODE_HASH should be cheaper 2021-04-30 12:05:17 +02:00
Hans Svensson 4c0906398e Merge pull request #103 from aeternity/iris_gas_prices_adjustment
Revert CALL_R/GR/PGR gas changes
2021-04-30 09:45:18 +02:00
Hans Svensson 1bb24a485b Revert CALL_R/GR/PGR gas changes 2021-04-30 09:14:03 +02:00
Hans Svensson abd12b599f Merge pull request #102 from aeternity/iris_gas_prices_adjustment
Adjust FATE OPs gas price for Iris
2021-04-29 20:31:58 +02:00
Hans Svensson e4d46bd17a Adjust FATE OPs gas price for Iris 2021-04-29 15:16:48 +02:00
Hans Svensson 142502179c Merge pull request #101 from aeternity/protocol_bound_gas_price
Add mechanism for pricing FATE ops differently in IRIS
2021-04-28 15:10:43 +02:00
Hans Svensson 0318c60caf Add mechanism for pricing FATE ops differently in IRIS 2021-04-28 13:18:56 +02:00
Radosław Rowicki eb8810a783 Merge pull request #100 from aeternity/call-fee
Call fee
2021-04-27 09:50:31 +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
Artur Puzio 951db9f384 Merge pull request #99 from aeternity/revert-string-compare
Restore old binary and string comparison
2021-04-14 11:25:35 +00:00
Artur Puzio fe11ee31ab Restore old binary and string comparison
Binary and string comparison is under consensus

This partially reverts commit d16f9a9579.
2021-04-14 13:07:24 +02:00
Artur Puzio 0c010cfd0d Merge pull request #98 from aeternity/bring-sanity-to-compare
Bring sanity to compare
2021-04-07 13:27:01 +00:00
Artur Puzio d16f9a9579 Compare binaries and strings in standard manner
By first different byte, if one is prefix of another than prefix is
smaller
2021-04-07 11:31:02 +02:00
Artur Puzio f53f61e554 Comparison cleanup
- more verbose comparison function
- adjusted bytes and bytecode comparison for consistency
- fixed oracle query type
2021-04-07 11:30:53 +02:00
Radosław Rowicki 84e246d9da Merge pull request #94 from aeternity/factories
Add CREATE, CLONE and BYTECODE_HASH opcodes. Add bytecode typerep and datatype
2021-03-31 09:45:57 +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 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