mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
Required weight is returned in case it exceeds limit. (#2952)
This commit is contained in:
@@ -43,7 +43,9 @@ pub enum Error {
|
||||
BadOrigin,
|
||||
ExceedsMaxMessageSize,
|
||||
FailedToTransactAsset(#[codec(skip)] &'static str),
|
||||
WeightLimitReached,
|
||||
/// Execution of the XCM would potentially result in a greater weight used than the pre-specified
|
||||
/// weight limit. The amount that is potentially required is the parameter.
|
||||
WeightLimitReached(Weight),
|
||||
Wildcard,
|
||||
/// The case where an XCM message has specified a optional weight limit and the weight required for
|
||||
/// processing is too great.
|
||||
|
||||
Reference in New Issue
Block a user