Skip to content

Commit 2b3c586

Browse files
committed
revert naming conventions
1 parent e0efb1c commit 2b3c586

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pallets/committee/src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ fn propose_constituent_works() {
488488
));
489489

490490
// test if proposal submitted with event
491-
if let Event::Committee(crate::Event::Proposed(_, _, hash)) = last_event() {
491+
if let Event::pallet_committee(crate::Event::Proposed(_, _, hash)) = last_event() {
492492
assert_eq!(&[hash], Committee::active_proposals().as_slice());
493493

494494
// vote Aye on adding new constituent

pallets/price-feed/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ frame-benchmarking = { git = 'https://github.com/paritytech/substrate', branch =
2121
pallet-chainlink-feed = { git = 'https://github.com/ChainSafe/chainlink-polkadot', branch = 'upgrade-substrate-master', default-features = false }
2222

2323
[dev-dependencies]
24+
serde = { version = "1.0.101" }
2425
sp-core = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false }
2526
sp-io = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false }
2627
sp-runtime = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false }
2728

28-
pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4', default-features = false }
29+
pallet-balances = { git = 'https://github.com/paritytech/substrate', branch = 'polkadot-v0.9.4' }
2930

3031

3132
[features]

pallets/price-feed/src/mock.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ parameter_types! {
9494

9595
pub(crate) type FeedId = u16;
9696
pub(crate) type Value = u128;
97-
9897
impl pallet_chainlink_feed::Config for Test {
9998
type Event = Event;
10099
type FeedId = FeedId;
@@ -106,7 +105,7 @@ impl pallet_chainlink_feed::Config for Test {
106105
type OracleCountLimit = OracleLimit;
107106
type FeedLimit = FeedLimit;
108107
type OnAnswerHandler = ();
109-
type WeightInfo = ();
108+
type WeightInfo = pallet_chainlink_feed::default_weights::WeightInfo<Test>;
110109
}
111110

112111
pub(crate) type AssetId = u64;

0 commit comments

Comments
 (0)