Skip to content

Commit cb5fff5

Browse files
authored
feat: add production FeeRecipient account
1 parent bf48371 commit cb5fff5

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

pallets/oracle-ocw/src/lib.rs

-3
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,6 @@ pub mod pallet {
195195
}
196196
};
197197
}
198-
199-
// Todo:
200-
// - Fetch price information for Polimec
201198
}
202199
}
203200

runtimes/polimec/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ impl pallet_assets::Config<ForeignAssetsInstance> for Runtime {
451451
#[cfg(feature = "runtime-benchmarks")]
452452
type BenchmarkHelper = ();
453453
type CallbackHandle = ();
454-
// TODO Check Creation Origin
454+
// Only Root (aka Governance) can create a new asset.
455455
type CreateOrigin = AsEnsureOriginWithArg<EnsureRootWithSuccess<AccountId, RootOperatorAccountId>>;
456456
type Currency = Balances;
457457
type Extra = ();
@@ -1097,10 +1097,10 @@ parameter_types! {
10971097
// Fee is defined as 1.5% of the usd_amount. Since fee is applied to the plmc amount, and that is always 5 times
10981098
// less than the usd_amount (multiplier of 5), we multiply the 1.5 by 5 to get 7.5%
10991099
pub FeePercentage: Perbill = Perbill::from_rational(75u32, 1000u32);
1100-
// TODO: add a real account here
1101-
pub FeeRecipient: AccountId = [0u8; 32].into();
1100+
pub FeeRecipient: AccountId = AccountId::from(hex_literal::hex!("3ea952b5fa77f4c67698e79fe2d023a764a41aae409a83991b7a7bdd9b74ab56"));
11021101
pub RootId: PalletId = PalletId(*b"treasury");
11031102
}
1103+
11041104
impl pallet_proxy_bonding::Config for Runtime {
11051105
type BondingToken = Balances;
11061106
type BondingTokenDecimals = ConstU8<PLMC_DECIMALS>;

0 commit comments

Comments
 (0)