Skip to content

Commit

Permalink
Update config flags
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker-volodya committed Jun 28, 2024
1 parent 8289d25 commit c3d8bb6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions liteapi/src/tl/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,18 @@ pub struct GetConfigAll {
pub with_state_extra_root: Option<()>,
#[tl(flags_bit = "mode.3")]
pub with_shard_hashes: Option<()>,
#[tl(flags_bit = "mode.4")]
pub with_validator_set: Option<()>,
#[tl(flags_bit = "mode.5")]
pub with_special_smc: Option<()>,
#[tl(flags_bit = "mode.6")]
pub with_accounts_root: Option<()>,
#[tl(flags_bit = "mode.7")]
pub with_prev_blocks: Option<()>,
#[tl(flags_bit = "mode.8")]
pub with_workchain_info: Option<()>,
#[tl(flags_bit = "mode.9")]
pub with_capabilities: Option<()>,
#[tl(flags_bit = "mode.15")]
pub extract_from_key_block: Option<()>,
}
Expand All @@ -215,10 +223,18 @@ pub struct GetConfigParams {
pub with_state_extra_root: Option<()>,
#[tl(flags_bit = "mode.3")]
pub with_shard_hashes: Option<()>,
#[tl(flags_bit = "mode.4")]
pub with_validator_set: Option<()>,
#[tl(flags_bit = "mode.5")]
pub with_special_smc: Option<()>,
#[tl(flags_bit = "mode.6")]
pub with_accounts_root: Option<()>,
#[tl(flags_bit = "mode.7")]
pub with_prev_blocks: Option<()>,
#[tl(flags_bit = "mode.8")]
pub with_workchain_info: Option<()>,
#[tl(flags_bit = "mode.9")]
pub with_capabilities: Option<()>,
#[tl(flags_bit = "mode.15")]
pub extract_from_key_block: Option<()>,
}
Expand Down
8 changes: 8 additions & 0 deletions liteapi/src/tl/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,18 @@ pub struct ConfigInfo {
pub with_state_extra_root: Option<()>,
#[tl(flags_bit = "mode.3")]
pub with_shard_hashes: Option<()>,
#[tl(flags_bit = "mode.4")]
pub with_validator_set: Option<()>,
#[tl(flags_bit = "mode.5")]
pub with_special_smc: Option<()>,
#[tl(flags_bit = "mode.6")]
pub with_accounts_root: Option<()>,
#[tl(flags_bit = "mode.7")]
pub with_prev_blocks: Option<()>,
#[tl(flags_bit = "mode.8")]
pub with_workchain_info: Option<()>,
#[tl(flags_bit = "mode.9")]
pub with_capabilities: Option<()>,
#[tl(flags_bit = "mode.15")]
pub extract_from_key_block: Option<()>,
}
Expand Down

0 comments on commit c3d8bb6

Please sign in to comment.