Commit Graph

318 Commits

Author SHA1 Message Date
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
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
Artur Puzio 135a27c992 Merge pull request #95 from aeternity/precalculate-init-id
Avoid unnecessery calls to eblake2
2021-03-23 08:57:11 +00:00
Artur Puzio b30f8a2bfd Avoid unnecessery calls to eblake2
We frequently need identifier of init function. Store it precalculated
in headers.
2021-03-23 09:27:25 +01:00
Artur Puzio 9d81358daf Merge pull request #96 from aeternity/rebar
Use aeternity rebar
2021-03-23 08:24:40 +00:00
radrow 5493bece71 Include rebar 2021-03-22 17:28:21 +01:00
radrow c90bb0c6db Use aeternity rebar 2021-03-22 17:27:42 +01:00
Hans Svensson 7f0d3090d4 Merge pull request #93 from aeternity/GH-203-protected-calls
Add protected call FATE instruction
2020-03-02 12:07:50 +01:00
Ulf Norell e5164330b0 Get valid opcodes from instruction list 2020-03-02 08:48:29 +01:00
Ulf Norell e5bdf583f9 Add protected remote call instruction 2020-03-02 08:40:04 +01:00
Ulf Norell 719bf26a38 Set store map size theshold to 0 ifdef TEST 2020-03-02 08:37:30 +01:00
Hans Svensson 5ef5d455b4 Merge pull request #92 from aeternity/aesophia/GH-176-more_string_functions
Char.to_upper/lower isn't feasible do String.to_upper/lower
2020-02-26 18:22:03 +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 94d0b984e9 Merge pull request #91 from aeternity/aesophia/GH-176-more_string_functions
Aesophia/gh 176 more string functions
2020-02-25 09:01:17 +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 ff5a4c7dd5 Merge pull request #90 from aeternity/GH-202-Auth_tx_introspection
Add AUTH_TX to FATE operations
2020-02-11 14:18:39 +01:00