Skip to content

Commit

Permalink
Added bls12-381 support
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsereda committed Oct 31, 2024
1 parent 8244e66 commit b6f971e
Show file tree
Hide file tree
Showing 16 changed files with 1,132 additions and 1,015 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog], and this project adheres to [Semantic Versioning].

## [3.13.5](https://github.com/baking-bad/pytezos/compare/3.13.0...3.13.5) (2024-10-28)

### Added

* Added `tz4` address support.

### Changed

- Octez binaries updated to v20.3-1

## [3.13.4](https://github.com/baking-bad/pytezos/compare/3.13.3...3.13.4) - 2024-08-19

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
1. Check out the `baking-bad/sandboxed-node` repo. There should be "Update Octez binaries to X.Y" PR created automatically by `octez_version.yml` GitHub Action. Make sure everything works and merge it.
2. When something is merged to the `master` branch, another pipeline `tag.yml` will be triggered. It tags the current commit with `vX.Y.Z` and force pushes it. **BUG**: This pipeline currently fails with 403 for some reason. You need to pull the `master` and execute `make release` to run the process manually.
3. Now back to the PyTezos. Update `pytezos.sandbox.node.DOCKER_IMAGE` constant to the new image.
4. Set `pytezos.sandbox.node.LATEST` constant to the current protocol hash.
4. Set `pytezos.sandbox.parameters.LATEST` constant to the current protocol hash.
5. Update `sandbox_params` and `protocol_params` using values from Tezos source code and TzKT-hosted node RPC respectively.
6. Run `make docs` with `NODE_RPC_URL` environment variable set to the private full node to update references.
6. Run `make docs` with `DOCS_RPC_URL` environment variable set to the private full node to update references.
7. Read Release Notes for the new protocol and make necessary changes to the code.
8. Check if `make all` is green and `pytezos sandbox` works. Optionally, `michelson-kernel run` to check if the Jupyter kernel is fine.

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ services:
- 8888:8888

sandbox_node:
image: bakingbad/sandboxed-node:v8.2-2
image: bakingbad/sandboxed-node:v20.3-1
ports:
- 8732:8732
1,479 changes: 745 additions & 734 deletions poetry.lock

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pytezos"
version = "3.13.4"
version = "3.13.5"
description = "Python toolkit for Tezos"
license = "MIT"
authors = [
Expand Down Expand Up @@ -128,11 +128,15 @@ lint.ignore = [
"SIM108",
"SIM114",
]
target-version = "py38"
target-version = "py312"
lint.extend-select = ["B", "C", "RET", "SIM"]

[tool.ruff.format]
quote-style = "single"
indent-style = "space"

[tool.mypy]
python_version = "3.8"
python_version = "3.12"

[build-system]
requires = ["poetry_core>=1.0.0"]
Expand Down
77 changes: 38 additions & 39 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alabaster==0.7.13 ; python_full_version >= "3.8.1" and python_version < "3.13"
anyio==4.4.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
anyio==4.5.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
appnope==0.1.4 ; python_full_version >= "3.8.1" and python_version < "3.13" and (platform_system == "Darwin" or sys_platform == "darwin")
argon2-cffi-bindings==21.2.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
argon2-cffi==23.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand All @@ -13,20 +13,20 @@ base58==2.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
beautifulsoup4==4.12.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
black==24.8.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
bleach==6.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
cached-property==1.5.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
cattrs==23.2.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
certifi==2024.7.4 ; python_full_version >= "3.8.1" and python_version < "3.13"
cffi==1.17.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
cached-property==2.0.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
cattrs==24.1.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
certifi==2024.8.30 ; python_full_version >= "3.8.1" and python_version < "3.13"
cffi==1.17.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
chardet==5.2.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
charset-normalizer==3.3.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
charset-normalizer==3.4.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
click==8.1.7 ; python_full_version >= "3.8.1" and python_version < "3.13"
coincurve==20.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
colorama==0.4.6 ; python_full_version >= "3.8.1" and python_version < "3.13" and (platform_system == "Windows" or sys_platform == "win32")
comm==0.2.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
coverage[toml]==7.6.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
cryptography==43.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
cytoolz==0.12.3 ; python_full_version >= "3.8.1" and python_version < "3.13" and implementation_name == "cpython"
debugpy==1.8.5 ; python_full_version >= "3.8.1" and python_version < "3.13"
cryptography==43.0.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
cytoolz==1.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13" and implementation_name == "cpython"
debugpy==1.8.7 ; python_full_version >= "3.8.1" and python_version < "3.13"
decorator==5.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
defusedxml==0.7.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
deprecation==2.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand All @@ -35,19 +35,18 @@ docker==7.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
docutils==0.20.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
entrypoints==0.4 ; python_full_version >= "3.8.1" and python_version < "3.13"
eth-hash==0.7.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
eth-typing==5.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
eth-utils==5.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
eth-typing==5.0.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
eth-utils==5.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
exceptiongroup==1.2.2 ; python_full_version >= "3.8.1" and python_version < "3.11"
execnet==2.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
executing==2.0.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
executing==2.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
fastecdsa==2.3.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
fastjsonschema==2.20.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
fqdn==1.5.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
hexbytes==1.2.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
idna==3.7 ; python_full_version >= "3.8.1" and python_version < "3.13"
idna==3.10 ; python_full_version >= "3.8.1" and python_version < "3.13"
imagesize==1.4.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
importlib-metadata==8.2.0 ; python_full_version >= "3.8.1" and python_version < "3.10"
importlib-resources==6.4.3 ; python_full_version >= "3.8.1" and python_version < "3.9"
importlib-metadata==8.5.0 ; python_full_version >= "3.8.1" and python_version < "3.10"
importlib-resources==6.4.5 ; python_full_version >= "3.8.1" and python_version < "3.9"
iniconfig==2.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
ipykernel==6.29.5 ; python_full_version >= "3.8.1" and python_version < "3.13"
ipython-genutils==0.2.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand All @@ -71,7 +70,7 @@ matplotlib-inline==0.1.7 ; python_full_version >= "3.8.1" and python_version < "
mistune==3.0.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
mnemonic==0.21 ; python_full_version >= "3.8.1" and python_version < "3.13"
mypy-extensions==1.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
mypy==1.11.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
mypy==1.13.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
nbclassic==1.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
nbclient==0.10.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
nbconvert==7.16.4 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand All @@ -89,12 +88,12 @@ pathspec==0.12.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
pexpect==4.9.0 ; python_full_version >= "3.8.1" and python_version < "3.13" and sys_platform != "win32"
pickleshare==0.7.5 ; python_full_version >= "3.8.1" and python_version < "3.13"
pkgutil-resolve-name==1.3.10 ; python_full_version >= "3.8.1" and python_version < "3.9"
platformdirs==4.2.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
platformdirs==4.3.6 ; python_full_version >= "3.8.1" and python_version < "3.13"
pluggy==1.5.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
ply==3.11 ; python_full_version >= "3.8.1" and python_version < "3.13"
prometheus-client==0.20.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
prompt-toolkit==3.0.47 ; python_full_version >= "3.8.1" and python_version < "3.13"
psutil==6.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
prometheus-client==0.21.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
prompt-toolkit==3.0.48 ; python_full_version >= "3.8.1" and python_version < "3.13"
psutil==6.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
ptyprocess==0.7.0 ; python_full_version >= "3.8.1" and python_version < "3.13" and (os_name != "nt" or sys_platform != "win32")
pure-eval==0.2.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
py-ecc==7.0.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand All @@ -103,20 +102,20 @@ pygments==2.18.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
pysodium==0.7.18 ; python_full_version >= "3.8.1" and python_version < "3.13"
pytest-cov==5.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
pytest-xdist==3.6.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
pytest==8.3.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
pytest==8.3.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
python-dateutil==2.9.0.post0 ; python_full_version >= "3.8.1" and python_version < "3.13"
python-json-logger==2.0.7 ; python_full_version >= "3.8.1" and python_version < "3.13"
pytz==2024.1 ; python_full_version >= "3.8.1" and python_version < "3.9"
pywin32==306 ; python_full_version >= "3.8.1" and python_version < "3.13" and sys_platform == "win32"
pywinpty==2.0.13 ; python_full_version >= "3.8.1" and python_version < "3.13" and os_name == "nt"
pytz==2024.2 ; python_full_version >= "3.8.1" and python_version < "3.9"
pywin32==308 ; python_full_version >= "3.8.1" and python_version < "3.13" and sys_platform == "win32"
pywinpty==2.0.14 ; python_full_version >= "3.8.1" and python_version < "3.13" and os_name == "nt"
pyyaml==6.0.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
pyzmq==26.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
pyzmq==26.2.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
referencing==0.35.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
requests==2.32.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
rfc3339-validator==0.1.4 ; python_full_version >= "3.8.1" and python_version < "3.13"
rfc3986-validator==0.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
rpds-py==0.20.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
ruff==0.6.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
rpds-py==0.20.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
ruff==0.7.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
send2trash==1.8.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
simple-bson==0.0.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
simplejson==3.19.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand All @@ -125,7 +124,7 @@ sniffio==1.3.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
snowballstemmer==2.2.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
soupsieve==2.6 ; python_full_version >= "3.8.1" and python_version < "3.13"
sphinx-click==6.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
sphinx-rtd-theme==2.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
sphinx-rtd-theme==3.0.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
sphinx-sitemap==2.6.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
sphinx==7.1.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
sphinxcontrib-applehelp==1.0.4 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand All @@ -141,24 +140,24 @@ strict-rfc3339==0.7 ; python_full_version >= "3.8.1" and python_version < "3.13"
tabulate==0.9.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
terminado==0.18.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
testcontainers==3.7.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
tinycss2==1.3.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
tomli==2.0.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.11.0a6"
toolz==0.12.1 ; python_full_version >= "3.8.1" and python_version < "3.13" and (implementation_name == "pypy" or implementation_name == "cpython")
tinycss2==1.4.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
tomli==2.0.2 ; python_full_version >= "3.8.1" and python_full_version <= "3.11.0a6"
toolz==1.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13" and (implementation_name == "pypy" or implementation_name == "cpython")
tornado==6.4.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
tqdm==4.66.5 ; python_full_version >= "3.8.1" and python_version < "3.13"
tqdm==4.66.6 ; python_full_version >= "3.8.1" and python_version < "3.13"
traitlets==5.14.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-python-dateutil==2.9.0.20240316 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-pyyaml==6.0.12.20240808 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-requests==2.32.0.20240712 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-setuptools==71.1.0.20240818 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-python-dateutil==2.9.0.20241003 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-pyyaml==6.0.12.20240917 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-requests==2.32.0.20241016 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-setuptools==75.2.0.20241025 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-simplejson==3.19.0.20240801 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-tabulate==0.9.0.20240106 ; python_full_version >= "3.8.1" and python_version < "3.13"
typing-extensions==4.12.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
uri-template==1.3.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
urllib3==2.2.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
urllib3==2.2.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
wcwidth==0.2.13 ; python_full_version >= "3.8.1" and python_version < "3.13"
webcolors==24.8.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
webencodings==0.5.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
websocket-client==1.8.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
wrapt==1.16.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
zipp==3.20.0 ; python_full_version >= "3.8.1" and python_version < "3.10"
zipp==3.20.2 ; python_full_version >= "3.8.1" and python_version < "3.10"
Loading

0 comments on commit b6f971e

Please sign in to comment.