Skip to content

Commit d17eb12

Browse files
committed
feat: 🎸 update sdk to v24.5.0
update sdk dependency to avoid warnings when connecting to a 6.3 chain
1 parent 85e1922 commit d17eb12

File tree

6 files changed

+447
-433
lines changed

6 files changed

+447
-433
lines changed

‎package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
"@nestjs/schedule": "^4.0.2",
4747
"@nestjs/swagger": "^7.3.1",
4848
"@nestjs/typeorm": "^10.0.2",
49-
"@polymeshassociation/fireblocks-signing-manager": "^2.4.0",
50-
"@polymeshassociation/hashicorp-vault-signing-manager": "^3.2.0",
51-
"@polymeshassociation/local-signing-manager": "^3.2.0",
52-
"@polymeshassociation/polymesh-sdk": "24.1.0",
49+
"@polymeshassociation/fireblocks-signing-manager": "^2.5.0",
50+
"@polymeshassociation/hashicorp-vault-signing-manager": "^3.4.0",
51+
"@polymeshassociation/local-signing-manager": "^3.3.0",
52+
"@polymeshassociation/polymesh-sdk": "24.5.0",
5353
"@polymeshassociation/signing-manager-types": "^3.2.0",
5454
"class-transformer": "0.5.1",
5555
"class-validator": "^0.14.0",

‎src/datastore/local-store/repos/__snapshots__/offline-tx.repo.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports[`LocalOfflineTxRepo OfflineEvent test suite method: createTx should reco
1313
"payload": {
1414
"address": "address",
1515
"blockHash": "0x01",
16-
"blockNumber": "-1",
16+
"blockNumber": "0x01",
1717
"era": "0x01",
1818
"genesisHash": "0x01",
1919
"method": "testMethod",

‎src/datastore/postgres/repos/__snapshots__/offline-tx.repo.spec.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ OfflineTxModel {
1313
"payload": {
1414
"address": "address",
1515
"blockHash": "0x01",
16-
"blockNumber": "-1",
16+
"blockNumber": "0x01",
1717
"era": "0x01",
1818
"genesisHash": "0x01",
1919
"method": "testMethod",

‎src/test-utils/consts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const offlineTx = new OfflineTxModel({
3232
payload: {
3333
address: 'address',
3434
blockHash: '0x01',
35-
blockNumber: '-1',
35+
blockNumber: '0x01',
3636
genesisHash: '0x01',
3737
era: '0x01',
3838
method: 'testMethod',

‎src/transactions/dto/payload.dto.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ export class PayloadDto {
1010
example: '0x005b8d84',
1111
})
1212
@IsHexadecimal()
13-
readonly specVersion: string;
13+
readonly specVersion: `0x${string}`;
1414

1515
@ApiProperty({
1616
type: 'string',
1717
description: 'The transaction version',
1818
example: '0x00000004',
1919
})
2020
@IsHexadecimal()
21-
readonly transactionVersion: string;
21+
readonly transactionVersion: `0x${string}`;
2222

2323
@ApiProperty({
2424
type: 'string',
@@ -36,7 +36,7 @@ export class PayloadDto {
3636
})
3737
@IsHexadecimal()
3838
@Length(66)
39-
readonly blockHash: string;
39+
readonly blockHash: `0x${string}`;
4040

4141
@ApiProperty({
4242
type: 'string',
@@ -45,15 +45,15 @@ export class PayloadDto {
4545
example: '0x00000000',
4646
})
4747
@IsHexadecimal()
48-
readonly blockNumber: string;
48+
readonly blockNumber: `0x${string}`;
4949

5050
@ApiProperty({
5151
type: 'string',
5252
description: 'How long this transaction is valid for',
5353
example: '0xc501',
5454
})
5555
@IsHexadecimal()
56-
readonly era: string;
56+
readonly era: `0x${string}`;
5757

5858
@ApiProperty({
5959
type: 'string',
@@ -62,7 +62,7 @@ export class PayloadDto {
6262
})
6363
@IsHexadecimal()
6464
@Length(66)
65-
readonly genesisHash: string;
65+
readonly genesisHash: `0x${string}`;
6666

6767
@ApiProperty({
6868
type: 'string',
@@ -78,7 +78,7 @@ export class PayloadDto {
7878
example: '0x00000007',
7979
})
8080
@IsHexadecimal()
81-
readonly nonce: string;
81+
readonly nonce: `0x${string}`;
8282

8383
@ApiProperty({
8484
type: 'string',

0 commit comments

Comments
 (0)