@@ -34,8 +34,8 @@ pub struct WrappedRequest {
3434 scheme_inline = r##"liteServer.waitMasterchainSeqno seqno:int timeout_ms:int = Object;"##
3535) ]
3636pub struct WaitMasterchainSeqno {
37- pub seqno : i32 ,
38- pub timeout_ms : i32 ,
37+ pub seqno : u32 ,
38+ pub timeout_ms : u32 ,
3939}
4040
4141#[ derive( TlRead , TlWrite , Derivative ) ]
@@ -93,7 +93,7 @@ pub struct RunSmcMethod {
9393 pub mode : u32 ,
9494 pub id : BlockIdExt ,
9595 pub account : AccountId ,
96- pub method_id : i64 ,
96+ pub method_id : u64 ,
9797 pub params : Vec < u8 > ,
9898}
9999
@@ -117,15 +117,15 @@ pub struct GetAllShardsInfo {
117117pub struct GetOneTransaction {
118118 pub id : BlockIdExt ,
119119 pub account : AccountId ,
120- pub lt : i64 ,
120+ pub lt : u64 ,
121121}
122122
123123#[ derive( TlRead , TlWrite , Derivative ) ]
124124#[ derivative( Debug , Clone , PartialEq ) ]
125125pub struct GetTransactions {
126- pub count : i32 ,
126+ pub count : u32 ,
127127 pub account : AccountId ,
128- pub lt : i64 ,
128+ pub lt : u64 ,
129129 pub hash : Int256 ,
130130}
131131
@@ -135,10 +135,22 @@ pub struct LookupBlock {
135135 #[ tl( flags) ]
136136 pub mode : ( ) ,
137137 pub id : BlockId ,
138+ #[ tl( flags_bit = "mode.0" ) ]
139+ pub seqno : Option < ( ) > ,
138140 #[ tl( flags_bit = "mode.1" ) ]
139- pub lt : Option < i64 > ,
141+ pub lt : Option < u64 > ,
140142 #[ tl( flags_bit = "mode.2" ) ]
141- pub utime : Option < i32 > ,
143+ pub utime : Option < u32 > ,
144+ #[ tl( flags_bit = "mode.4" ) ]
145+ pub with_state_update : Option < ( ) > ,
146+ #[ tl( flags_bit = "mode.5" ) ]
147+ pub with_value_flow : Option < ( ) > ,
148+ #[ tl( flags_bit = "mode.8" ) ]
149+ pub with_extra : Option < ( ) > ,
150+ #[ tl( flags_bit = "mode.9" ) ]
151+ pub with_shard_hashes : Option < ( ) > ,
152+ #[ tl( flags_bit = "mode.10" ) ]
153+ pub with_prev_blk_signatures : Option < ( ) > ,
142154}
143155
144156#[ derive( TlRead , TlWrite , Derivative ) ]
@@ -147,7 +159,7 @@ pub struct ListBlockTransactions {
147159 pub id : BlockIdExt ,
148160 #[ tl( flags) ]
149161 pub mode : ( ) ,
150- pub count : i32 ,
162+ pub count : u32 ,
151163 #[ tl( flags_bit = "mode.7" ) ]
152164 pub after : Option < TransactionId3 > ,
153165 #[ tl( flags_bit = "mode.6" ) ]
@@ -217,11 +229,11 @@ pub struct GetValidatorStats {
217229 #[ tl( flags) ]
218230 pub mode : ( ) ,
219231 id : BlockIdExt ,
220- pub limit : i32 ,
232+ pub limit : u32 ,
221233 #[ tl( flags_bit = "mode.0" ) ]
222234 pub start_after : Option < Int256 > ,
223235 #[ tl( flags_bit = "mode.2" ) ]
224- pub modified_after : Option < i32 > ,
236+ pub modified_after : Option < u32 > ,
225237}
226238
227239#[ derive( TlRead , TlWrite , Derivative ) ]
@@ -307,4 +319,4 @@ pub enum Request {
307319 /// liteServer.getValidatorStats#091a58bc mode:# id:tonNode.blockIdExt limit:int start_after:mode.0?int256 modified_after:mode.2?int = liteServer.ValidatorStats;
308320 #[ tl( id = 0xe7253699 ) ]
309321 GetValidatorStats ( GetValidatorStats ) ,
310- }
322+ }
0 commit comments