Compare commits

...

10 Commits

Author SHA1 Message Date
Hans Svensson 177bf604b2 Merge pull request #18 from aeternity/add_ga_meta_tx_auth_data_type
Add ga_meta_tx_auth_data tag
2022-12-20 11:31:35 +01:00
Hans Svensson 95d248aa0c Add ga_meta_tx_auth_data tag 2022-12-20 08:08:51 +01:00
Dincho Todorov 0f9dbe9f52 Switch to OTP23 (#17) 2022-08-29 14:26:09 +03:00
seanhinde eb68fe331b Merge pull request #16 from aeternity/use-latest-enacl-api
Update to use latest enacl with new API
2021-11-02 09:40:44 +01:00
Sean Hinde 27bb4331aa Small tidy up 2021-11-02 09:36:45 +01:00
Sean Hinde 9b36c771c7 Update to use latest enacl with new API 2021-11-01 18:37:12 +01:00
Dimitar Ivanov 58e34ae7b5 Merge pull request #14 from aeternity/GH-2851-paying_for_tx
Add paying_for_tx to aeser_chain_objects
2021-03-10 15:49:31 +02:00
Dimitar Ivanov 87baccba42 Merge pull request #13 from aeternity/channel_set_delegates_tx
Describe channel_set_delegates_tx
2021-03-09 17:46:19 +02:00
Dimitar Ivanov 5e820bed55 Describe channel_set_delegates_tx 2021-03-07 12:28:27 +02:00
Hans Svensson 80ff8a49f4 Add paying_for_tx to aeser_chain_objects 2019-11-08 13:40:35 +01:00
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ version: 2.1
executors:
aebuilder:
docker:
- image: aeternity/builder
- image: aeternity/builder:bionic-otp23
user: builder
working_directory: ~/src
+1 -1
View File
@@ -1,4 +1,4 @@
{erl_opts, [debug_info]}.
{deps, [ {base58, {git, "https://github.com/aeternity/erl-base58.git", {ref, "60a3356"}}}
, {enacl, {git, "https://github.com/aeternity/enacl.git", {ref, "26180f4"}}}
, {enacl, {git, "https://github.com/aeternity/enacl.git", {ref, "793ddb5"}}}
]}.
+6
View File
@@ -58,6 +58,7 @@ tag(contract_call) -> 41;
tag(contract_create_tx) -> 42;
tag(contract_call_tx) -> 43;
tag(channel_create_tx) -> 50;
tag(channel_set_delegates_tx) -> 501;
tag(channel_deposit_tx) -> 51;
tag(channel_withdraw_tx) -> 52;
tag(channel_force_progress_tx) -> 521;
@@ -89,6 +90,8 @@ tag(accounts_mtree) -> 626;
tag(compiler_sophia) -> 70;
tag(ga_attach_tx) -> 80;
tag(ga_meta_tx) -> 81;
tag(paying_for_tx) -> 82;
tag(ga_meta_tx_auth_data) -> 810;
tag(key_block) -> 100;
tag(micro_block) -> 101;
tag(light_micro_block) -> 102;
@@ -116,6 +119,7 @@ rev_tag(41) -> contract_call;
rev_tag(42) -> contract_create_tx;
rev_tag(43) -> contract_call_tx;
rev_tag(50) -> channel_create_tx;
rev_tag(501) -> channel_set_delegates_tx;
rev_tag(51) -> channel_deposit_tx;
rev_tag(52) -> channel_withdraw_tx;
rev_tag(521) -> channel_force_progress_tx;
@@ -147,6 +151,8 @@ rev_tag(626) -> accounts_mtree;
rev_tag(70) -> compiler_sophia;
rev_tag(80) -> ga_attach_tx;
rev_tag(81) -> ga_meta_tx;
rev_tag(82) -> paying_for_tx;
rev_tag(810) -> ga_meta_tx_auth_data;
rev_tag(100) -> key_block;
rev_tag(101) -> micro_block;
rev_tag(102) -> light_micro_block;
+1 -2
View File
@@ -23,8 +23,7 @@ serialize(CodeMap = #{ byte_code := ByteCode
SourceHash = case CodeMap of
#{ source_hash := SHash } -> SHash;
#{ contract_source := SrcStr } ->
{ok, SHash} = enacl:generichash(32, list_to_binary(SrcStr)),
SHash
enacl:generichash(32, list_to_binary(SrcStr))
end,
%% Compiler version