diff --git a/docs/api/runtime-calls.md b/docs/api/runtime-calls.md index 064ef8b059bb138b7c1d74a635822a813939d7d0..5adde95a843e80509d6e673d0b10f95218751734 100644 --- a/docs/api/runtime-calls.md +++ b/docs/api/runtime-calls.md @@ -12,7 +12,7 @@ Calls are categorized according to the dispatch origin they require: We only document user calls below. -There are **64** user calls from **17** pallets. +There are **63** user calls from **17** pallets. ## Account - 1 @@ -105,28 +105,6 @@ The dispatch origin of this call must be Signed. transfer everything except at least the existential deposit, which will guarantee to keep the sender account alive (true). -### burn - 10 - -<details><summary><code>burn(value, keep_alive)</code></summary> - -No weight available. - -```rust -value: T::Balance -keep_alive: bool -``` -</details> - - - -Burn the specified liquid free balance from the origin account. - -If the origin's account ends up below the existential deposit as a result -of the burn and `keep_alive` is false, the account will be reaped. - -Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, -this `burn` operation will reduce total issuance by the amount _burned_. - ## OneshotAccount - 7 ### create_oneshot_account - 0 diff --git a/xtask/src/gen_doc.rs b/xtask/src/gen_doc.rs index 9fd9c9092c435587b6681dd797c6d9a23acdb40e..68d77c6117c24adb7ce14e6e552b189f467d3204 100644 --- a/xtask/src/gen_doc.rs +++ b/xtask/src/gen_doc.rs @@ -232,6 +232,7 @@ impl CallCategory { | "force_unreserve" | "force_adjust_total_issuance", ) => Self::Root, + ("Balances", "burn") => Self::Disabled, ("Sudo", _) => Self::Sudo, ("Treasury", "approve_proposal" | "reject_proposal") => Self::OtherOrigin, ("Utility", "dispatch_as" | "with_weight") => Self::Root,