@@ -17,28 +17,28 @@ pub struct MasterchainInfo {
1717pub struct MasterchainInfoExt {
1818 #[ tl( flags) ]
1919 pub mode : ( ) ,
20- pub version : i32 ,
21- pub capabilities : i64 ,
20+ pub version : u32 ,
21+ pub capabilities : u64 ,
2222 pub last : BlockIdExt ,
23- pub last_utime : i32 ,
24- pub now : i32 ,
23+ pub last_utime : u32 ,
24+ pub now : u32 ,
2525 pub state_root_hash : Int256 ,
2626 pub init : ZeroStateIdExt ,
2727}
2828
2929#[ derive( TlRead , TlWrite , Derivative ) ]
3030#[ derivative( Debug , Clone , PartialEq ) ]
3131pub struct CurrentTime {
32- pub now : i32 ,
32+ pub now : u32 ,
3333}
3434
3535#[ derive( TlRead , TlWrite , Derivative ) ]
3636#[ derivative( Debug , Clone , PartialEq ) ]
3737pub 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 ,
4242}
4343
4444#[ derive( TlRead , TlWrite , Derivative ) ]
@@ -79,7 +79,7 @@ pub struct BlockHeader {
7979#[ derive( TlRead , TlWrite , Derivative ) ]
8080#[ derivative( Debug , Clone , PartialEq ) ]
8181pub struct SendMsgStatus {
82- pub status : i32 ,
82+ pub status : u32 ,
8383}
8484
8585#[ derive( TlRead , TlWrite , Derivative ) ]
@@ -157,7 +157,7 @@ pub struct TransactionId {
157157 #[ tl( flags_bit = "mode.0" ) ]
158158 pub account : Option < Int256 > ,
159159 #[ tl( flags_bit = "mode.1" ) ]
160- pub lt : Option < i64 > ,
160+ pub lt : Option < u64 > ,
161161 #[ tl( flags_bit = "mode.2" ) ]
162162 pub hash : Option < Int256 > ,
163163}
@@ -166,7 +166,7 @@ pub struct TransactionId {
166166#[ derivative( Debug , Clone , PartialEq ) ]
167167pub struct BlockTransactions {
168168 pub id : BlockIdExt ,
169- pub req_count : i32 ,
169+ pub req_count : u32 ,
170170 pub incomplete : bool ,
171171 pub ids : Vec < TransactionId > ,
172172 pub proof : Vec < u8 > ,
@@ -197,7 +197,7 @@ pub struct ValidatorStats {
197197 #[ tl( flags) ]
198198 pub mode : ( ) ,
199199 pub id : BlockIdExt ,
200- pub count : i32 ,
200+ pub count : u32 ,
201201 pub complete : bool ,
202202 pub state_proof : Vec < u8 > ,
203203 pub data_proof : Vec < u8 > ,
0 commit comments