mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 09:15:42 +00:00
Removed pallet::getter usage from Beefy and MMR pallets (#3740)
Part of #3326 cc @kianenigma @ggwpez @liamaharon polkadot address: 12poSUQPtcF1HUPQGY3zZu2P8emuW9YnsPduA4XG3oCEfJVp --------- Signed-off-by: Matteo Muraca <mmuraca247@gmail.com>
This commit is contained in:
@@ -107,7 +107,7 @@ fn should_contain_valid_leaf_data() {
|
||||
let mut ext = new_test_ext(vec![1, 2, 3, 4]);
|
||||
let parent_hash = ext.execute_with(|| {
|
||||
init_block(1);
|
||||
<frame_system::Pallet<Test>>::parent_hash()
|
||||
frame_system::Pallet::<Test>::parent_hash()
|
||||
});
|
||||
|
||||
let mmr_leaf = read_mmr_leaf(&mut ext, node_offchain_key(0, parent_hash));
|
||||
@@ -132,7 +132,7 @@ fn should_contain_valid_leaf_data() {
|
||||
// build second block on top
|
||||
let parent_hash = ext.execute_with(|| {
|
||||
init_block(2);
|
||||
<frame_system::Pallet<Test>>::parent_hash()
|
||||
frame_system::Pallet::<Test>::parent_hash()
|
||||
});
|
||||
|
||||
let mmr_leaf = read_mmr_leaf(&mut ext, node_offchain_key(1, parent_hash));
|
||||
|
||||
Reference in New Issue
Block a user