Skip to content

Commit c3d8bb6

Browse files
Update config flags
1 parent 8289d25 commit c3d8bb6

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

liteapi/src/tl/request.rs

+16
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,18 @@ pub struct GetConfigAll {
192192
pub with_state_extra_root: Option<()>,
193193
#[tl(flags_bit = "mode.3")]
194194
pub with_shard_hashes: Option<()>,
195+
#[tl(flags_bit = "mode.4")]
196+
pub with_validator_set: Option<()>,
197+
#[tl(flags_bit = "mode.5")]
198+
pub with_special_smc: Option<()>,
195199
#[tl(flags_bit = "mode.6")]
196200
pub with_accounts_root: Option<()>,
197201
#[tl(flags_bit = "mode.7")]
198202
pub with_prev_blocks: Option<()>,
203+
#[tl(flags_bit = "mode.8")]
204+
pub with_workchain_info: Option<()>,
205+
#[tl(flags_bit = "mode.9")]
206+
pub with_capabilities: Option<()>,
199207
#[tl(flags_bit = "mode.15")]
200208
pub extract_from_key_block: Option<()>,
201209
}
@@ -215,10 +223,18 @@ pub struct GetConfigParams {
215223
pub with_state_extra_root: Option<()>,
216224
#[tl(flags_bit = "mode.3")]
217225
pub with_shard_hashes: Option<()>,
226+
#[tl(flags_bit = "mode.4")]
227+
pub with_validator_set: Option<()>,
228+
#[tl(flags_bit = "mode.5")]
229+
pub with_special_smc: Option<()>,
218230
#[tl(flags_bit = "mode.6")]
219231
pub with_accounts_root: Option<()>,
220232
#[tl(flags_bit = "mode.7")]
221233
pub with_prev_blocks: Option<()>,
234+
#[tl(flags_bit = "mode.8")]
235+
pub with_workchain_info: Option<()>,
236+
#[tl(flags_bit = "mode.9")]
237+
pub with_capabilities: Option<()>,
222238
#[tl(flags_bit = "mode.15")]
223239
pub extract_from_key_block: Option<()>,
224240
}

liteapi/src/tl/response.rs

+8
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,18 @@ pub struct ConfigInfo {
197197
pub with_state_extra_root: Option<()>,
198198
#[tl(flags_bit = "mode.3")]
199199
pub with_shard_hashes: Option<()>,
200+
#[tl(flags_bit = "mode.4")]
201+
pub with_validator_set: Option<()>,
202+
#[tl(flags_bit = "mode.5")]
203+
pub with_special_smc: Option<()>,
200204
#[tl(flags_bit = "mode.6")]
201205
pub with_accounts_root: Option<()>,
202206
#[tl(flags_bit = "mode.7")]
203207
pub with_prev_blocks: Option<()>,
208+
#[tl(flags_bit = "mode.8")]
209+
pub with_workchain_info: Option<()>,
210+
#[tl(flags_bit = "mode.9")]
211+
pub with_capabilities: Option<()>,
204212
#[tl(flags_bit = "mode.15")]
205213
pub extract_from_key_block: Option<()>,
206214
}

0 commit comments

Comments
 (0)