@@ -34,8 +34,8 @@ pub struct WrappedRequest {
34
34
scheme_inline = r##"liteServer.waitMasterchainSeqno seqno:int timeout_ms:int = Object;"##
35
35
) ]
36
36
pub struct WaitMasterchainSeqno {
37
- pub seqno : i32 ,
38
- pub timeout_ms : i32 ,
37
+ pub seqno : u32 ,
38
+ pub timeout_ms : u32 ,
39
39
}
40
40
41
41
#[ derive( TlRead , TlWrite , Derivative ) ]
@@ -93,7 +93,7 @@ pub struct RunSmcMethod {
93
93
pub mode : u32 ,
94
94
pub id : BlockIdExt ,
95
95
pub account : AccountId ,
96
- pub method_id : i64 ,
96
+ pub method_id : u64 ,
97
97
pub params : Vec < u8 > ,
98
98
}
99
99
@@ -117,15 +117,15 @@ pub struct GetAllShardsInfo {
117
117
pub struct GetOneTransaction {
118
118
pub id : BlockIdExt ,
119
119
pub account : AccountId ,
120
- pub lt : i64 ,
120
+ pub lt : u64 ,
121
121
}
122
122
123
123
#[ derive( TlRead , TlWrite , Derivative ) ]
124
124
#[ derivative( Debug , Clone , PartialEq ) ]
125
125
pub struct GetTransactions {
126
- pub count : i32 ,
126
+ pub count : u32 ,
127
127
pub account : AccountId ,
128
- pub lt : i64 ,
128
+ pub lt : u64 ,
129
129
pub hash : Int256 ,
130
130
}
131
131
@@ -136,9 +136,9 @@ pub struct LookupBlock {
136
136
pub mode : ( ) ,
137
137
pub id : BlockId ,
138
138
#[ tl( flags_bit = "mode.1" ) ]
139
- pub lt : Option < i64 > ,
139
+ pub lt : Option < u64 > ,
140
140
#[ tl( flags_bit = "mode.2" ) ]
141
- pub utime : Option < i32 > ,
141
+ pub utime : Option < u32 > ,
142
142
}
143
143
144
144
#[ derive( TlRead , TlWrite , Derivative ) ]
@@ -147,7 +147,7 @@ pub struct ListBlockTransactions {
147
147
pub id : BlockIdExt ,
148
148
#[ tl( flags) ]
149
149
pub mode : ( ) ,
150
- pub count : i32 ,
150
+ pub count : u32 ,
151
151
#[ tl( flags_bit = "mode.7" ) ]
152
152
pub after : Option < TransactionId3 > ,
153
153
#[ tl( flags_bit = "mode.6" ) ]
@@ -187,11 +187,11 @@ pub struct GetValidatorStats {
187
187
#[ tl( flags) ]
188
188
pub mode : ( ) ,
189
189
id : BlockIdExt ,
190
- pub limit : i32 ,
190
+ pub limit : u32 ,
191
191
#[ tl( flags_bit = "mode.0" ) ]
192
192
pub start_after : Option < Int256 > ,
193
193
#[ tl( flags_bit = "mode.2" ) ]
194
- pub modified_after : Option < i32 > ,
194
+ pub modified_after : Option < u32 > ,
195
195
}
196
196
197
197
#[ derive( TlRead , TlWrite , Derivative ) ]
@@ -277,4 +277,4 @@ pub enum Request {
277
277
/// liteServer.getValidatorStats#091a58bc mode:# id:tonNode.blockIdExt limit:int start_after:mode.0?int256 modified_after:mode.2?int = liteServer.ValidatorStats;
278
278
#[ tl( id = 0xe7253699 ) ]
279
279
GetValidatorStats ( GetValidatorStats ) ,
280
- }
280
+ }
0 commit comments