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ßenandparity-processbot authored and GitHub committed 2023-08-23 11:05:35 +00:00
1 parent 63007e2f55
commit d8a7490146
3 files changed
+46 -3

No files matched your search

+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]);