@@ -17,28 +17,28 @@ pub struct MasterchainInfo {
17
17
pub struct MasterchainInfoExt {
18
18
#[ tl( flags) ]
19
19
pub mode : ( ) ,
20
- pub version : i32 ,
21
- pub capabilities : i64 ,
20
+ pub version : u32 ,
21
+ pub capabilities : u64 ,
22
22
pub last : BlockIdExt ,
23
- pub last_utime : i32 ,
24
- pub now : i32 ,
23
+ pub last_utime : u32 ,
24
+ pub now : u32 ,
25
25
pub state_root_hash : Int256 ,
26
26
pub init : ZeroStateIdExt ,
27
27
}
28
28
29
29
#[ derive( TlRead , TlWrite , Derivative ) ]
30
30
#[ derivative( Debug , Clone , PartialEq ) ]
31
31
pub struct CurrentTime {
32
- pub now : i32 ,
32
+ pub now : u32 ,
33
33
}
34
34
35
35
#[ derive( TlRead , TlWrite , Derivative ) ]
36
36
#[ derivative( Debug , Clone , PartialEq ) ]
37
37
pub struct Version {
38
- pub mode : i32 ,
39
- pub version : i32 ,
40
- pub capabilities : i64 ,
41
- pub now : i32 ,
38
+ pub mode : u32 ,
39
+ pub version : u32 ,
40
+ pub capabilities : u64 ,
41
+ pub now : u32 ,
42
42
}
43
43
44
44
#[ derive( TlRead , TlWrite , Derivative ) ]
@@ -79,7 +79,7 @@ pub struct BlockHeader {
79
79
#[ derive( TlRead , TlWrite , Derivative ) ]
80
80
#[ derivative( Debug , Clone , PartialEq ) ]
81
81
pub struct SendMsgStatus {
82
- pub status : i32 ,
82
+ pub status : u32 ,
83
83
}
84
84
85
85
#[ derive( TlRead , TlWrite , Derivative ) ]
@@ -157,7 +157,7 @@ pub struct TransactionId {
157
157
#[ tl( flags_bit = "mode.0" ) ]
158
158
pub account : Option < Int256 > ,
159
159
#[ tl( flags_bit = "mode.1" ) ]
160
- pub lt : Option < i64 > ,
160
+ pub lt : Option < u64 > ,
161
161
#[ tl( flags_bit = "mode.2" ) ]
162
162
pub hash : Option < Int256 > ,
163
163
}
@@ -166,7 +166,7 @@ pub struct TransactionId {
166
166
#[ derivative( Debug , Clone , PartialEq ) ]
167
167
pub struct BlockTransactions {
168
168
pub id : BlockIdExt ,
169
- pub req_count : i32 ,
169
+ pub req_count : u32 ,
170
170
pub incomplete : bool ,
171
171
pub ids : Vec < TransactionId > ,
172
172
pub proof : Vec < u8 > ,
@@ -197,7 +197,7 @@ pub struct ValidatorStats {
197
197
#[ tl( flags) ]
198
198
pub mode : ( ) ,
199
199
pub id : BlockIdExt ,
200
- pub count : i32 ,
200
+ pub count : u32 ,
201
201
pub complete : bool ,
202
202
pub state_proof : Vec < u8 > ,
203
203
pub data_proof : Vec < u8 > ,
0 commit comments