diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6fcc2282..6bcd0a144 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,11 +21,11 @@ on: provider_version: description: "Provider version (e.g., v0.15.0 or pre-rel-v0.15.1)" required: false - default: "pre-rel-v0.17.1-hoodi3" + default: "v0.17.4" requestor_version: description: "Requestor version (e.g., v0.15.0 or pre-rel-v0.15.1)" required: false - default: "pre-rel-v0.17.1-hoodi3" + default: "v0.17.4" provider_wasi_version: description: "Provider WASI version (e.g., v0.2.2)" required: false @@ -44,8 +44,8 @@ permissions: contents: read # for checkout env: - PROVIDER_VERSION: ${{ github.event.inputs.provider_version || 'pre-rel-v0.17.1-hoodi3' }} - REQUESTOR_VERSION: ${{ github.event.inputs.requestor_version || 'pre-rel-v0.17.1-hoodi3' }} + PROVIDER_VERSION: ${{ github.event.inputs.provider_version || 'v0.17.4' }} + REQUESTOR_VERSION: ${{ github.event.inputs.requestor_version || 'v0.17.4' }} PROVIDER_WASI_VERSION: ${{ github.event.inputs.provider_wasi_version || 'v0.2.2' }} PROVIDER_VM_VERSION: ${{ github.event.inputs.provider_vm_version || 'v0.5.3' }} PAYMENT_NETWORK: ${{ github.event.inputs.payment_network || 'hoodi' }} @@ -126,6 +126,7 @@ jobs: release: name: Release the SDK to NPM and GitHub + needs: [run-e2e-tests, run-examples-tests, run-cypress-tests] runs-on: ubuntu-latest permissions: contents: write # to be able to publish a GitHub release diff --git a/README.md b/README.md index b21ec35b1..939762079 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,6 @@ - [Contributing](#contributing) - [Discord](#discord) - [See also](#see-also) - ## Features @@ -91,8 +90,8 @@ yarn add @golem-sdk/golem-js ## Supported environments -The SDK is designed to work with LTS versions of Node (starting from 18) -and with browsers. The minimum supported `yagna` version is `pre-rel-0.17.1-hoodi3`. +The SDK is designed to work with LTS versions of Node (20.x and above). +and with browsers. The minimum supported `yagna` version is `0.15.2`, but if you want to use the `hoodi` testnet (since `holesky` is no longer available), you should use at least version `0.17.4`. ## Getting started with Golem Network diff --git a/tests/docker/Provider.Dockerfile b/tests/docker/Provider.Dockerfile index cbcd4dede..05f98d885 100644 --- a/tests/docker/Provider.Dockerfile +++ b/tests/docker/Provider.Dockerfile @@ -1,7 +1,7 @@ ARG UBUNTU_VERSION=22.04 -ARG YA_CORE_PROVIDER_VERSION=v0.15.2 +ARG YA_CORE_PROVIDER_VERSION=v0.17.4 ARG YA_WASI_VERSION=v0.2.2 -ARG YA_VM_VERSION=v0.3.0 +ARG YA_VM_VERSION=v0.5.3 FROM ubuntu:${UBUNTU_VERSION} ARG YA_CORE_PROVIDER_VERSION @@ -38,4 +38,4 @@ RUN apt-get update -q \ && rm -Rf ${YA_DIR_INSTALLER} COPY ./configureProvider.py /configureProvider.py -CMD ["bash", "-c", "python3 /configureProvider.py && ya-provider rule set outbound everyone --mode whitelist && ya-provider whitelist add -p ipfs.io && golemsp run --payment-network testnet " ] +CMD ["bash", "-c", "python3 /configureProvider.py && ya-provider rule set outbound everyone --mode whitelist && ya-provider whitelist add -p ipfs.io && golemsp run --no-interactive --payment-network testnet " ] diff --git a/tests/docker/Requestor.Dockerfile b/tests/docker/Requestor.Dockerfile index 7ae6646fa..7ad620d69 100644 --- a/tests/docker/Requestor.Dockerfile +++ b/tests/docker/Requestor.Dockerfile @@ -1,5 +1,5 @@ ARG UBUNTU_VERSION=22.04 -ARG YA_CORE_REQUESTOR_VERSION=v0.15.2 +ARG YA_CORE_REQUESTOR_VERSION=v0.17.4 FROM node:22 ARG YA_CORE_REQUESTOR_VERSION diff --git a/tests/docker/docker-compose.yml b/tests/docker/docker-compose.yml index 19c5e1e80..8e75ae604 100644 --- a/tests/docker/docker-compose.yml +++ b/tests/docker/docker-compose.yml @@ -24,9 +24,7 @@ services: - YA_NET_BROADCAST_SIZE=10 - NODE_NAME=provider-1 - SUBNET=${YAGNA_SUBNET:-golemjstest} - - YA_NET_TYPE=central - - CENTRAL_NET_HOST=polygongas.org:7999 - + - YA_NET_BIND_URL=udp://0.0.0.0:0 provider-2: build: context: . @@ -48,12 +46,10 @@ services: start_period: 40s environment: - MIN_AGREEMENT_EXPIRATION=30s + - YA_NET_BROADCAST_SIZE=10 - NODE_NAME=provider-2 - SUBNET=${YAGNA_SUBNET:-golemjstest} - YA_NET_BIND_URL=udp://0.0.0.0:0 - - YA_NET_TYPE=central - - CENTRAL_NET_HOST=polygongas.org:7999 - # - YA_NET_RELAY_HOST=63.34.24.27:7477 requestor: build: context: . @@ -71,11 +67,8 @@ services: - GSB_URL=tcp://0.0.0.0:7464 - YAGNA_SUBNET=${YAGNA_SUBNET:-golemjstest} - YAGNA_APPKEY=try_golem - - PAYMENT_NETWORK=${PAYMENT_NETWORK} - - HOODI_MAX_FEE_PER_GAS=51 - - YA_NET_TYPE=central - - CENTRAL_NET_HOST=polygongas.org:7999 - # - YA_NET_RELAY_HOST=63.34.24.27:7477 + - PAYMENT_NETWORK=${PAYMENT_NETWORK:-hoodi} + - YA_NET_BIND_URL=udp://0.0.0.0:0 healthcheck: test: ["CMD-SHELL", "curl -s -o /dev/null -w '%{http_code}' http://localhost:7465 | grep -q 401"] interval: 10s