Name | Type | |
|---|---|---|
| TotalIssuance | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":11} | |
| GasNodes | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["gear_common:gas_provider:node:GasNodeId"],"value":"gear_common:gas_provider:node:GasNode","keys_id":323,"value_id":611}} | |
| Allowance | {"origin":"PlainType","plain_type":"U64","PlainTypeValue":11} |
Name | Type | Value | |
|---|---|---|---|
| BlockGasLimit | U64 | 00cc7b9fae000000 |
Name | Docs |
|---|---|
| Forbidden | |
| NodeAlreadyExists | |
| InsufficientBalance | |
| NodeNotFound | |
| NodeWasConsumed | |
| ParentIsLost | Errors stating that gas tree has been invalidated |
| ParentHasNoChildren | |
| UnexpectedConsumeOutput | Output of `Tree::consume` procedure that wasn't expected.Outputs of consumption procedure are determined. The error is returnedwhen unexpected one occurred. That signals, that algorithm works wrongand expected invariants are not correct. |
| UnexpectedNodeType | Node type that can't occur if algorithm work well |
| ValueIsNotCaught | Value must have been caught, but was missed or blocked (for more info see `ValueNode::catch_value`). |
| ValueIsBlocked | Value must have been caught or moved upstream, but was blocked (for more info see `ValueNode::catch_value`). |
| ValueIsNotBlocked | Value must have been blocked, but was either moved or caught (for more info see `ValueNode::catch_value`). |
| ConsumedWithLock | `GasTree::consume` called on node, which has some balance locked. |
| ConsumedWithSystemReservation | `GasTree::consume` called on node, which has some system reservation. |
| TotalValueIsOverflowed | `GasTree::create` called with some value amount leading tothe total value overflow. |
| TotalValueIsUnderflowed | Either `GasTree::consume` or `GasTree::spent` called on a node creatingnegative imbalance which leads to the total value drop below 0. |