Skip to content

Commit

Permalink
remove experimental feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathy-bajo committed Jan 23, 2025
1 parent 8553ebc commit c9f3c70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
9 changes: 2 additions & 7 deletions substrate/frame/bounties/src/migrations/v4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,8 @@
// limitations under the License.

use core::str;
use frame::{
deps::{
sp_core::hexdisplay::HexDisplay,
sp_io::{hashing::twox_128, storage},
},
testing_prelude::*,
};
use frame::testing_prelude::*;


use crate as pallet_bounties;

Expand Down
4 changes: 2 additions & 2 deletions substrate/frame/bounties/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ impl Default for ExtBuilder {
}

impl ExtBuilder {
pub fn build(self) -> sp_io::TestExternalities {
let mut ext: sp_io::TestExternalities = RuntimeGenesisConfig {
pub fn build(self) -> TestState {
let mut ext: TestState = RuntimeGenesisConfig {
system: frame_system::GenesisConfig::default(),
balances: pallet_balances::GenesisConfig {
balances: vec![(0, 100), (1, 98), (2, 1)],
Expand Down
1 change: 0 additions & 1 deletion substrate/frame/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ pub mod testing_prelude {

/// Testing includes building a runtime, so we bring in all preludes related to runtimes as
/// well.
pub use super::runtime::testing_prelude::*;
/// Other helper macros from `frame_support` that help with asserting in tests.
pub use frame_support::{
Expand Down

0 comments on commit c9f3c70

Please sign in to comment.