fix(avm): avm 0.40.0 (#315)

* fix(avm): avm 0.40.0

* fix: remove avm.tgz

* chore(ci): change rust-peer container

* fix: nix tag typo

* Update tests.yml

* try increasing timeout

* even more

* add loggs

* fix error message

* increase default ttl

* revert increased timeouts and ttls

* chore(ci): disable DEBUG=*

* chore(ci): use unstable_minimal for aqua-playground

* chore(ci): fix nox image

---------

Co-authored-by: Anatolios Laskaris <github_me@nahsi.dev>
Co-authored-by: Artsiom Shamsutdzinau <shamsartem@gmail.com>
This commit is contained in:
folex 2023-06-29 12:48:24 -06:00 committed by GitHub
parent 97177a2b94
commit 8bae6e24e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 28 additions and 25 deletions

View File

@ -43,7 +43,7 @@ jobs:
uses: fluencelabs/aqua-playground/.github/workflows/tests.yml@master
with:
js-client-snapshots: "${{ needs.js-client.outputs.js-client-snapshots }}"
rust-peer-image: "docker.fluence.dev/nox:minimal_aquavm-0-39-1"
rust-peer-image: "fluencelabs/nox:unstable_minimal"
fluence-cli:
needs:
@ -52,4 +52,4 @@ jobs:
uses: fluencelabs/fluence-cli/.github/workflows/tests.yml@main
with:
js-client-snapshots: "${{ needs.js-client.outputs.js-client-snapshots }}"
rust-peer-image: "docker.fluence.dev/nox:minimal_aquavm-0-39-1"
rust-peer-image: "fluencelabs/nox:unstable_minimal"

View File

@ -6,7 +6,7 @@ on:
rust-peer-image:
description: "rust-peer image tag"
type: string
default: "docker.fluence.dev/nox:ipfs_aquavm-0-39-1_2346_1"
default: "fluencelabs/nox:unstable_ipfs"
avm-version:
description: "@fluencelabs/avm version"
type: string
@ -24,6 +24,7 @@ env:
RUST_PEER_IMAGE: "${{ inputs.rust-peer-image }}"
FORCE_COLOR: true
CI: true
# DEBUG: '*'
jobs:
fluence-js:
@ -106,3 +107,7 @@ jobs:
- run: pnpm -r --no-frozen-lockfile i
- run: pnpm -r build
- run: pnpm -r test
- name: Dump rust-peer logs
if: always()
uses: jwalton/gh-docker-logs@v2

View File

@ -28,7 +28,7 @@
"@fluencelabs/interfaces": "0.7.6"
},
"devDependencies": {
"@fluencelabs/avm": "https://github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz",
"@fluencelabs/avm": "0.40.0",
"@fluencelabs/marine-js": "0.3.45",
"microbundle": "0.15.1",
"dts-bundle-generator": "7.2.0"

View File

@ -24,7 +24,7 @@
"dependencies": {
"@fluencelabs/js-peer": "0.8.10",
"@fluencelabs/interfaces": "0.7.6",
"@fluencelabs/avm": "https://github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz",
"@fluencelabs/avm": "0.40.0",
"@fluencelabs/marine-js": "0.3.45",
"platform": "1.3.6"
},

View File

@ -22,7 +22,7 @@
"process": "0.11.10"
},
"devDependencies": {
"@fluencelabs/avm": "https://github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz",
"@fluencelabs/avm": "0.40.0",
"@fluencelabs/marine-js": "0.3.45",
"@types/node": "16.11.59",
"@types/jest": "28.1.0",

View File

@ -50,7 +50,7 @@
"dependencies": {},
"devDependencies": {
"@multiformats/multiaddr": "11.3.0",
"@fluencelabs/avm": "https://github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz",
"@fluencelabs/avm": "0.40.0",
"@fluencelabs/marine-js": "0.3.45"
}
}

View File

@ -18,7 +18,7 @@
"license": "Apache-2.0",
"dependencies": {
"@fluencelabs/interfaces": "0.7.6",
"@fluencelabs/avm": "https://github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz",
"@fluencelabs/avm": "0.40.0",
"@fluencelabs/marine-js": "0.3.45",
"multiformats": "11.0.1",
"debug": "4.3.4",

View File

@ -111,7 +111,7 @@ export const checkConnection = async (peer: ClientPeer, ttl?: number): Promise<b
}
return true;
} catch (e) {
log.error('error on establishing connection. Relay: %s error: %j', e, peer.getRelayPeerId());
log.error('error on establishing connection. Relay: %s error: %j', peer.getRelayPeerId(), e);
return false;
}
};

28
pnpm-lock.yaml generated
View File

@ -145,8 +145,8 @@ importers:
version: link:../../core/interfaces
devDependencies:
'@fluencelabs/avm':
specifier: https://github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz
version: '@github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz'
specifier: 0.40.0
version: 0.40.0
'@fluencelabs/marine-js':
specifier: 0.3.45
version: 0.3.45
@ -160,8 +160,8 @@ importers:
packages/client/js-client.node:
dependencies:
'@fluencelabs/avm':
specifier: https://github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz
version: '@github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz'
specifier: 0.40.0
version: 0.40.0
'@fluencelabs/interfaces':
specifier: 0.7.6
version: link:../../core/interfaces
@ -217,8 +217,8 @@ importers:
version: 0.11.10
devDependencies:
'@fluencelabs/avm':
specifier: https://github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz
version: '@github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz'
specifier: 0.40.0
version: 0.40.0
'@fluencelabs/marine-js':
specifier: 0.3.45
version: 0.3.45
@ -259,8 +259,8 @@ importers:
packages/core/interfaces:
devDependencies:
'@fluencelabs/avm':
specifier: https://github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz
version: '@github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz'
specifier: 0.40.0
version: 0.40.0
'@fluencelabs/marine-js':
specifier: 0.3.45
version: 0.3.45
@ -274,8 +274,8 @@ importers:
specifier: 11.0.0
version: 11.0.0
'@fluencelabs/avm':
specifier: https://github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz
version: '@github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz'
specifier: 0.40.0
version: 0.40.0
'@fluencelabs/interfaces':
specifier: 0.7.6
version: link:../interfaces
@ -2729,6 +2729,9 @@ packages:
resolution: {integrity: sha512-Y5mPPCmAUUKc5CDO12IL8mGEreWa7maVdX0MWCAH4+GvfLPFN1FxOMSKRYEtvkyVEL88pc9pd8cm5IRCBkFthg==}
dev: true
/@fluencelabs/avm@0.40.0:
resolution: {integrity: sha512-DkCht5+Tg8txRlLIXdP/CPKXmvZqWvJk8Nb89r0JmykPelgI2xTlSkKcAtVrNnGIhp0ghS+HXq2KXVYwu2Il1Q==}
/@fluencelabs/cli@0.3.9(@ethersproject/abi@5.7.0)(@ethersproject/providers@5.7.2)(@nomicfoundation/hardhat-chai-matchers@1.0.6)(@nomicfoundation/hardhat-network-helpers@1.0.8)(@nomiclabs/hardhat-ethers@2.2.3)(@nomiclabs/hardhat-etherscan@3.1.7)(@typechain/ethers-v5@10.2.1)(@typechain/hardhat@6.1.6)(@types/chai@4.3.5)(@types/mocha@9.1.1)(@types/node@18.13.0)(chai@4.3.7)(hardhat-gas-reporter@1.0.9)(hardhat@2.15.0)(jest@27.5.1)(solidity-coverage@0.7.22)(ts-node@10.9.1)(typechain@8.2.0)(typescript@4.7.2):
resolution: {integrity: sha512-xJYi7+AHrWt6RgWnr7Efr8Jpv0dNLoWhiCMvgSbXoFpIZzQAyNDgk5hnCdwIQ/eiJcNg0GHY0gyC+Q/d5YKc1Q==}
engines: {node: '=16'}
@ -21443,8 +21446,3 @@ packages:
/yocto-queue@1.0.0:
resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==}
engines: {node: '>=12.20'}
'@github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz':
resolution: {tarball: https://github.com/fluencelabs/js-client/raw/feat/add-signatures/avm-0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0.tgz}
name: '@fluencelabs/avm'
version: 0.39.1-feat-VM-276-aquavm-keypair-e2816f6-1588-1.0