mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 15:01:06 +00:00
Cross-contract calling: simple debugger (#14678)
* Provide basic breakpoints * Rename to Observer * Rename feature. Single trait. Borrow-checker * : frame_system::Config * Confused type name * Minor bugs * pub trait * No unnecessary cloning * Make node compile with all features * Move everything debug-related to a single module * Add docs and implementation for () * fmt * Make it feature-gated or for tests * Prepare testing kit * Testcase * Fmt * Use feature in dev-deps * ? * feature propagation * AAAA * lol, that doesn't make much sense to me * Turn on * clippy * Remove self dep * fmt, feature-gating test * Noop to trigger CI * idk * add feature to pipeline * Corrupt test to see if it is actually being run * Revert change * Doc for conf type * Review * Imports * ... * Remove debug for kitchen-sink * Move test * Fix imports * I must have already tried this one...
This commit is contained in:
committed by
GitHub
parent
32bd1c397b
commit
b24b66c991
@@ -97,6 +97,7 @@ mod wasm;
|
||||
|
||||
pub mod chain_extension;
|
||||
pub mod migration;
|
||||
pub mod unsafe_debug;
|
||||
pub mod weights;
|
||||
|
||||
#[cfg(test)]
|
||||
@@ -351,6 +352,14 @@ pub mod pallet {
|
||||
/// type Migrations = (v10::Migration<Runtime, Currency>,);
|
||||
/// ```
|
||||
type Migrations: MigrateSequence;
|
||||
|
||||
/// Type that provides debug handling for the contract execution process.
|
||||
///
|
||||
/// # Warning
|
||||
///
|
||||
/// Do **not** use it in a production environment or for benchmarking purposes.
|
||||
#[cfg(feature = "unsafe-debug")]
|
||||
type Debug: unsafe_debug::UnsafeDebug<Self>;
|
||||
}
|
||||
|
||||
#[pallet::hooks]
|
||||
|
||||
Reference in New Issue
Block a user