From 864c9fc583aac56355ff7673ae7888a9962c7317 Mon Sep 17 00:00:00 2001 From: Lev Gorodetskii Date: Mon, 24 Jun 2024 12:25:26 -0300 Subject: [PATCH] Add notes for maintainers (#366) --- CONTRIBUTING.md | 22 ++++++++++ Makefile | 3 ++ poetry.lock | 73 ++++++++++++++++--------------- requirements.dev.txt | 14 +++--- requirements.slim.txt | 6 +-- requirements.txt | 14 +++--- src/pytezos/sandbox/parameters.py | 4 +- 7 files changed, 82 insertions(+), 54 deletions(-) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..b6cda20d --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,22 @@ +# CONTRIBUTING + +## Maintainer guide + +### Adding support for a new protocol + +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. +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. +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. + +### Releasing a new version + +1. Checkout to `aux/X.Y.Z` branch. Update the version number in `pyproject.toml`. +2. Run `make before_release` to perform the pre-release routine. +3. Update `CHANGELOG.md` following the existing format. +4. After merging the PR, tag `X.Y.Z` on `master` and push to the origin. +5. For *.0 releases make sure that notifications are sent to Telegram, Slack and, manually, Discord. diff --git a/Makefile b/Makefile index 37327f6a..03a57d67 100644 --- a/Makefile +++ b/Makefile @@ -128,3 +128,6 @@ kernel-docs: ## Build docs for Michelson IPython kernel rpc-docs: ## Build docs for Tezos node RPC poetry run python scripts/fetch_rpc_docs.py + +before_release: ## Prepare for a new release after updating version in pyproject.toml + make update all diff --git a/poetry.lock b/poetry.lock index deee13e8..f8b25370 100644 --- a/poetry.lock +++ b/poetry.lock @@ -937,15 +937,18 @@ test = ["pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)"] [[package]] name = "eth-typing" -version = "4.2.3" +version = "4.3.0" description = "eth-typing: Common type annotations for ethereum python packages" optional = false python-versions = "<4,>=3.8" files = [ - {file = "eth_typing-4.2.3-py3-none-any.whl", hash = "sha256:b2df49fa89d2e85f2cc3fb1c903b0cd183d524f7a045e3db8cc720cf41adcd3d"}, - {file = "eth_typing-4.2.3.tar.gz", hash = "sha256:8ee3ae7d4136d14fcb955c34f9dbef8e52170984d4dc68c0ab0d61621eab29d8"}, + {file = "eth_typing-4.3.0-py3-none-any.whl", hash = "sha256:718f8ef8180ac1a15e476f072e4522e7bd4429bdabc71499e3ca79e2219d775c"}, + {file = "eth_typing-4.3.0.tar.gz", hash = "sha256:3f4eface387eefa68761b23743baab8d413d609b4201c4086c64a006be5dbf53"}, ] +[package.dependencies] +typing-extensions = ">=4.0.0" + [package.extras] dev = ["build (>=0.9.0)", "bumpversion (>=0.5.3)", "ipython", "pre-commit (>=3.4.0)", "pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)", "sphinx (>=6.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=4.0.0)", "twine", "wheel"] docs = ["sphinx (>=6.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)"] @@ -1275,13 +1278,13 @@ i18n = ["Babel (>=2.7)"] [[package]] name = "jsonpointer" -version = "2.4" +version = "3.0.0" description = "Identify specific nodes in a JSON document (RFC 6901)" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*" +python-versions = ">=3.7" files = [ - {file = "jsonpointer-2.4-py2.py3-none-any.whl", hash = "sha256:15d51bba20eea3165644553647711d150376234112651b4f1811022aecad7d7a"}, - {file = "jsonpointer-2.4.tar.gz", hash = "sha256:585cee82b70211fa9e6043b7bb89db6e1aa49524340dde8ad6b63206ea689d88"}, + {file = "jsonpointer-3.0.0-py2.py3-none-any.whl", hash = "sha256:13e088adc14fca8b6aa8177c044e12701e6ad4b28ff10e65f2267a90109c9942"}, + {file = "jsonpointer-3.0.0.tar.gz", hash = "sha256:2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef"}, ] [[package]] @@ -1816,13 +1819,13 @@ files = [ [[package]] name = "packaging" -version = "24.0" +version = "24.1" description = "Core utilities for Python packages" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "packaging-24.0-py3-none-any.whl", hash = "sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5"}, - {file = "packaging-24.0.tar.gz", hash = "sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"}, + {file = "packaging-24.1-py3-none-any.whl", hash = "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124"}, + {file = "packaging-24.1.tar.gz", hash = "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"}, ] [[package]] @@ -1970,13 +1973,13 @@ twisted = ["twisted"] [[package]] name = "prompt-toolkit" -version = "3.0.46" +version = "3.0.47" description = "Library for building powerful interactive command lines in Python" optional = false python-versions = ">=3.7.0" files = [ - {file = "prompt_toolkit-3.0.46-py3-none-any.whl", hash = "sha256:45abe60a8300f3c618b23c16c4bb98c6fc80af8ce8b17c7ae92db48db3ee63c1"}, - {file = "prompt_toolkit-3.0.46.tar.gz", hash = "sha256:869c50d682152336e23c4db7f74667639b5047494202ffe7670817053fd57795"}, + {file = "prompt_toolkit-3.0.47-py3-none-any.whl", hash = "sha256:0d7bfa67001d5e39d02c224b663abc33687405033a8c422d0d675a5a13361d10"}, + {file = "prompt_toolkit-3.0.47.tar.gz", hash = "sha256:1e1b29cb58080b1e69f207c893a1a7bf16d127a5c30c9d17a25a5d77792e5360"}, ] [package.dependencies] @@ -3152,22 +3155,22 @@ files = [ [[package]] name = "tornado" -version = "6.4" +version = "6.4.1" description = "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed." optional = false -python-versions = ">= 3.8" +python-versions = ">=3.8" files = [ - {file = "tornado-6.4-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:02ccefc7d8211e5a7f9e8bc3f9e5b0ad6262ba2fbb683a6443ecc804e5224ce0"}, - {file = "tornado-6.4-cp38-abi3-macosx_10_9_x86_64.whl", hash = "sha256:27787de946a9cffd63ce5814c33f734c627a87072ec7eed71f7fc4417bb16263"}, - {file = "tornado-6.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f7894c581ecdcf91666a0912f18ce5e757213999e183ebfc2c3fdbf4d5bd764e"}, - {file = "tornado-6.4-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e43bc2e5370a6a8e413e1e1cd0c91bedc5bd62a74a532371042a18ef19e10579"}, - {file = "tornado-6.4-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f0251554cdd50b4b44362f73ad5ba7126fc5b2c2895cc62b14a1c2d7ea32f212"}, - {file = "tornado-6.4-cp38-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:fd03192e287fbd0899dd8f81c6fb9cbbc69194d2074b38f384cb6fa72b80e9c2"}, - {file = "tornado-6.4-cp38-abi3-musllinux_1_1_i686.whl", hash = "sha256:88b84956273fbd73420e6d4b8d5ccbe913c65d31351b4c004ae362eba06e1f78"}, - {file = "tornado-6.4-cp38-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:71ddfc23a0e03ef2df1c1397d859868d158c8276a0603b96cf86892bff58149f"}, - {file = "tornado-6.4-cp38-abi3-win32.whl", hash = "sha256:6f8a6c77900f5ae93d8b4ae1196472d0ccc2775cc1dfdc9e7727889145c45052"}, - {file = "tornado-6.4-cp38-abi3-win_amd64.whl", hash = "sha256:10aeaa8006333433da48dec9fe417877f8bcc21f48dda8d661ae79da357b2a63"}, - {file = "tornado-6.4.tar.gz", hash = "sha256:72291fa6e6bc84e626589f1c29d90a5a6d593ef5ae68052ee2ef000dfd273dee"}, + {file = "tornado-6.4.1-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:163b0aafc8e23d8cdc3c9dfb24c5368af84a81e3364745ccb4427669bf84aec8"}, + {file = "tornado-6.4.1-cp38-abi3-macosx_10_9_x86_64.whl", hash = "sha256:6d5ce3437e18a2b66fbadb183c1d3364fb03f2be71299e7d10dbeeb69f4b2a14"}, + {file = "tornado-6.4.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e2e20b9113cd7293f164dc46fffb13535266e713cdb87bd2d15ddb336e96cfc4"}, + {file = "tornado-6.4.1-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8ae50a504a740365267b2a8d1a90c9fbc86b780a39170feca9bcc1787ff80842"}, + {file = "tornado-6.4.1-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:613bf4ddf5c7a95509218b149b555621497a6cc0d46ac341b30bd9ec19eac7f3"}, + {file = "tornado-6.4.1-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:25486eb223babe3eed4b8aecbac33b37e3dd6d776bc730ca14e1bf93888b979f"}, + {file = "tornado-6.4.1-cp38-abi3-musllinux_1_2_i686.whl", hash = "sha256:454db8a7ecfcf2ff6042dde58404164d969b6f5d58b926da15e6b23817950fc4"}, + {file = "tornado-6.4.1-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a02a08cc7a9314b006f653ce40483b9b3c12cda222d6a46d4ac63bb6c9057698"}, + {file = "tornado-6.4.1-cp38-abi3-win32.whl", hash = "sha256:d9a566c40b89757c9aa8e6f032bcdb8ca8795d7c1a9762910c722b1635c9de4d"}, + {file = "tornado-6.4.1-cp38-abi3-win_amd64.whl", hash = "sha256:b24b8982ed444378d7f21d563f4180a2de31ced9d8d84443907a0a64da2072e7"}, + {file = "tornado-6.4.1.tar.gz", hash = "sha256:92d3ab53183d8c50f8204a51e6f91d18a15d5ef261e84d452800d4ff6fc504e9"}, ] [[package]] @@ -3276,13 +3279,13 @@ files = [ [[package]] name = "typing-extensions" -version = "4.12.1" +version = "4.12.2" description = "Backported and Experimental Type Hints for Python 3.8+" optional = false python-versions = ">=3.8" files = [ - {file = "typing_extensions-4.12.1-py3-none-any.whl", hash = "sha256:6024b58b69089e5a89c347397254e35f1bf02a907728ec7fee9bf0fe837d203a"}, - {file = "typing_extensions-4.12.1.tar.gz", hash = "sha256:915f5e35ff76f56588223f15fdd5938f9a1cf9195c0de25130c627e4d597f6d1"}, + {file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"}, + {file = "typing_extensions-4.12.2.tar.gz", hash = "sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8"}, ] [[package]] @@ -3329,18 +3332,18 @@ files = [ [[package]] name = "webcolors" -version = "1.13" +version = "24.6.0" description = "A library for working with the color formats defined by HTML and CSS." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "webcolors-1.13-py3-none-any.whl", hash = "sha256:29bc7e8752c0a1bd4a1f03c14d6e6a72e93d82193738fa860cbff59d0fcc11bf"}, - {file = "webcolors-1.13.tar.gz", hash = "sha256:c225b674c83fa923be93d235330ce0300373d02885cef23238813b0d5668304a"}, + {file = "webcolors-24.6.0-py3-none-any.whl", hash = "sha256:8cf5bc7e28defd1d48b9e83d5fc30741328305a8195c29a8e668fa45586568a1"}, + {file = "webcolors-24.6.0.tar.gz", hash = "sha256:1d160d1de46b3e81e58d0a280d0c78b467dc80f47294b91b1ad8029d2cedb55b"}, ] [package.extras] docs = ["furo", "sphinx", "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-notfound-page", "sphinxext-opengraph"] -tests = ["pytest", "pytest-cov"] +tests = ["coverage[toml]"] [[package]] name = "webencodings" diff --git a/requirements.dev.txt b/requirements.dev.txt index b8674518..22caa2e8 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -33,7 +33,7 @@ docker==6.1.3 ; 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==4.2.3 ; python_full_version >= "3.8.1" and python_version < "3.13" +eth-typing==4.3.0 ; python_full_version >= "3.8.1" and python_version < "3.13" eth-utils==4.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13" exceptiongroup==1.2.1 ; 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" @@ -53,7 +53,7 @@ isoduration==20.11.0 ; python_full_version >= "3.8.1" and python_version < "3.13 isort==5.13.2 ; python_full_version >= "3.8.1" and python_version < "3.13" jedi==0.19.1 ; python_full_version >= "3.8.1" and python_version < "3.13" jinja2==3.1.4 ; python_full_version >= "3.8.1" and python_version < "3.13" -jsonpointer==2.4 ; python_full_version >= "3.8.1" and python_version < "3.13" +jsonpointer==3.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13" jsonschema-specifications==2023.12.1 ; python_full_version >= "3.8.1" and python_version < "3.13" jsonschema==4.22.0 ; python_full_version >= "3.8.1" and python_version < "3.13" jsonschema[format-nongpl]==4.22.0 ; python_full_version >= "3.8.1" and python_version < "3.13" @@ -78,7 +78,7 @@ netstruct==1.1.2 ; python_full_version >= "3.8.1" and python_version < "3.13" notebook-shim==0.2.4 ; python_full_version >= "3.8.1" and python_version < "3.13" notebook==6.5.7 ; python_full_version >= "3.8.1" and python_version < "3.13" overrides==7.7.0 ; python_full_version >= "3.8.1" and python_version < "3.13" -packaging==24.0 ; python_full_version >= "3.8.1" and python_version < "3.13" +packaging==24.1 ; python_full_version >= "3.8.1" and python_version < "3.13" pandocfilters==1.5.1 ; python_full_version >= "3.8.1" and python_version < "3.13" parameterized==0.9.0 ; python_full_version >= "3.8.1" and python_version < "3.13" parso==0.8.4 ; python_full_version >= "3.8.1" and python_version < "3.13" @@ -90,7 +90,7 @@ platformdirs==4.2.2 ; 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.46 ; 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==5.9.8 ; 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.2 ; python_full_version >= "3.8.1" and python_version < "3.13" @@ -143,7 +143,7 @@ testcontainers==3.7.1 ; python_full_version >= "3.8.1" and python_version < "3.1 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") -tornado==6.4 ; python_full_version >= "3.8.1" and python_version < "3.13" +tornado==6.4.1 ; python_full_version >= "3.8.1" and python_version < "3.13" tqdm==4.66.4 ; 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" @@ -152,11 +152,11 @@ types-requests==2.32.0.20240602 ; python_full_version >= "3.8.1" and python_vers types-setuptools==70.0.0.20240524 ; python_full_version >= "3.8.1" and python_version < "3.13" types-simplejson==3.19.0.20240310 ; 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.1 ; 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.1 ; 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==1.13 ; python_full_version >= "3.8.1" and python_version < "3.13" +webcolors==24.6.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" diff --git a/requirements.slim.txt b/requirements.slim.txt index e8088bb5..87f0efb6 100644 --- a/requirements.slim.txt +++ b/requirements.slim.txt @@ -12,7 +12,7 @@ cytoolz==0.12.3 ; python_full_version >= "3.8.1" and python_version < "3.13" and deprecation==2.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13" docker==6.1.3 ; 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==4.2.3 ; python_full_version >= "3.8.1" and python_version < "3.13" +eth-typing==4.3.0 ; python_full_version >= "3.8.1" and python_version < "3.13" eth-utils==4.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13" exceptiongroup==1.2.1 ; python_full_version >= "3.8.1" and python_version < "3.11" fastecdsa==2.3.2 ; python_full_version >= "3.8.1" and python_version < "3.13" @@ -22,7 +22,7 @@ jsonschema-specifications==2023.12.1 ; python_full_version >= "3.8.1" and python jsonschema==4.22.0 ; 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" netstruct==1.1.2 ; python_full_version >= "3.8.1" and python_version < "3.13" -packaging==24.0 ; python_full_version >= "3.8.1" and python_version < "3.13" +packaging==24.1 ; 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" ply==3.11 ; 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" @@ -43,7 +43,7 @@ tabulate==0.9.0 ; 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" toolz==0.12.1 ; python_full_version >= "3.8.1" and python_version < "3.13" and (implementation_name == "pypy" or implementation_name == "cpython") tqdm==4.66.4 ; python_full_version >= "3.8.1" and python_version < "3.13" -typing-extensions==4.12.1 ; python_full_version >= "3.8.1" and python_version < "3.11" +typing-extensions==4.12.2 ; python_full_version >= "3.8.1" and python_version < "3.13" urllib3==2.2.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" diff --git a/requirements.txt b/requirements.txt index b761e384..f3fa2a70 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,7 +26,7 @@ deprecation==2.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13" docker==6.1.3 ; 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==4.2.3 ; python_full_version >= "3.8.1" and python_version < "3.13" +eth-typing==4.3.0 ; python_full_version >= "3.8.1" and python_version < "3.13" eth-utils==4.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13" exceptiongroup==1.2.1 ; python_full_version >= "3.8.1" and python_version < "3.11" executing==2.0.1 ; python_full_version >= "3.8.1" and python_version < "3.13" @@ -42,7 +42,7 @@ ipython==8.12.3 ; python_full_version >= "3.8.1" and python_version < "3.13" isoduration==20.11.0 ; python_full_version >= "3.8.1" and python_version < "3.13" jedi==0.19.1 ; python_full_version >= "3.8.1" and python_version < "3.13" jinja2==3.1.4 ; python_full_version >= "3.8.1" and python_version < "3.13" -jsonpointer==2.4 ; python_full_version >= "3.8.1" and python_version < "3.13" +jsonpointer==3.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13" jsonschema-specifications==2023.12.1 ; python_full_version >= "3.8.1" and python_version < "3.13" jsonschema==4.22.0 ; python_full_version >= "3.8.1" and python_version < "3.13" jsonschema[format-nongpl]==4.22.0 ; python_full_version >= "3.8.1" and python_version < "3.13" @@ -65,7 +65,7 @@ netstruct==1.1.2 ; python_full_version >= "3.8.1" and python_version < "3.13" notebook-shim==0.2.4 ; python_full_version >= "3.8.1" and python_version < "3.13" notebook==6.5.7 ; python_full_version >= "3.8.1" and python_version < "3.13" overrides==7.7.0 ; python_full_version >= "3.8.1" and python_version < "3.13" -packaging==24.0 ; python_full_version >= "3.8.1" and python_version < "3.13" +packaging==24.1 ; python_full_version >= "3.8.1" and python_version < "3.13" pandocfilters==1.5.1 ; python_full_version >= "3.8.1" and python_version < "3.13" parso==0.8.4 ; 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" @@ -74,7 +74,7 @@ pkgutil-resolve-name==1.3.10 ; python_full_version >= "3.8.1" and python_version platformdirs==4.2.2 ; 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.46 ; 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==5.9.8 ; 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.2 ; python_full_version >= "3.8.1" and python_version < "3.13" @@ -108,15 +108,15 @@ 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" toolz==0.12.1 ; python_full_version >= "3.8.1" and python_version < "3.13" and (implementation_name == "pypy" or implementation_name == "cpython") -tornado==6.4 ; python_full_version >= "3.8.1" and python_version < "3.13" +tornado==6.4.1 ; python_full_version >= "3.8.1" and python_version < "3.13" tqdm==4.66.4 ; 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" -typing-extensions==4.12.1 ; python_full_version >= "3.8.1" and python_version < "3.11" +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.1 ; 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==1.13 ; python_full_version >= "3.8.1" and python_version < "3.13" +webcolors==24.6.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" diff --git a/src/pytezos/sandbox/parameters.py b/src/pytezos/sandbox/parameters.py index 097e4d4e..1cfe8447 100644 --- a/src/pytezos/sandbox/parameters.py +++ b/src/pytezos/sandbox/parameters.py @@ -117,7 +117,7 @@ } # NOTE: https://rpc.tzkt.io/parisnet/chains/main/blocks/head/context/constants/parametric -paris_params = { +protocol_params = { "consensus_rights_delay": 2, "blocks_preservation_cycles": 1, "delegate_parameters_activation_delay": 5, @@ -224,7 +224,7 @@ def get_protocol_parameters(protocol_hash: str) -> Dict[str, Any]: # https://gitlab.com/tezos/tezos/-/blob/master/src/proto_018_Proxford/lib_parameters/default_parameters.ml return { - **paris_params, + **protocol_params, # **old_params, **sandbox_params, }