mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 13:07:56 +00:00
Contracts: Update Config::Debug (#14789)
* Update Debug trait * Rename * tweak * fmt * Better namings * rm unsafe-debug * rework doc * nit * fix comment * clippy * update naming * Rename file * fmt fixes * rename * Move tracing behind umbrella Debugging trait * fix * fix comment * reorder imports * comment * update doc * add missing doc * add missing doc * Update Debugging -> Debugger * Update bin/node/runtime/Cargo.toml
This commit is contained in:
@@ -16,9 +16,12 @@
|
||||
// limitations under the License.
|
||||
|
||||
mod pallet_dummy;
|
||||
mod unsafe_debug;
|
||||
mod test_debug;
|
||||
|
||||
use self::test_utils::{ensure_stored, expected_deposit, hash};
|
||||
use self::{
|
||||
test_debug::TestDebug,
|
||||
test_utils::{ensure_stored, expected_deposit, hash},
|
||||
};
|
||||
use crate::{
|
||||
self as pallet_contracts,
|
||||
chain_extension::{
|
||||
@@ -479,8 +482,7 @@ impl Config for Test {
|
||||
type Migrations = crate::migration::codegen::BenchMigrations;
|
||||
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent;
|
||||
type MaxDelegateDependencies = MaxDelegateDependencies;
|
||||
#[cfg(feature = "unsafe-debug")]
|
||||
type Debug = unsafe_debug::TestDebugger;
|
||||
type Debug = TestDebug;
|
||||
type Environment = ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user