Skip to content

Commit

Permalink
some missing balances name updates
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Nov 4, 2024
1 parent f6c7e3c commit 9b2b2d2
Show file tree
Hide file tree
Showing 54 changed files with 162 additions and 162 deletions.
6 changes: 3 additions & 3 deletions steps/1/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/10/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/11/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/12/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/13/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/14/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/15/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/16/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/17/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/18/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/19/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/2/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/20/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/21/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/22/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/23/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/24/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/25/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
6 changes: 3 additions & 3 deletions steps/26/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl frame_system::Config for TestRuntime {
type AccountData = pallet_balances::AccountData<Balance>;
}

// Normally `Balances` would have many more configurations, but you can see that we use some macro
// magic to automatically configure most of the pallet for a "default test configuration".
// Normally `pallet_balances` would have many more configurations, but you can see that we use some
// macro magic to automatically configure most of the pallet for a "default test configuration".
#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig)]
impl pallet_balances::Config for TestRuntime {
type AccountStore = System;
Expand Down Expand Up @@ -86,7 +86,7 @@ fn starting_template_is_sane() {

#[test]
fn system_and_balances_work() {
// This test will just sanity check that we can access `System` and `Balances`.
// This test will just sanity check that we can access `System` and `PalletBalances`.
new_test_ext().execute_with(|| {
// We often need to set `System` to block 1 so that we can see events.
System::set_block_number(1);
Expand Down
Loading

0 comments on commit 9b2b2d2

Please sign in to comment.