Customizable ink address (#10521)

This commit is contained in:
Kevin Wang
2021-12-23 19:32:06 +08:00
committed by GitHub
parent 9c69df794f
commit 9c4d61df90
3 changed files with 60 additions and 16 deletions
+3 -1
View File
@@ -24,7 +24,8 @@ use crate::{
storage::Storage,
wasm::{PrefabWasmModule, ReturnCode as RuntimeReturnCode},
weights::WeightInfo,
BalanceOf, Code, CodeStorage, Config, ContractInfoOf, Error, Pallet, Schedule,
BalanceOf, Code, CodeStorage, Config, ContractInfoOf, DefaultAddressGenerator, Error, Pallet,
Schedule,
};
use assert_matches::assert_matches;
use codec::Encode;
@@ -285,6 +286,7 @@ impl Config for Test {
type Schedule = MySchedule;
type DepositPerByte = DepositPerByte;
type DepositPerItem = DepositPerItem;
type AddressGenerator = DefaultAddressGenerator;
}
pub const ALICE: AccountId32 = AccountId32::new([1u8; 32]);