This repository was archived by the owner on Sep 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ version: 2
33jobs :
44 test :
55 docker :
6- - image : web3f/node:v1
6+ - image : web3f/node-dind:v3
77 - image : parity/polkadot:latest
88 name : polkadot
9- command : --chain=kusama- dev --ws -port 11000 --alice --ws-external -- rpc-methods=Unsafe --rpc-cors=all
9+ command : --dev --rpc -port 11000 --rpc-external
1010 steps :
1111 - checkout
1212 - run : yarn
Original file line number Diff line number Diff line change 11{
22 "name" : " @w3f/polkadot-api-client" ,
3- "version" : " 1.2.28 " ,
3+ "version" : " 1.3.0 " ,
44 "description" : " Polkaddot API client" ,
55 "repository" : " git@github.com:w3f/polkadot-api-client-ts.git" ,
66 "author" : " W3F Infrastructure Team <devops@web3.foundation>" ,
1919 "start" : " node ./dist/src/index.js start"
2020 },
2121 "dependencies" : {
22- "@polkadot/api" : " ^9.4.2 " ,
22+ "@polkadot/api" : " ^12.0.1 " ,
2323 "@w3f/logger" : " ^0.4.2" ,
2424 "async-wait-until" : " ^1.2.6" ,
2525 "fs-extra" : " ^9.0.1"
3131 "@types/tmp" : " ^0.2.2" ,
3232 "@typescript-eslint/eslint-plugin" : " ^2.25.0" ,
3333 "@typescript-eslint/parser" : " ^2.25.0" ,
34- "@w3f/test-utils" : " ^1.2.30 " ,
34+ "@w3f/test-utils" : " ^1.4.0 " ,
3535 "chai" : " ^4.2.0" ,
3636 "eslint" : " ^7.32.0" ,
3737 "mocha" : " ^9.1.2" ,
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ export class Client implements ApiClient {
7070 const account = await this . getAccountBalances ( senderKeyPair . address ) ;
7171 let transfer ;
7272 if ( isKeepAliveForced ) transfer = this . _api . tx . balances . transferKeepAlive ( recipentAddress , amount ) ;
73- else transfer = this . _api . tx . balances . transfer ( recipentAddress , amount ) ;
73+ else transfer = this . _api . tx . balances . transferAllowDeath ( recipentAddress , amount ) ;
7474 const transferOptions = {
7575 blockHash : this . _api . genesisHash ,
7676 era,
You can’t perform that action at this time.
0 commit comments