Skip to content

Commit 2db9a95

Browse files
committed
create_inherent to create_bare
1 parent df51365 commit 2db9a95

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

pallets/admin-utils/src/tests/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ impl<LocalCall> frame_system::offchain::CreateInherent<LocalCall> for Test
443443
where
444444
RuntimeCall: From<LocalCall>,
445445
{
446-
fn create_inherent(call: Self::RuntimeCall) -> Self::Extrinsic {
446+
fn create_bare(call: Self::RuntimeCall) -> Self::Extrinsic {
447447
UncheckedExtrinsic::new_inherent(call)
448448
}
449449
}

pallets/commitments/src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ impl<LocalCall> frame_system::offchain::CreateInherent<LocalCall> for Test
170170
where
171171
RuntimeCall: From<LocalCall>,
172172
{
173-
fn create_inherent(call: Self::RuntimeCall) -> Self::Extrinsic {
173+
fn create_bare(call: Self::RuntimeCall) -> Self::Extrinsic {
174174
UncheckedExtrinsic::new_inherent(call)
175175
}
176176
}

pallets/subtensor/src/tests/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ impl<LocalCall> frame_system::offchain::CreateInherent<LocalCall> for Test
631631
where
632632
RuntimeCall: From<LocalCall>,
633633
{
634-
fn create_inherent(call: Self::RuntimeCall) -> Self::Extrinsic {
634+
fn create_bare(call: Self::RuntimeCall) -> Self::Extrinsic {
635635
UncheckedExtrinsic::new_inherent(call)
636636
}
637637
}

runtime/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ where
125125
type RuntimeCall = RuntimeCall;
126126
}
127127

128-
impl frame_system::offchain::CreateInherent<pallet_drand::Call<Runtime>> for Runtime {
129-
fn create_inherent(call: Self::RuntimeCall) -> Self::Extrinsic {
128+
impl frame_system::offchain::CreateBare<pallet_drand::Call<Runtime>> for Runtime {
129+
fn create_bare(call: Self::RuntimeCall) -> Self::Extrinsic {
130130
UncheckedExtrinsic::new_bare(call)
131131
}
132132
}

0 commit comments

Comments
 (0)