Skip to content
Snippets Groups Projects
Commit e3847331 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

gen doc

parent fa3b8a71
No related branches found
No related tags found
1 merge request!269Resolve "Generate runtime-error.po"
Pipeline #37902 waiting for manual action
This diff is collapsed.
......@@ -697,6 +697,13 @@ More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at
Too few hashes were requested to be upgraded (i.e. zero).
</details>
</li>
<li>
<details>
<summary>
<code>NoCost</code> - 8</summary>
No ticket with a cost was returned by [`Config::Consideration`] to store the preimage.
</details>
</li>
</ul>
</li>
<li>TechnicalCommittee - 23
......@@ -1396,28 +1403,21 @@ Too many calls batched.
<li>
<details>
<summary>
<code>InsufficientProposersBalance</code> - 0</summary>
Proposer's balance is too low.
</details>
</li>
<li>
<details>
<summary>
<code>InvalidIndex</code> - 1</summary>
<code>InvalidIndex</code> - 0</summary>
No proposal, bounty or spend at that index.
</details>
</li>
<li>
<details>
<summary>
<code>TooManyApprovals</code> - 2</summary>
<code>TooManyApprovals</code> - 1</summary>
Too many approvals in the queue.
</details>
</li>
<li>
<details>
<summary>
<code>InsufficientPermission</code> - 3</summary>
<code>InsufficientPermission</code> - 2</summary>
The spend origin is valid but the amount it is allowed to spend is lower than the
amount to be spent.
</details>
......@@ -1425,56 +1425,56 @@ amount to be spent.
<li>
<details>
<summary>
<code>ProposalNotApproved</code> - 4</summary>
<code>ProposalNotApproved</code> - 3</summary>
Proposal has not been approved.
</details>
</li>
<li>
<details>
<summary>
<code>FailedToConvertBalance</code> - 5</summary>
<code>FailedToConvertBalance</code> - 4</summary>
The balance of the asset kind is not convertible to the balance of the native asset.
</details>
</li>
<li>
<details>
<summary>
<code>SpendExpired</code> - 6</summary>
<code>SpendExpired</code> - 5</summary>
The spend has expired and cannot be claimed.
</details>
</li>
<li>
<details>
<summary>
<code>EarlyPayout</code> - 7</summary>
<code>EarlyPayout</code> - 6</summary>
The spend is not yet eligible for payout.
</details>
</li>
<li>
<details>
<summary>
<code>AlreadyAttempted</code> - 8</summary>
<code>AlreadyAttempted</code> - 7</summary>
The payment has already been attempted.
</details>
</li>
<li>
<details>
<summary>
<code>PayoutError</code> - 9</summary>
<code>PayoutError</code> - 8</summary>
There was some issue with the mechanism of payment.
</details>
</li>
<li>
<details>
<summary>
<code>NotAttempted</code> - 10</summary>
<code>NotAttempted</code> - 9</summary>
The payout was not yet attempted/claimed.
</details>
</li>
<li>
<details>
<summary>
<code>Inconclusive</code> - 11</summary>
<code>Inconclusive</code> - 10</summary>
The payment has neither failed nor succeeded yet.
</details>
</li>
......
......@@ -176,6 +176,8 @@ msgid "Preimage.TooMany"
msgstr "More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once."
msgid "Preimage.TooFew"
msgstr "Too few hashes were requested to be upgraded (i.e. zero)."
msgid "Preimage.NoCost"
msgstr "No ticket with a cost was returned by [`Config::Consideration`] to store the preimage."
msgid "TechnicalCommittee.NotMember"
msgstr "Account is not a member"
msgid "TechnicalCommittee.DuplicateProposal"
......@@ -360,8 +362,6 @@ msgid "Proxy.NoSelfProxy"
msgstr "Cannot add self as proxy."
msgid "Utility.TooManyCalls"
msgstr "Too many calls batched."
msgid "Treasury.InsufficientProposersBalance"
msgstr "Proposer's balance is too low."
msgid "Treasury.InvalidIndex"
msgstr "No proposal, bounty or spend at that index."
msgid "Treasury.TooManyApprovals"
......
# Runtime events
There are **138** events from **35** pallets.
There are **136** events from **35** pallets.
<ul>
<li>System - 0
......@@ -1763,19 +1763,7 @@ result: DispatchResult
<li>
<details>
<summary>
<code>Proposed(proposal_index)</code> - 0</summary>
New proposal.
```rust
proposal_index: ProposalIndex
```
</details>
</li>
<li>
<details>
<summary>
<code>Spending(budget_remaining)</code> - 1</summary>
<code>Spending(budget_remaining)</code> - 0</summary>
We have ended a spend period and will now allocate funds.
```rust
......@@ -1787,7 +1775,7 @@ budget_remaining: BalanceOf<T, I>
<li>
<details>
<summary>
<code>Awarded(proposal_index, award, account)</code> - 2</summary>
<code>Awarded(proposal_index, award, account)</code> - 1</summary>
Some funds have been allocated.
```rust
......@@ -1801,20 +1789,7 @@ account: T::AccountId
<li>
<details>
<summary>
<code>Rejected(proposal_index, slashed)</code> - 3</summary>
A proposal was rejected; funds were slashed.
```rust
proposal_index: ProposalIndex
slashed: BalanceOf<T, I>
```
</details>
</li>
<li>
<details>
<summary>
<code>Burnt(burnt_funds)</code> - 4</summary>
<code>Burnt(burnt_funds)</code> - 2</summary>
Some of our funds have been burnt.
```rust
......@@ -1826,7 +1801,7 @@ burnt_funds: BalanceOf<T, I>
<li>
<details>
<summary>
<code>Rollover(rollover_balance)</code> - 5</summary>
<code>Rollover(rollover_balance)</code> - 3</summary>
Spending has finished; this is the amount that rolls over until next spend.
```rust
......@@ -1838,7 +1813,7 @@ rollover_balance: BalanceOf<T, I>
<li>
<details>
<summary>
<code>Deposit(value)</code> - 6</summary>
<code>Deposit(value)</code> - 4</summary>
Some funds have been deposited.
```rust
......@@ -1850,7 +1825,7 @@ value: BalanceOf<T, I>
<li>
<details>
<summary>
<code>SpendApproved(proposal_index, amount, beneficiary)</code> - 7</summary>
<code>SpendApproved(proposal_index, amount, beneficiary)</code> - 5</summary>
A new spend proposal has been approved.
```rust
......@@ -1864,7 +1839,7 @@ beneficiary: T::AccountId
<li>
<details>
<summary>
<code>UpdatedInactive(reactivated, deactivated)</code> - 8</summary>
<code>UpdatedInactive(reactivated, deactivated)</code> - 6</summary>
The inactive funds of the pallet have been updated.
```rust
......@@ -1877,7 +1852,7 @@ deactivated: BalanceOf<T, I>
<li>
<details>
<summary>
<code>AssetSpendApproved(index, asset_kind, amount, beneficiary, valid_from, expire_at)</code> - 9</summary>
<code>AssetSpendApproved(index, asset_kind, amount, beneficiary, valid_from, expire_at)</code> - 7</summary>
A new asset spend proposal has been approved.
```rust
......@@ -1894,7 +1869,7 @@ expire_at: BlockNumberFor<T>
<li>
<details>
<summary>
<code>AssetSpendVoided(index)</code> - 10</summary>
<code>AssetSpendVoided(index)</code> - 8</summary>
An approved spend was voided.
```rust
......@@ -1906,7 +1881,7 @@ index: SpendIndex
<li>
<details>
<summary>
<code>Paid(index, payment_id)</code> - 11</summary>
<code>Paid(index, payment_id)</code> - 9</summary>
A payment happened.
```rust
......@@ -1919,7 +1894,7 @@ payment_id: <T::Paymaster as Pay>::Id
<li>
<details>
<summary>
<code>PaymentFailed(index, payment_id)</code> - 12</summary>
<code>PaymentFailed(index, payment_id)</code> - 10</summary>
A payment failed and can be retried.
```rust
......@@ -1932,7 +1907,7 @@ payment_id: <T::Paymaster as Pay>::Id
<li>
<details>
<summary>
<code>SpendProcessed(index)</code> - 13</summary>
<code>SpendProcessed(index)</code> - 11</summary>
A spend was processed and removed from the storage. It might have been successfully
paid or it may have expired.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment