contracts: Expose environment types for offchain tooling (#14750)

* Expose environment types for offchain tooling

* Use EnvironmentType wrapper

* Add type impl to test config

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Alexander Theißen
2023-08-23 13:05:35 +02:00
committed by GitHub
parent 63007e2f55
commit d8a7490146
3 changed files with 46 additions and 3 deletions
+1
View File
@@ -1265,6 +1265,7 @@ impl pallet_contracts::Config for Runtime {
type CodeHashLockupDepositPercent = CodeHashLockupDepositPercent;
#[cfg(feature = "unsafe-debug")]
type Debug = ();
type Environment = ();
}
impl pallet_sudo::Config for Runtime {