Skip to content

Commit

Permalink
Remove useless storage_growth
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav committed Dec 17, 2024
1 parent 4200ed5 commit 40beb1e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions precompiles/conviction-voting/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ where
let origin = Runtime::AddressMapping::into_account_id(caller);
let call = ConvictionVotingCall::<Runtime>::vote { poll_index, vote }.into();

<RuntimeHelper<Runtime>>::try_dispatch(handle, Some(origin).into(), call, 0)?;
<RuntimeHelper<Runtime>>::try_dispatch(handle, Some(origin).into(), call)?;

event.record(handle)?;

Expand Down Expand Up @@ -289,7 +289,7 @@ where
let origin = Runtime::AddressMapping::into_account_id(caller);
let call = ConvictionVotingCall::<Runtime>::remove_vote { class, index };

RuntimeHelper::<Runtime>::try_dispatch(handle, Some(origin).into(), call, 0)?;
RuntimeHelper::<Runtime>::try_dispatch(handle, Some(origin).into(), call)?;

event.record(handle)?;

Expand Down Expand Up @@ -333,7 +333,7 @@ where
index,
};

RuntimeHelper::<Runtime>::try_dispatch(handle, Some(origin).into(), call, 0)?;
RuntimeHelper::<Runtime>::try_dispatch(handle, Some(origin).into(), call)?;

event.record(handle)?;

Expand Down Expand Up @@ -406,7 +406,7 @@ where
let origin = Runtime::AddressMapping::into_account_id(caller);
let call = ConvictionVotingCall::<Runtime>::undelegate { class };

RuntimeHelper::<Runtime>::try_dispatch(handle, Some(origin).into(), call, 0)?;
RuntimeHelper::<Runtime>::try_dispatch(handle, Some(origin).into(), call)?;

event.record(handle)?;

Expand Down Expand Up @@ -438,7 +438,7 @@ where
let origin = Runtime::AddressMapping::into_account_id(handle.context().caller);
let call = ConvictionVotingCall::<Runtime>::unlock { class, target };

RuntimeHelper::<Runtime>::try_dispatch(handle, Some(origin).into(), call, 0)?;
RuntimeHelper::<Runtime>::try_dispatch(handle, Some(origin).into(), call)?;

event.record(handle)?;

Expand Down

0 comments on commit 40beb1e

Please sign in to comment.