Skip to content

Commit d3a0588

Browse files
committed
BlobsModule to Blobs
1 parent 3c45800 commit d3a0588

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sugondat-chain/pallets/blobs/src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ frame_support::construct_runtime!(
1717
UncheckedExtrinsic = UncheckedExtrinsic,
1818
{
1919
System: frame_system::{Pallet, Call, Config, Storage, Event<T>},
20-
BlobsModule: crate::{Pallet, Call, Storage, Event<T>},
20+
Blobs: crate::{Pallet, Call, Storage, Event<T>},
2121
}
2222
);
2323

sugondat-chain/pallets/blobs/src/tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ use frame_support::{assert_noop, assert_ok};
55
fn it_works_for_default_value() {
66
new_test_ext().execute_with(|| {
77
// Dispatch a signed extrinsic.
8-
assert_ok!(BlobsModule::do_something(RuntimeOrigin::signed(1), 42));
8+
assert_ok!(Blobs::do_something(RuntimeOrigin::signed(1), 42));
99
// Read pallet storage and assert an expected result.
10-
assert_eq!(BlobsModule::something(), Some(42));
10+
assert_eq!(Blobs::something(), Some(42));
1111
});
1212
}
1313

1414
#[test]
1515
fn correct_error_for_none_value() {
1616
new_test_ext().execute_with(|| {
1717
// Ensure the expected error is thrown when no value is present.
18-
assert_noop!(BlobsModule::cause_error(RuntimeOrigin::signed(1)), Error::<Test>::NoneValue);
18+
assert_noop!(Blobs::cause_error(RuntimeOrigin::signed(1)), Error::<Test>::NoneValue);
1919
});
2020
}

0 commit comments

Comments
 (0)