79 Commits

Author SHA1 Message Date
Ulf Wiger
00699b08b7 Fix OTP 28 dialyzer warnings, rewrite gmser_dyn decoder
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in -3m56s
gmser_dyn no longer tries to compress output by omitting type tags.
Decoding streams using custom template codes can either use 'strict'
decoding, in which case matching templates must be registered on the
decoding end; in `strict => false` mode, the stream can still be decoded
without valudation if the custom template is missing.
2026-02-18 21:10:43 +01:00
Ulf Wiger
8734e67c66 WIP refactor gmser_dyn 2026-02-15 12:12:04 +01:00
dda5cac7a9 Merge pull request 'Serialization got broken by previous PR' (#54) from uw-fix-serialization into master
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m58s
Reviewed-on: #54
2025-04-29 17:22:22 +09:00
Ulf Wiger
07d61722b4 Serialization got broken by previous PR
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m58s
2025-04-29 10:18:59 +02:00
4ac7531351 Merge pull request 'uw-switch-semantics' (#53) from uw-switch-semantics into master
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m56s
Reviewed-on: #53
2025-04-29 03:57:16 +09:00
Ulf Wiger
f996253e6b Add forgotten exports, expand(Types) function
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m55s
2025-04-28 12:12:43 +02:00
Ulf Wiger
b9a51acf55 Add gmser_dyn_types.erl
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m54s
2025-04-28 11:59:27 +02:00
Ulf Wiger
5df23c05c1 test case for 'switch'
Some checks failed
Gajumaru Serialization Tests / tests (push) Failing after 49m55s
2025-04-28 11:51:23 +02:00
Ulf Wiger
b358dfe914 Add switch semantics
Some checks failed
Gajumaru Serialization Tests / tests (push) Failing after 49m54s
2025-04-28 11:36:02 +02:00
0288719ae1 Merge pull request 'Save options, test cases for missing labels' (#52) from uw-save-options into master
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m42s
Reviewed-on: #52
2025-04-24 06:46:26 +09:00
Ulf Wiger
795c7f7860 Save options, test cases for missing labels
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m42s
2025-04-23 23:36:03 +02:00
0d77ca0388 Fix function_clause bug (#51)
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m16s
Co-authored-by: Ulf Wiger <ulf@wiger.net>
Reviewed-on: #51
2025-04-14 19:10:58 +09:00
ed204f8526 Merge pull request 'uw-dyn-options' (#50) from uw-dyn-options into master
Some checks failed
Gajumaru Serialization Tests / tests (push) Failing after 49m16s
Reviewed-on: #50
2025-04-14 18:59:38 +09:00
Ulf Wiger
a949d166f6 Add options for deserialization of missing labels
Some checks failed
Gajumaru Serialization Tests / tests (push) Failing after 49m16s
2025-04-14 11:54:48 +02:00
Ulf Wiger
ba771836fb Document static, make anyint standard
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m9s
2025-04-11 16:39:06 +02:00
c403fa89a1 Merge pull request 'Fix dynamic encoding type tag emission. Support 'negint', 'alt', 'items'' (#48) from uw-dynamic-encoding2 into master
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m5s
Reviewed-on: #48
2025-04-11 00:01:54 +09:00
Ulf Wiger
dd3e731480 Support 'negint', 'items' and 'alt'
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m5s
2025-04-10 16:58:03 +02:00
Ulf Wiger
6563ef9de7 WIP add 'items', fix some layout issues 2025-04-10 16:58:03 +02:00
bff07885fb Merge pull request 'Dynamic serialization using gmser_dyn' (#47) from uw-dynamic-encoding into master
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 48m57s
Reviewed-on: #47
2025-04-07 18:31:05 +09:00
Ulf Wiger
dd1c2455f0 Fix type-driven encode, more docs
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 48m53s
2025-04-05 21:44:36 +02:00
Ulf Wiger
3ede4f22e1 Register individual types, more docs 2025-04-05 13:20:30 +02:00
Ulf Wiger
4663a0f57e gmser_dyn.erl fairly complete
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 48m37s
2025-03-30 23:00:10 +02:00
ac64e01b0f Update runner paths
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 47m16s
v1.2.0
2025-02-04 15:58:21 +09:00
9d2ecc00d3 Update zx dep
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in -4m20s
2025-01-23 20:05:22 +09:00
356d86cd72 Fix dep reference
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in -4m21s
2025-01-23 20:01:15 +09:00
f3da241917 zomp (#46)
Some checks failed
Gajumaru Serialization Tests / tests (push) Failing after -4m25s
Reviewed-on: #46
Co-authored-by: Craig Everett <zxq9@zxq9.com>
Co-committed-by: Craig Everett <zxq9@zxq9.com>
2025-01-23 19:44:58 +09:00
2db9ea6134 Package for zx (#45)
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in -4m22s
This packages the library for deployment on zx (migrating from the old otpr-aeserialization-* line).

It also adds a native Erlang fallback to invokation of the Blake2 algorithm, picking enacl if it is present, but proceeding with eblake2 if not.

Reviewed-on: #45
Reviewed-by: dimitar.p.ivanov <dimitarivanov@qpq.swiss>
Reviewed-by: Ulf Wiger <ulfwiger@qpq.swiss>
Co-authored-by: Craig Everett <zxq9@zxq9.com>
Co-committed-by: Craig Everett <zxq9@zxq9.com>
2025-01-22 19:36:50 +09:00
4b5cfcb67a Remove old type references, update naming, add license notices (#43)
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in -4m21s
Removed the oracle type references and updated the dependency list to point to git.qpq.swiss.

Reviewed-on: #43
Co-authored-by: Craig Everett <zxq9@zxq9.com>
Co-committed-by: Craig Everett <zxq9@zxq9.com>
2025-01-22 13:22:03 +09:00
Ulf Wiger
d5eb3ad0fb Merge branch 'uw-add-contract-source' into 'master'
Add contract source (cx)

See merge request ioecs/aeserialization!27
2024-10-30 16:02:22 +00:00
Ulf Wiger
d28e63693c Add contract source (cx) 2024-10-15 08:07:24 +02:00
Ulf Wiger
f4999b6c2f Merge branch 'uw-add-delegates-obj' into 'master'
Define channel_delegates chain obj

See merge request ioecs/aeserialization!26
2024-10-14 13:11:19 +00:00
Ulf Wiger
b5929e4d2e Define channel_delegates chain obj 2024-10-14 14:48:05 +02:00
Hans Svensson
664f1f0c44 Merge branch 'add_data_extend' into 'master'
Add data_extend_tx

See merge request ioecs/aeserialization!25
2024-09-24 08:19:22 +00:00
Hans Svensson
9cb67eeb98 Add data_extend_tx 2024-09-24 09:47:25 +02:00
Dimitar Ivanov
7457d027fd Merge branch 'add_entries' into 'master'
Add entries

See merge request ioecs/aeserialization!24
2024-07-26 11:50:00 +00:00
Dimitar Ivanov
c31bcac249 Add entries 2024-07-26 14:39:47 +03:00
Ulf Wiger
c0bf7b5b74 Merge branch 'uw-native_tokens' into 'master'
Add native_token encoding support

See merge request ioecs/aeserialization!23
2024-07-26 11:36:12 +00:00
Ulf Wiger
5139f130f5 Add native token chain obj info 2024-07-15 17:38:23 +02:00
Ulf Wiger
8336d8113c Add native_token encoding support 2024-07-15 16:39:04 +02:00
Hans Svensson
db7a9f62f2 Merge branch 'add_testimonies' into 'master'
Add testimonies and AC serialization

See merge request ioecs/aeserialization!22
2024-06-28 13:59:06 +00:00
Hans Svensson
8346df41f2 Add testimonies and AC serialization 2024-06-28 13:59:06 +00:00
Hans Svensson
2488ff3978
Add structured delegation signatures (#21)
* Bump enacl dependency

* Add serialization of delegation signature data
v1.1.0
2023-12-06 15:23:57 +01:00
Ulf Wiger
da8308821c
Merge pull request #19 from davidyuk/secret-key
Add serialization of account secret key
2023-11-13 16:13:54 +01:00
Denis Davidyuk
213589ad9f Add serialization of account secret key 2023-09-15 10:08:29 +04:00
Ulf Wiger
270ebecc57
Merge pull request #20 from aeternity/uw-encode-maps
Add #{items := list()} type for encode/decode
2023-08-18 14:40:49 +02:00
Ulf Wiger
893ebb69f6
Update src/aeserialization.erl with duplicates check
From code review

Co-authored-by: Radosław Rowicki <35342116+radrow@users.noreply.github.com>
2023-08-17 20:43:59 +02:00
Ulf Wiger
05c4f87619
Update src/aeserialization.erl with type comment
From code review

Co-authored-by: Radosław Rowicki <35342116+radrow@users.noreply.github.com>
2023-08-17 20:42:48 +02:00
Ulf Wiger
91d6159ebd Add #{items := list()} type for encode/decode 2023-08-17 13:04:06 +02:00
Hans Svensson
177bf604b2
Merge pull request #18 from aeternity/add_ga_meta_tx_auth_data_type
Add ga_meta_tx_auth_data tag
v1.0.0
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