mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
Add assumptions that must be held in assets module (#2867)
* Add assumptions that must be held in assets module * Update srml/assets/src/lib.rs Co-Authored-By: DemiMarie-parity <48690212+DemiMarie-parity@users.noreply.github.com> * Update srml/assets/src/lib.rs Co-Authored-By: DemiMarie-parity <48690212+DemiMarie-parity@users.noreply.github.com>
This commit is contained in:
@@ -114,6 +114,14 @@
|
||||
//! }
|
||||
//! ```
|
||||
//!
|
||||
//! ## Assumptions
|
||||
//!
|
||||
//! Below are assumptions that must be held when using this module. If any of
|
||||
//! them are violated, the behavior of this module is undefined.
|
||||
//!
|
||||
//! * The total count of assets should be less than
|
||||
//! `Trait::AssetId::max_value()`.
|
||||
//!
|
||||
//! ## Related Modules
|
||||
//!
|
||||
//! * [`System`](../srml_system/index.html)
|
||||
|
||||
Reference in New Issue
Block a user