Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Amar Singh <[email protected]>
  • Loading branch information
mittal-parth and 4meta5 authored Dec 3, 2024
1 parent 7668d06 commit 8cbf800
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ macro_rules! impl_openzeppelin_assets {
type Currency = Balances;
type Extra = ();
// The origin which may forcibly create or destroy an asset or otherwise alter privileged
// attributes.
// attributes.
type ForceOrigin = <$t as AssetsConfig>::ForceOrigin;
type Freezer = ();
type MetadataDepositBase = MetadataDepositBase;
Expand Down Expand Up @@ -93,7 +93,7 @@ macro_rules! impl_openzeppelin_assets {
// Handler for withdrawing, refunding and depositing the transaction fee.
type OnChargeTransaction = pallet_transaction_payment::FungibleAdapter<Balances, ()>;
// A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
// `priority`
// `priority`
type OperationalFeeMultiplier = OperationalFeeMultiplier;
type RuntimeEvent = RuntimeEvent;
type WeightToFee = <$t as AssetsConfig>::WeightToFee;
Expand Down
2 changes: 1 addition & 1 deletion src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ macro_rules! impl_openzeppelin_evm {
parameter_types! {
// This is the relative view of erc20 assets.
// Identified by this prefix + AccountKey20(contractAddress)
// We use the RELATIVE multi-location
// We use the RELATIVE multilocation
pub Erc20XcmBridgePalletLocation: Location = Location {
parents:0,
interior: [
Expand Down
2 changes: 1 addition & 1 deletion src/xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ macro_rules! impl_openzeppelin_xcm {
// Processes XCM transactions with rollback capability in case of failure.
type TransactionalProcessor = FrameTransactionalProcessor;
type UniversalAliases = Nothing;
// Defines the universal location for the XCM; teleporting is disabled here.
// Defines the universal location for the XCM.
type UniversalLocation = UniversalLocation;
// Provides weight measurement logic for XCM execution.
type Weigher = FixedWeightBounds<UnitWeightCost, RuntimeCall, MaxInstructions>;
Expand Down

0 comments on commit 8cbf800

Please sign in to comment.