Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion envs/7.0.0.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ CHAIN_IMAGE=polymeshassociation/polymesh:latest-develop-debian
SUBQUERY_INDEXER_IMAGE=polymeshassociation/polymesh-subquery:v18.0.2

SUBQUERY_QUERY_IMAGE=onfinality/subql-query:v2.11.0
REST_IMAGE=polymeshassociation/polymesh-rest-api:v7.0.0-alpha.6
REST_IMAGE=polymeshassociation/polymesh-rest-api:v7.0.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@polkadot/wasm-crypto": "7.2.2",
"@polymeshassociation/hashicorp-vault-signing-manager": "^3.0.1",
"@polymeshassociation/local-signing-manager": "^3.1.0",
"@polymeshassociation/polymesh-sdk": "^27.0.0-alpha.9",
"@polymeshassociation/polymesh-sdk": "^27.0.2",
"cross-fetch": "^4.0.0",
"dotenv": "^16.0.3"
},
Expand Down
5 changes: 4 additions & 1 deletion src/sdk/settlements/tradeOffChainAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ export const tradeOffChainAssets = async (
// Fetch and verify off chain affirmations
const offChainAffirmations = await instruction.getOffChainAffirmations();

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

// we can not execute the instruction
const executeInstructionTx = await instruction.executeManually({
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1509,10 +1509,10 @@
dependencies:
"@polymeshassociation/signing-manager-types" "^3.2.0"

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