Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clvm serde #15

Merged
merged 41 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
3ba52a2
Modernize `SConstruct`.
richardkiss Aug 11, 2023
dc73078
Use `chialisp_puzzles` and `chia_base`.
richardkiss Aug 11, 2023
7a4742c
Use `chia_base` to greatly simplify hsms.
richardkiss Aug 11, 2023
0747b60
Bump `chia_base` to 0.1.3. `chmod -x`
richardkiss Aug 11, 2023
ec2f745
Get `full_life_cycle.sh` working
richardkiss Aug 11, 2023
2e35186
`black`
richardkiss Aug 11, 2023
cd25dc4
Refactor clvm_serialization
richardkiss Aug 12, 2023
38cec27
Forgot a command
richardkiss Aug 12, 2023
5cf78b0
setuptools
richardkiss Aug 12, 2023
1d5ada9
Some minor improvements
richardkiss Aug 14, 2023
ccc86e4
Get `hsm_dump_us` working
richardkiss Aug 16, 2023
f6205f8
Remove `UnsignedSpend.from_chunks`
richardkiss Aug 16, 2023
c5a4fec
Handle hex or qrint encoding, zlib okay too
richardkiss Aug 18, 2023
5317d6f
standard dataclasses
richardkiss Oct 2, 2023
4485410
First crack at interop tests
richardkiss Oct 5, 2023
c72dda6
Pay attention to `Field.default_factory`
richardkiss Oct 5, 2023
396d751
Allow hybrid expandable `dataclass` objects
richardkiss Oct 7, 2023
10ad856
refactor
richardkiss Oct 10, 2023
071a6b1
`Nonexandable`. May rename
richardkiss Oct 10, 2023
e0ad75a
Simplify `SumHint` and `PathHint`.
richardkiss Oct 10, 2023
fd00658
Move `SumHint` and `PathHint`
richardkiss Oct 10, 2023
be777c3
nonexpandable tuple
richardkiss Oct 12, 2023
0ff21c8
Rewrite `Nonexpandable` in terms of `tuple_nonexpandable`
richardkiss Oct 12, 2023
1df94bb
Serde of dataclasses now leverages tuple
richardkiss Oct 12, 2023
d0ec460
Ditch `PairTuple` and use `Frugal`
richardkiss Oct 12, 2023
e071e6d
Eliminate special case for `Frugal`
richardkiss Oct 12, 2023
2ae2753
Make `UnsignedSpend` more like original version
richardkiss Oct 12, 2023
7cbb995
Delete obsolete, rename
richardkiss Oct 12, 2023
16e5c0c
Add `hsms.core`
richardkiss Oct 16, 2023
39ec242
Use new serialization rather than legacy.
richardkiss Oct 17, 2023
9497eec
Revamp `TypeTree`
richardkiss Oct 25, 2023
f2ae042
move `clvm_serde`
richardkiss Oct 25, 2023
b7df4c6
Fix tests, mypy
richardkiss Nov 6, 2023
393cc6b
pin to `chia_base`
richardkiss Nov 7, 2023
fb19c06
Support `from __future__ import annotations`
richardkiss Nov 7, 2023
82d9d12
Interop with subtypes of `int`, `bytes`, `str`
richardkiss Nov 9, 2023
fa28fc4
coverage
richardkiss Nov 9, 2023
2a92fa5
py38
richardkiss Nov 10, 2023
c251d7e
`from_bytes`
richardkiss Nov 10, 2023
6c67aba
Use pypi chia_base
richardkiss Dec 7, 2023
a0e6ef2
coverage
richardkiss Dec 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,4 @@ For testing & debugging:

- `hsm_test_spend` - create a simple test `UnsignedSpend` multisig spend
- `hsm_dump_sb` - debug utility to dump information about a `SpendBundle`


enscons
-------

This package uses [enscons](https://github.com/dholth/enscons)
which uses [SCons](https://scons.org/) to build rather than the commonly used `setuptools`.
- `hsm_dump_us` - debug utility to dump information about an `UnsignedSpend`
42 changes: 0 additions & 42 deletions SConstruct

This file was deleted.

4 changes: 0 additions & 4 deletions hsms/atoms/__init__.py

This file was deleted.

33 changes: 0 additions & 33 deletions hsms/atoms/ints.py

This file was deleted.

6 changes: 0 additions & 6 deletions hsms/atoms/sized_bytes.py

This file was deleted.

6 changes: 0 additions & 6 deletions hsms/bls12_381/__init__.py

This file was deleted.

102 changes: 0 additions & 102 deletions hsms/bls12_381/bls_public_key.py

This file was deleted.

116 changes: 0 additions & 116 deletions hsms/bls12_381/bls_secret_exponent.py

This file was deleted.

Loading
Loading