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
@@ -481,6 +481,7 @@ impl Config for Test {
type MaxDelegateDependencies = MaxDelegateDependencies;
#[cfg(feature = "unsafe-debug")]
type Debug = unsafe_debug::TestDebugger;
type Environment = ();
}
pub const ALICE: AccountId32 = AccountId32::new([1u8; 32]);