mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 05:11:09 +00:00
contracts: Add new seal_call that offers new features (#8909)
* Add new `seal_call` that offers new features * Fix doc typo Co-authored-by: Michael Müller <michi@parity.io> * Fix doc typos Co-authored-by: Michael Müller <michi@parity.io> * Fix comment on assert * Update CHANGELOG.md Co-authored-by: Michael Müller <michi@parity.io>
This commit is contained in:
committed by
GitHub
parent
5c14dd3f32
commit
60256d752e
@@ -562,12 +562,11 @@ pub mod pallet {
|
||||
ContractTrapped,
|
||||
/// The size defined in `T::MaxValueSize` was exceeded.
|
||||
ValueTooLarge,
|
||||
/// The action performed is not allowed while the contract performing it is already
|
||||
/// on the call stack. Those actions are contract self destruction and restoration
|
||||
/// of a tombstone.
|
||||
ReentranceDenied,
|
||||
/// `seal_input` was called twice from the same contract execution context.
|
||||
InputAlreadyRead,
|
||||
/// Termination of a contract is not allowed while the contract is already
|
||||
/// on the call stack. Can be triggered by `seal_terminate` or `seal_restore_to.
|
||||
TerminatedWhileReentrant,
|
||||
/// `seal_call` forwarded this contracts input. It therefore is no longer available.
|
||||
InputForwarded,
|
||||
/// The subject passed to `seal_random` exceeds the limit.
|
||||
RandomSubjectTooLong,
|
||||
/// The amount of topics passed to `seal_deposit_events` exceeds the limit.
|
||||
@@ -602,6 +601,8 @@ pub mod pallet {
|
||||
TerminatedInConstructor,
|
||||
/// The debug message specified to `seal_debug_message` does contain invalid UTF-8.
|
||||
DebugMessageInvalidUTF8,
|
||||
/// A call tried to invoke a contract that is flagged as non-reentrant.
|
||||
ReentranceDenied,
|
||||
}
|
||||
|
||||
/// A mapping from an original code hash to the original code, untouched by instrumentation.
|
||||
|
||||
Reference in New Issue
Block a user