Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 91 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ parameter_types! {
impl pallet_migrations::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
#[cfg(not(feature = "runtime-benchmarks"))]
type Migrations = pallet_migrations::migrations::ResetPallet<Runtime, Revive>;
type Migrations = pallet_revive::migrations::v1::Migration<Runtime>;
// Benchmarks need mocked migrations to guarantee that they succeed.
#[cfg(feature = "runtime-benchmarks")]
type Migrations = pallet_migrations::mock_helpers::MockedMigrations;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@

use core::marker::PhantomData;
use ethereum_standards::IERC20;
use frame_support::{
pallet_prelude::Zero,
traits::{fungible::Inspect, OriginTrait},
};
use frame_support::traits::{fungible::Inspect, OriginTrait};
use pallet_revive::{
precompiles::alloy::{
primitives::{Address, U256 as EU256},
Expand Down Expand Up @@ -127,7 +124,7 @@ where
pallet_revive::Pallet::<T>::bare_call(
T::RuntimeOrigin::signed(who.clone()),
asset_id,
BalanceOf::<T>::zero(),
U256::zero(),
gas_limit,
DepositLimit::Balance(StorageDepositLimit::get()),
data,
Expand Down Expand Up @@ -185,7 +182,7 @@ where
pallet_revive::Pallet::<T>::bare_call(
T::RuntimeOrigin::signed(TransfersCheckingAccount::get()),
asset_id,
BalanceOf::<T>::zero(),
U256::zero(),
gas_limit,
DepositLimit::Balance(StorageDepositLimit::get()),
data,
Expand Down
Loading
Loading