Skip to content

Commit

Permalink
upgrade pallet-anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed May 10, 2024
1 parent 07bb334 commit 446439a
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 28 deletions.
78 changes: 64 additions & 14 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ members = [
"libs/traits",
"libs/types",
"libs/utils",
#"pallets/anchors",
"pallets/anchors",
#"pallets/bridge",
#"pallets/block-rewards",
#"pallets/collator-allowlist",
Expand Down
14 changes: 1 addition & 13 deletions pallets/anchors/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,11 @@ frame_support::construct_runtime!(
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type Block = frame_system::mocking::MockBlock<Runtime>;
type RuntimeEvent = ();
}

#[derive_impl(pallet_balances::config_preludes::TestDefaultConfig as pallet_balances::DefaultConfig)]
impl pallet_balances::Config for Runtime {
type AccountStore = System;
type Balance = Balance;
type DustRemoval = ();
type ExistentialDeposit = ConstU64<1>;
type FreezeIdentifier = ();
type MaxFreezes = ();
type MaxHolds = ConstU32<1>;
type MaxLocks = ();
type MaxReserves = ();
type ReserveIdentifier = ();
type RuntimeEvent = ();
type RuntimeHoldReason = ();
type WeightInfo = ();
}

impl pallet_timestamp::Config for Runtime {
Expand Down

0 comments on commit 446439a

Please sign in to comment.