Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 8516686

Browse files
committed
feat: 🎸 update sdk to v27.0.2
1 parent 8d9e62e commit 8516686

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

envs/7.0.0.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ CHAIN_IMAGE=polymeshassociation/polymesh:latest-develop-debian
22
SUBQUERY_INDEXER_IMAGE=polymeshassociation/polymesh-subquery:v18.0.2
33

44
SUBQUERY_QUERY_IMAGE=onfinality/subql-query:v2.11.0
5-
REST_IMAGE=polymeshassociation/polymesh-rest-api:v7.0.0-alpha.6
5+
REST_IMAGE=polymeshassociation/polymesh-rest-api:v7.0.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"@polkadot/wasm-crypto": "7.2.2",
7373
"@polymeshassociation/hashicorp-vault-signing-manager": "^3.0.1",
7474
"@polymeshassociation/local-signing-manager": "^3.1.0",
75-
"@polymeshassociation/polymesh-sdk": "^27.0.0-alpha.9",
75+
"@polymeshassociation/polymesh-sdk": "^27.0.2",
7676
"cross-fetch": "^4.0.0",
7777
"dotenv": "^16.0.3"
7878
},

src/sdk/settlements/tradeOffChainAssets.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ export const tradeOffChainAssets = async (
120120
// Fetch and verify off chain affirmations
121121
const offChainAffirmations = await instruction.getOffChainAffirmations();
122122

123-
assert(offChainAffirmations.length === 2, 'off-chain affirmations for the instruction');
123+
assert(
124+
offChainAffirmations.length === 2,
125+
`off-chain affirmations for the instruction. expected 2 received ${offChainAffirmations.length}`
126+
);
124127

125128
// we can not execute the instruction
126129
const executeInstructionTx = await instruction.executeManually({

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,10 +1509,10 @@
15091509
dependencies:
15101510
"@polymeshassociation/signing-manager-types" "^3.2.0"
15111511

1512-
"@polymeshassociation/polymesh-sdk@^27.0.0-alpha.9":
1513-
version "27.0.0-alpha.9"
1514-
resolved "https://registry.yarnpkg.com/@polymeshassociation/polymesh-sdk/-/polymesh-sdk-27.0.0-alpha.9.tgz#dde78bc4e7ba259b93de42ee5a04970f934e90a7"
1515-
integrity sha512-lt45p8B/UEwIlDbfyC7SpYnFPa7kwWr+CLTwl5Akep5/puzz6h1vahdOCEuUld7AvG27xWQof4gesm4jnJBiRg==
1512+
"@polymeshassociation/polymesh-sdk@^27.0.2":
1513+
version "27.0.2"
1514+
resolved "https://registry.yarnpkg.com/@polymeshassociation/polymesh-sdk/-/polymesh-sdk-27.0.2.tgz#a5e47e356b671aed71071a5e5d1afdb03ee2e74c"
1515+
integrity sha512-GTbGF9MWI/yU7Kwbkqo6Kq2YVI/pbY9GUI/aw5/xkn9O4ZPMyLbvO3wspWkVzF8tNy6Apt/olEHs/9+HzG3M0g==
15161516
dependencies:
15171517
"@apollo/client" "^3.8.1"
15181518
"@polkadot/api" "11.2.1"

0 commit comments

Comments
 (0)