Skip to content
Snippets Groups Projects
Unverified Commit 1fddecbd authored by Xiliang Chen's avatar Xiliang Chen Committed by GitHub
Browse files

update substrate (#69)

parent bade464b
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,7 @@ impl pallet_balances::Trait for Runtime {
type Balance = Balance;
type OnFreeBalanceZero = ();
type OnNewAccount = ();
type OnReapAccount = ();
type TransferPayment = ();
type DustRemoval = ();
type Event = ();
......
......@@ -33,7 +33,7 @@ pub trait Trait: frame_system::Trait {
decl_storage! {
trait Store for Module<T: Trait> as Oracle {
pub RawValues get(raw_values): double_map T::OracleKey, blake2_256(T::AccountId) => Option<TimestampedValueOf<T>>;
pub RawValues get(raw_values): double_map T::OracleKey, T::AccountId => Option<TimestampedValueOf<T>>;
pub HasUpdate get(has_update): map T::OracleKey => bool;
pub Values get(values): map T::OracleKey => Option<TimestampedValueOf<T>>;
}
......
......@@ -58,7 +58,7 @@ decl_storage! {
}): map T::CurrencyId => T::Balance;
/// The balance of a token type under an account.
pub Balance get(fn balance): double_map T::CurrencyId, blake2_256(T::AccountId) => T::Balance;
pub Balance get(fn balance): double_map T::CurrencyId, T::AccountId => T::Balance;
}
add_extra_genesis {
config(endowed_accounts): Vec<(T::AccountId, T::CurrencyId, T::Balance)>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment