File tree 6 files changed +447
-433
lines changed
local-store/repos/__snapshots__
postgres/repos/__snapshots__
6 files changed +447
-433
lines changed Original file line number Diff line number Diff line change 46
46
"@nestjs/schedule" : " ^4.0.2" ,
47
47
"@nestjs/swagger" : " ^7.3.1" ,
48
48
"@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" ,
53
53
"@polymeshassociation/signing-manager-types" : " ^3.2.0" ,
54
54
"class-transformer" : " 0.5.1" ,
55
55
"class-validator" : " ^0.14.0" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ exports[`LocalOfflineTxRepo OfflineEvent test suite method: createTx should reco
13
13
" payload" : {
14
14
" address" : " address" ,
15
15
" blockHash" : " 0x01" ,
16
- " blockNumber" : " -1 " ,
16
+ " blockNumber" : " 0x01 " ,
17
17
" era" : " 0x01" ,
18
18
" genesisHash" : " 0x01" ,
19
19
" method" : " testMethod" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ OfflineTxModel {
13
13
" payload" : {
14
14
" address" : " address" ,
15
15
" blockHash" : " 0x01" ,
16
- " blockNumber" : " -1 " ,
16
+ " blockNumber" : " 0x01 " ,
17
17
" era" : " 0x01" ,
18
18
" genesisHash" : " 0x01" ,
19
19
" method" : " testMethod" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const offlineTx = new OfflineTxModel({
32
32
payload : {
33
33
address : 'address' ,
34
34
blockHash : '0x01' ,
35
- blockNumber : '-1 ' ,
35
+ blockNumber : '0x01 ' ,
36
36
genesisHash : '0x01' ,
37
37
era : '0x01' ,
38
38
method : 'testMethod' ,
Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ export class PayloadDto {
10
10
example : '0x005b8d84' ,
11
11
} )
12
12
@IsHexadecimal ( )
13
- readonly specVersion : string ;
13
+ readonly specVersion : `0x${ string } ` ;
14
14
15
15
@ApiProperty ( {
16
16
type : 'string' ,
17
17
description : 'The transaction version' ,
18
18
example : '0x00000004' ,
19
19
} )
20
20
@IsHexadecimal ( )
21
- readonly transactionVersion : string ;
21
+ readonly transactionVersion : `0x${ string } ` ;
22
22
23
23
@ApiProperty ( {
24
24
type : 'string' ,
@@ -36,7 +36,7 @@ export class PayloadDto {
36
36
} )
37
37
@IsHexadecimal ( )
38
38
@Length ( 66 )
39
- readonly blockHash : string ;
39
+ readonly blockHash : `0x${ string } ` ;
40
40
41
41
@ApiProperty ( {
42
42
type : 'string' ,
@@ -45,15 +45,15 @@ export class PayloadDto {
45
45
example : '0x00000000' ,
46
46
} )
47
47
@IsHexadecimal ( )
48
- readonly blockNumber : string ;
48
+ readonly blockNumber : `0x${ string } ` ;
49
49
50
50
@ApiProperty ( {
51
51
type : 'string' ,
52
52
description : 'How long this transaction is valid for' ,
53
53
example : '0xc501' ,
54
54
} )
55
55
@IsHexadecimal ( )
56
- readonly era : string ;
56
+ readonly era : `0x${ string } ` ;
57
57
58
58
@ApiProperty ( {
59
59
type : 'string' ,
@@ -62,7 +62,7 @@ export class PayloadDto {
62
62
} )
63
63
@IsHexadecimal ( )
64
64
@Length ( 66 )
65
- readonly genesisHash : string ;
65
+ readonly genesisHash : `0x${ string } ` ;
66
66
67
67
@ApiProperty ( {
68
68
type : 'string' ,
@@ -78,7 +78,7 @@ export class PayloadDto {
78
78
example : '0x00000007' ,
79
79
} )
80
80
@IsHexadecimal ( )
81
- readonly nonce : string ;
81
+ readonly nonce : `0x${ string } ` ;
82
82
83
83
@ApiProperty ( {
84
84
type : 'string' ,
You can’t perform that action at this time.
0 commit comments