Compare commits

...

62 commits

Author SHA1 Message Date
protolambda
a0236251c7
Merge pull request #4 from gballet/fix/bytevector-serde
fix: ByteVector deserialization != BitVector deserialization
2023-02-10 10:05:28 -06:00
Guillaume Ballet
fa6cdd3683
fix: ByteVector deserialization != BitVector deserialization 2023-02-09 20:47:37 +01:00
protolambda
5aa3bf7d60
Merge pull request #3 from gballet/fix-deserialization-typo
fix typo in list deserializer
2023-02-09 07:31:04 -06:00
Guillaume Ballet
ed4fbc5f2a
fix typo in list deserializer 2023-02-09 12:54:36 +01:00
protolambda
0ce8e67981
pretty print Root with TerminalString 2022-07-10 10:30:32 +02:00
protolambda
07415f7d6e
fix bitshift in bitlist htr helper 2022-04-26 15:26:30 +02:00
protolambda
862a3e92e3
deserialize to flat uint256 as view 2022-01-14 13:26:29 +01:00
protolambda
6fc947ba8a
At least Go 1.16 in CI 2022-01-14 12:57:24 +01:00
protolambda
2184cb8b13
uint256 support 2022-01-14 12:52:16 +01:00
protolambda
3060ef1d19
go fmt 2022-01-14 11:49:05 +01:00
protolambda
e9aa6cf252
better numbers json / text (un)marshal 2022-01-14 11:48:44 +01:00
protolambda
b187959279
use newer go version 2021-08-02 16:35:28 +02:00
protolambda
826c26db5b
left aligned gindex bytes op 2021-08-02 16:34:34 +02:00
protolambda
49b8e05ce8
fix union type init with nil type option 2021-06-02 21:46:17 +02:00
protolambda
b10fb5ec74
update comment about Union decoding 2021-05-30 00:14:23 +02:00
protolambda
19aead31df
UnionType init handle nil option case 2021-05-29 21:46:40 +02:00
protolambda
f5c22e7e31
handle Union[None, T...] case better 2021-05-29 21:43:34 +02:00
protolambda
645ecc97e3
union type support 2021-05-29 21:13:59 +02:00
protolambda
b6d7b26af3
gindex encoding utils + testing 2021-05-29 20:27:48 +02:00
protolambda
8add089e45
gindex serialization, node-setter and summary helper functions 2021-05-29 15:50:47 +02:00
protolambda
2966f84eec
bitvector and bytelist HTR fixes 2021-05-22 15:04:00 +02:00
protolambda
a2f03d3861
uint8 list/vector HTR + fix error strings 2021-03-13 18:14:24 +01:00
protolambda
0f0bbb2ae9
add CI 2021-03-12 22:51:11 +01:00
protolambda
9e2932b9d5
more bitfield utils + test + bytelist text decoding util 2021-03-12 22:48:40 +01:00
protolambda
874e8e4d32
update readme 2020-12-03 02:51:24 +01:00
protolambda
f98d039154
explicit stringer methods for primitive types 2020-12-03 02:47:43 +01:00
protolambda
d62baedf10
byte list/vector htr and deserialize 2020-11-03 14:18:50 +01:00
protolambda
d072e6bb37
Merge branch 'marshal' into master 2020-10-16 23:34:59 +02:00
protolambda
85427612f2
more cases 2020-10-16 23:22:44 +02:00
protolambda
cfee34896b
more tests 2020-10-16 23:17:59 +02:00
protolambda
c4e4c7eef4
number parsing tests 2020-10-16 23:00:04 +02:00
protolambda
8d249a29f3
marshal/unmarshal helpers 2020-10-16 22:38:24 +02:00
protolambda
c89e279695
marshal/unmarshal uint64 views 2020-10-16 22:06:06 +02:00
protolambda
b420dcf0dc
new roots deserialize helper 2020-09-25 00:36:10 +02:00
protolambda
e5c19220db
basic views can now be regular serde types as well 2020-09-25 00:35:49 +02:00
protolambda
d0e02d9b7e
helper funcs for faster serialize/deserialize 2020-09-22 22:57:45 +02:00
protolambda
b5ba02771e
bugfix new encoder code 2020-09-22 22:08:45 +02:00
protolambda
266c61b330
fix hashing bug 2020-09-22 20:02:37 +02:00
protolambda
a8cefb10a4
encoder/decoder fixes + packed htr fix 2020-09-21 18:49:36 +02:00
protolambda
7fb4a0da42
encode helpers + basic types update 2020-09-19 15:41:41 +02:00
protolambda
13e1de0132
more decoder util 2020-09-19 14:28:45 +02:00
protolambda
f064fd65e0
new decoder funcs for container/list/vector/bitfields 2020-09-19 04:40:40 +02:00
protolambda
fbbb7b8f69
change encode/decoding, implement new basic-view in-place decoding, use enc/dec with scratch 2020-09-19 02:01:46 +02:00
protolambda
58ed525b8f
new hashtreeroot and bitfield helpers 2020-09-19 00:49:50 +02:00
protolambda
8341170190
new encoding helpers 2020-09-19 00:03:57 +02:00
protolambda
d0d04fce4f
fmt 2020-07-04 18:41:37 +02:00
protolambda
f4d61d3738
root marshal/unmarshal/string 2020-07-04 18:41:29 +02:00
protolambda
52abda314e
fix backing base method hook reference 2020-06-25 17:59:48 +02:00
protolambda
c9872e5b51
fmt, and complex-list iter view-reuse 2020-05-24 16:31:50 +02:00
protolambda
3f350b9a70
fix container size 2020-04-08 02:43:02 +02:00
protolambda
abd601dfa2
bugfixes 2020-04-08 01:05:17 +02:00
protolambda
0514e8096e
asview replacing props pattern 2020-04-05 19:29:09 +02:00
protolambda
eb492edcad
updates to prop lookups/naming, share temp hash buffer 2020-04-04 15:58:44 +02:00
protolambda
de88577ac4
update readme 2020-04-04 03:47:29 +02:00
protolambda
42cdedb903
fix benchmarks + append bug 2020-04-04 03:46:04 +02:00
protolambda
5a8e5fe059
fix test inconsistency 2020-04-04 03:21:31 +02:00
protolambda
6d32b91a02
bugfix subtree creation 2020-04-04 02:40:16 +02:00
protolambda
c371be2ed3
fix deserialize bugs 2020-04-04 01:55:12 +02:00
protolambda
961b1fb079
fix complex-vector value byte length 2020-04-04 01:21:24 +02:00
protolambda
ee1bb21034
serialization bugfixes 2020-04-04 01:16:45 +02:00
protolambda
c6c9e7e617
Bugfix iterators 2020-04-04 01:16:26 +02:00
protolambda
75879ac239
update readme
Signed-off-by: protolambda <proto@protolambda.com>
2020-04-03 21:17:07 +02:00
51 changed files with 3762 additions and 624 deletions