Commit Graph

40 Commits

Author SHA1 Message Date
Kasey White
8eb2d24704 fix clippy check 2022-08-25 19:36:03 -04:00
zypeh
aeae9aa51e zigzag zagzig 2022-08-25 19:36:03 -04:00
zypeh
b81986c44c Adding more tests 2022-08-25 19:36:03 -04:00
zypeh
ef81427b62 Fixed bug if byte array exceed 255 bytes 2022-08-25 19:36:03 -04:00
zypeh
10461779af Moved the test and use compiler specific function 2022-08-25 19:36:03 -04:00
zypeh
7cff93e718 Code linting 2022-08-25 19:36:03 -04:00
zypeh
40fd4ae447 Adding test cover the write_blk encode function 2022-08-25 19:36:03 -04:00
zypeh
9ded4d79d5 Move test to tests directory 2022-08-25 19:36:03 -04:00
zypeh
f997a6250c Eliminate the recursive call 2022-08-25 19:36:03 -04:00
rvcas
4d04942a5e Release 0.0.7
aiken@0.0.7
flat-rs@0.0.7
uplc@0.0.7

Generated by cargo-workspaces
2022-08-05 13:15:26 -04:00
rvcas
b83394be74 feat: decode proto list and proto pair
Co-authored-by: Kasey White <kwhitemsg@gmail.com>
2022-08-05 00:38:41 -04:00
Kasey White
d14920265e flat encoding for list and pairs
Co-authored-by: rvcas <x@rvcas.dev>
2022-08-05 00:38:41 -04:00
rvcas
207f9e5ab0 Release 0.0.6
aiken@0.0.6
flat-rs@0.0.6
uplc@0.0.6

Generated by cargo-workspaces
2022-08-02 14:04:30 -04:00
Kasey White
2552a9c203 Finish docs for decoder 2022-07-24 19:58:20 -04:00
Kasey White
ac3ab5b47a chore: start decoding docs and fix wording for encode docs 2022-07-24 19:58:20 -04:00
Kasey White
3aaec0936d chore: create docs for encoding 2022-07-24 19:58:20 -04:00
rvcas
575585205b Release 0.0.2
aiken@0.0.2
flat-rs@0.0.2
uplc@0.0.2

Generated by cargo-workspaces
2022-06-14 19:12:46 -04:00
rvcas
f7fba12a5f chore: flat is taken in crates.io 2022-06-14 19:11:00 -04:00
rvcas
c210803adf chore: add package description 2022-06-14 18:51:25 -04:00
rvcas
969cc80abf chore: prepare to publish 2022-06-14 18:46:18 -04:00
rvcas
984c253f31 feat: rename to aiken and add e2e tests for uplc 2022-06-11 23:22:24 -04:00
Kasey White
33fcb77681 fix: put byte_array final pos incrementer in wrong scope 2022-06-08 15:42:58 -04:00
Kasey White
be477917f2 fix: fixed edge cases to get flat encode and decode working with stress test case 2022-06-08 03:33:09 -04:00
rvcas
1ecd47a361 feat: clean up errors 2022-06-04 14:01:45 -04:00
Kasey White
581b8fc85d feat: flat tweaks and string interning
Co-authored-by: rvcas <x@rvcas.dev>
2022-05-31 22:57:55 -04:00
rvcas
3f1ddef635 chore: slight clean up 2022-05-30 18:05:50 -04:00
Kasey White
d4b659c04e feat: finish up most of decoding (integer, decodeListWith, Term, Program, Version, Constant, Builtin) 2022-05-30 16:49:43 -04:00
rvcas
bf3b984405 fix: add back the decoder lifetime 2022-05-30 10:49:23 -04:00
Kasey White
4fb508e3b2 Add decoding for bytestring, string, char, bool, and filler 2022-05-30 02:32:39 -04:00
rvcas
9d8afee3d2 chore: impl todo for filler decode 2022-05-29 21:53:13 -04:00
rvcas
0a476d0592 feat: prepare decoding traits and make new Flat trait 2022-05-28 20:12:03 -04:00
Kasey White
41487733f7 feat: builtin encoding
Co-authored-by: rvcas <x@rvcas.dev>
2022-05-28 00:23:34 -04:00
Kasey White
c01469ea51 feat: spec complaint program encoding
Co-authored-by: rvcas <x@rvcas.dev>
2022-05-27 22:37:08 -04:00
Kasey White
2e130ac5f0 add integer based on plutus core manual information 2022-05-24 04:55:10 -04:00
Kasey White
344620136f use encode_list_with with safe_encode_bits func 2022-05-23 12:20:04 -04:00
Kasey White
c38da6426f implement encode_constant and add term tags for encoding 2022-05-23 02:22:37 -04:00
Kasey White
52f9f5ab41 feat: start on encoding constants with Flat Encoder 2022-05-22 20:29:59 -04:00
Kasey White
fdfaf91bcf feat: create encoding for char, string, byte array 2022-05-22 18:16:42 -04:00
rvcas
52523516fe feat: u8 2022-05-22 12:56:28 -04:00
rvcas
33fee5b3e0 chore: switch to a mono repo 2022-05-22 12:40:52 -04:00