diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0450d32..dea4e771 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,9 +36,7 @@ jobs: steps: - name: Check out the repo - uses: actions/checkout@v2 - with: - fetch-depth: 0 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v2 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e08fa834..4885a82b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,19 +19,17 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install poetry run: pipx install poetry - - name: Configure poetry - run: poetry config installer.modern-installation false - - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" - cache: "poetry" + python-version: "3.12" + # FIXME: + # cache: 'poetry' - name: Install binary dependencies run: OSTYPE=$OSTYPE make install-deps diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index edf54187..04d58274 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,19 +13,15 @@ jobs: run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install poetry run: pipx install poetry - - name: Configure poetry - run: poetry config installer.modern-installation false - - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" - cache: "poetry" + python-version: "3.12" - name: Install binary dependencies run: OSTYPE=$OSTYPE make install-deps diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 612d3ae6..f1bd70ad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,7 @@ jobs: # arch: arm64 steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install poetry run: pipx install poetry @@ -53,7 +53,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - # FIXME: temporary + # FIXME: # cache: 'poetry' - name: Install binary dependencies diff --git a/CHANGELOG.md b/CHANGELOG.md index a25d0e71..f259192d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog -## [Unreleased] +## [3.13.0](https://github.com/baking-bad/pytezos/compare/3.12.1...3.13.0) (2024-06-24) + +### Added + +* ParisCnet protocol support ### Changed diff --git a/pyproject.toml b/pyproject.toml index 47f7033c..9376777d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pytezos" -version = "3.12.1" +version = "3.13.0" description = "Python toolkit for Tezos" license = "MIT" authors = [ diff --git a/src/pytezos/cli/cli.py b/src/pytezos/cli/cli.py index cd6fdd96..5b24371a 100644 --- a/src/pytezos/cli/cli.py +++ b/src/pytezos/cli/cli.py @@ -340,7 +340,7 @@ def smartpy_compile( @cli.command(help='Run containerized sandbox node') @click.option('--image', type=str, help='Docker image to use', default=DOCKER_IMAGE) -@click.option('--protocol', type=click.Choice(['paris']), help='Protocol to use', default='paris') +@click.option('--protocol', type=click.Choice(['parisc']), help='Protocol to use', default='parisc') @click.option('--port', '-p', type=int, help='Port to expose', default=TEZOS_NODE_PORT) @click.option('--interval', '-i', type=float, help='Interval between baked blocks (in seconds)', default=1.0) @click.option('--blocks', '-b', type=int, help='Number of blocks to bake before exit') diff --git a/src/pytezos/rpc/docs.py b/src/pytezos/rpc/docs.py index 097f44f7..2ad8294c 100644 --- a/src/pytezos/rpc/docs.py +++ b/src/pytezos/rpc/docs.py @@ -4272,7 +4272,9 @@ }, "props": [ "inbox", - "index" + "index", + "parisb2_activation_level", + "previous_commitment_period" ] }, "/chains/{}/blocks/{}/context/raw/json/smart_rollup/inbox": { @@ -4828,6 +4830,30 @@ "ret": "String" } }, + "/chains/{}/blocks/{}/context/raw/json/smart_rollup/parisb2_activation_level": { + "GET": { + "descr": "\u00af\\_(\u30c4)_/\u00af", + "args": [ + { + "name": "depth", + "descr": "\u00af\\_(\u30c4)_/\u00af" + } + ], + "ret": "Integer" + } + }, + "/chains/{}/blocks/{}/context/raw/json/smart_rollup/previous_commitment_period": { + "GET": { + "descr": "\u00af\\_(\u30c4)_/\u00af", + "args": [ + { + "name": "depth", + "descr": "\u00af\\_(\u30c4)_/\u00af" + } + ], + "ret": "Integer" + } + }, "/chains/{}/blocks/{}/context/raw/json/staking_balance": { "GET": { "descr": "\u00af\\_(\u30c4)_/\u00af",