Skip to content

Commit d31cd50

Browse files
committed
Update hsms to 0.3.2
1 parent 153d9fc commit d31cd50

File tree

2 files changed

+7
-20
lines changed

2 files changed

+7
-20
lines changed

chia/_tests/wallet/test_clvm_streamable.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import annotations
22

33
import dataclasses
4-
from typing import Optional
54

65
import pytest
76
from chia_rs.sized_bytes import bytes32
@@ -74,18 +73,17 @@ def test_nested_serialization() -> None:
7473
assert json_deserialize_with_clvm_streamable("ffff86696e73696465ffff613180ffff613180", OutsideCLVM) == instance_clvm
7574

7675

77-
# TODO: Fix underlying hsms to handle UnionType
7876
@streamable
7977
@dataclasses.dataclass(frozen=True)
8078
class Compound(Streamable):
81-
optional: Optional[BasicCLVMStreamable] # noqa: UP045
79+
optional: BasicCLVMStreamable | None
8280
list: list[BasicCLVMStreamable]
8381

8482

8583
@clvm_streamable
8684
@dataclasses.dataclass(frozen=True)
8785
class CompoundCLVM(Streamable):
88-
optional: Optional[BasicCLVMStreamable] # noqa: UP045
86+
optional: BasicCLVMStreamable | None
8987
list: list[BasicCLVMStreamable]
9088

9189

poetry.lock

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,19 +1628,19 @@ test = ["coverage[toml]", "ddt (>=1.1.1,!=1.4.3)", "mock ; python_version < \"3.
16281628

16291629
[[package]]
16301630
name = "hsms"
1631-
version = "0.3.1"
1631+
version = "0.3.2"
16321632
description = "Hardware security module simulator for chia bls12_381 signatures"
16331633
optional = false
16341634
python-versions = "*"
16351635
groups = ["main"]
16361636
files = [
1637-
{file = "hsms-0.3.1-py3-none-any.whl", hash = "sha256:d05a5598751f856b126d2fa6606f70c975304e7ab707dd7092b1ac2eed6267ec"},
1638-
{file = "hsms-0.3.1.tar.gz", hash = "sha256:22ee883399cba0e153a5194b11e04c93348cafef899ad5b34905a8ea60a167e0"},
1637+
{file = "hsms-0.3.2-py3-none-any.whl", hash = "sha256:b6facaf7f3673b6a479ba18c7078892bee8b9b9c4b4a1efb9c785b43a6d6886c"},
1638+
{file = "hsms-0.3.2.tar.gz", hash = "sha256:7b6ce24d8825680a18e7546b4573e594029f265dcccfb16e3c3fe373faee4b71"},
16391639
]
16401640

16411641
[package.dependencies]
1642-
chia-base = ">=0.1.5"
1643-
chialisp-puzzles = ">=0.1.1"
1642+
chia_base = ">=0.1.5"
1643+
chialisp_puzzles = ">=0.1.1"
16441644
segno = "1.4.1"
16451645

16461646
[package.extras]
@@ -2199,30 +2199,19 @@ files = [
21992199
{file = "miniupnpc-2.3.3-cp310-cp310-win_amd64.whl", hash = "sha256:ddc834535f55e1d19c1ee0d9ef0a51e7fdfde23d47beaf40f1a3fd4ff9bccd62"},
22002200
{file = "miniupnpc-2.3.3-cp311-cp311-macosx_13_0_arm64.whl", hash = "sha256:616875c8c595b0980a8f316c662bcc29c34bf4cdd5e267c715ec6e608484946f"},
22012201
{file = "miniupnpc-2.3.3-cp311-cp311-macosx_13_0_x86_64.whl", hash = "sha256:ffe871ae8e9d6a8549e795a58403302b161f23041d286e70369609297494242e"},
2202-
{file = "miniupnpc-2.3.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3e92791ec4265cf3d25215cbd925a0c5ca8fbb89984532e4c0c2866ec816609d"},
2203-
{file = "miniupnpc-2.3.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:806f64b789b1717b709900ff1118ef25396655c0c71670183cb4cbf0c1f5ee3c"},
22042202
{file = "miniupnpc-2.3.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f783fe9d0996412ff5c96674543a917885610bd7d48431386ce817b80779bd35"},
22052203
{file = "miniupnpc-2.3.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:70508a8e1a6f1970ec03242f9eedd374a97b403db1d406ec7a0b74b1ba8e921a"},
22062204
{file = "miniupnpc-2.3.3-cp311-cp311-win_amd64.whl", hash = "sha256:94c76f96c02aa9f12e5c49af7caca398f4e4cbf036242bb058379158c52b3ba1"},
22072205
{file = "miniupnpc-2.3.3-cp312-cp312-macosx_13_0_arm64.whl", hash = "sha256:405c3c4c3b9447d77fd4dc3e97b9965b0ca8306a528f98e824de9b27ef071935"},
22082206
{file = "miniupnpc-2.3.3-cp312-cp312-macosx_13_0_x86_64.whl", hash = "sha256:805c0aa2d5ddcb758932c2dea13ab3982b23f4e845d651139719b2ac5fa51d31"},
2209-
{file = "miniupnpc-2.3.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:305b5e03d5c0c952c14a30f72d5aa9fa72b86d3c8ca9025302c49cd08152c230"},
2210-
{file = "miniupnpc-2.3.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:625f6a782d9d58bd8df17767c4947dac4d6f86322d64ffd1bdbf3fcd81879824"},
22112207
{file = "miniupnpc-2.3.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a693cfad0a04c072203a62687c5ce412ec4b7d71f9ea6557b9056980ed5b1ef4"},
22122208
{file = "miniupnpc-2.3.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:67e9821fd1e1a07d3fc26e7bb6a44f3b91353ab1ed0fdee6e25aa821af3e8adb"},
22132209
{file = "miniupnpc-2.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:be09644534d4e3ff527af9702c442ab9ad9fd0ae2ddeb7b7809997e35148d5e5"},
22142210
{file = "miniupnpc-2.3.3-cp313-cp313-macosx_13_0_arm64.whl", hash = "sha256:82d14cab9e3d18a68878fa6905eb4abe303eda7b25aadbd46efc1508a2016ccf"},
22152211
{file = "miniupnpc-2.3.3-cp313-cp313-macosx_13_0_x86_64.whl", hash = "sha256:1ec34592c1bd28b009d23daa7cba1b9e9117387765c708b5093f2c75bc3ac157"},
2216-
{file = "miniupnpc-2.3.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:283e1e42d8ae12f3aeba97028f7d4674a2a025d0bb6251bd34efdde8d4dcd56e"},
2217-
{file = "miniupnpc-2.3.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:69d80e6801ecd2cd0c947efe749d074e29d82f0ade17ade1591082b640dd5c9c"},
22182212
{file = "miniupnpc-2.3.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3bb74ac15c222c297b0a6c1a3812a1a2415c4feebcd87582066274f830a815ab"},
22192213
{file = "miniupnpc-2.3.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:41727c2cf6378f95fcc355215efb8fd43d6fea359714b4d27d41ceafa737f8a7"},
22202214
{file = "miniupnpc-2.3.3-cp313-cp313-win_amd64.whl", hash = "sha256:73eaf03185b71e46362f1ff39f57b24e8e3dc12f2ec2d9404398d586d5ceae9f"},
2221-
{file = "miniupnpc-2.3.3-cp314-cp314-macosx_13_0_arm64.whl", hash = "sha256:3c083a7c7f8f885d50ca65f581494304353c04e5ccd1697dded6ffb3d278617f"},
2222-
{file = "miniupnpc-2.3.3-cp314-cp314-macosx_13_0_x86_64.whl", hash = "sha256:730313aa658a73fd825656b51bc5fdc11642d26728a4943d84de9980258e752e"},
2223-
{file = "miniupnpc-2.3.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6c606dc0935e077ec969fbada4a910dd91c23694f48a153c4d6ddd579edb0763"},
2224-
{file = "miniupnpc-2.3.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:58fd6f81311e3d06aad8c2cad829041e0f4aefce316bc9d955eacb3acb017cab"},
2225-
{file = "miniupnpc-2.3.3-cp314-cp314-win_amd64.whl", hash = "sha256:909f8850e34feedd30d9301de053a67b2ccfad89486df34ed0c747f1e26da49c"},
22262215
{file = "miniupnpc-2.3.3-cp39-cp39-macosx_13_0_arm64.whl", hash = "sha256:f1d6b0c99687244c9b4eae36017db54e19442b4204d95632f27543cf351f40b1"},
22272216
{file = "miniupnpc-2.3.3-cp39-cp39-macosx_13_0_x86_64.whl", hash = "sha256:9892df1b8b09279ed2addb7ab42b5a04c8c415d0f83d870e6c469199729b07b6"},
22282217
{file = "miniupnpc-2.3.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cb84588afe6c9afa2d53f81baae211c66e32b7a0524de44a8adf04563bb4cdb2"},

0 commit comments

Comments
 (0)