git.delta.rocks / unique-network / refs/commits / 0707cc7cb0a8

difftreelog

chore move contract address and transaction data to call context

Grigoriy Simonov2022-09-13parent: #f5580aa.patch.diff
in: master

13 files changed

modifiedCargo.lockdiffbeforeafterboth
6360[[package]]6360[[package]]
6361name = "pallet-template-transaction-payment"6361name = "pallet-template-transaction-payment"
6362version = "3.0.0"6362version = "3.0.0"
6363source = "git+https://github.com/uniquenetwork/pallet-sponsoring?rev=9ee7d6e57e03a2575cbab79431774b56f170018e#9ee7d6e57e03a2575cbab79431774b56f170018e"6363source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.27#853766d6033ceb68a2bef196790b962dd0663a04"
6364dependencies = [6364dependencies = [
6365 "frame-benchmarking",6365 "frame-benchmarking",
6366 "frame-support",6366 "frame-support",
12528[[package]]12528[[package]]
12529name = "up-sponsorship"12529name = "up-sponsorship"
12530version = "0.1.0"12530version = "0.1.0"
12531source = "git+https://github.com/uniquenetwork/pallet-sponsoring?rev=9ee7d6e57e03a2575cbab79431774b56f170018e#9ee7d6e57e03a2575cbab79431774b56f170018e"12531source = "git+https://github.com/uniquenetwork/pallet-sponsoring?branch=polkadot-v0.9.27#853766d6033ceb68a2bef196790b962dd0663a04"
12532dependencies = [12532dependencies = [
12533 "impl-trait-for-tuples",12533 "impl-trait-for-tuples",
12534]12534]
modifiedpallets/evm-contract-helpers/Cargo.tomldiffbeforeafterboth
21# Unique21# Unique
22pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }22pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
23fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }23fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
24up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", rev="9ee7d6e57e03a2575cbab79431774b56f170018e" }24up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27" }
2525
26# Locals26# Locals
27evm-coder = { default-features = false, path = '../../crates/evm-coder' }27evm-coder = { default-features = false, path = '../../crates/evm-coder' }
modifiedpallets/evm-contract-helpers/src/eth.rsdiffbeforeafterboth
379379
380/// Bridge to pallet-sponsoring380/// Bridge to pallet-sponsoring
381pub struct HelpersContractSponsoring<T: Config>(PhantomData<*const T>);381pub struct HelpersContractSponsoring<T: Config>(PhantomData<*const T>);
382impl<T: Config> SponsorshipHandler<T::CrossAccountId, (H160, Vec<u8>), CallContext>382impl<T: Config> SponsorshipHandler<T::CrossAccountId, CallContext>
383 for HelpersContractSponsoring<T>383 for HelpersContractSponsoring<T>
384{384{
385 fn get_sponsor(385 fn get_sponsor(
386 who: &T::CrossAccountId,386 who: &T::CrossAccountId,
387 call: &(H160, Vec<u8>),
388 call_context: &CallContext,387 call_context: &CallContext,
389 ) -> Option<T::CrossAccountId> {388 ) -> Option<T::CrossAccountId> {
390 let (contract_address, _) = call;389 let contract_address = call_context.contract_address;
391 let mode = <Pallet<T>>::sponsoring_mode(*contract_address);390 let mode = <Pallet<T>>::sponsoring_mode(contract_address);
392 if mode == SponsoringModeT::Disabled {391 if mode == SponsoringModeT::Disabled {
393 return None;392 return None;
394 }393 }
395394
396 let sponsor = match <Pallet<T>>::get_sponsor(*contract_address) {395 let sponsor = match <Pallet<T>>::get_sponsor(contract_address) {
397 Some(sponsor) => sponsor,396 Some(sponsor) => sponsor,
398 None => return None,397 None => return None,
399 };398 };
400399
401 if mode == SponsoringModeT::Allowlisted400 if mode == SponsoringModeT::Allowlisted
402 && !<Pallet<T>>::allowed(*contract_address, *who.as_eth())401 && !<Pallet<T>>::allowed(contract_address, *who.as_eth())
403 {402 {
404 return None;403 return None;
405 }404 }
modifiedpallets/evm-transaction-payment/Cargo.tomldiffbeforeafterboth
17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }17pallet-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
18fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }18fp-evm = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
19pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }19pallet-ethereum = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
20up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", rev = "9ee7d6e57e03a2575cbab79431774b56f170018e" }20up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27" }
21fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }21fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
2222
23[dependencies.codec]23[dependencies.codec]
modifiedpallets/evm-transaction-payment/src/lib.rsdiffbeforeafterboth
3535
36 /// Contains call data36 /// Contains call data
37 pub struct CallContext {37 pub struct CallContext {
38 /// Contract address
39 pub contract_address: H160,
40 /// Transaction data
41 pub input: Vec<u8>,
38 /// Max fee for transaction - gasLimit * gasPrice42 /// Max fee for transaction - gasLimit * gasPrice
39 pub max_fee: U256,43 pub max_fee: U256,
40 }44 }
44 /// Loosly-coupled handlers for evm call sponsoring48 /// Loosly-coupled handlers for evm call sponsoring
45 type EvmSponsorshipHandler: SponsorshipHandler<49 type EvmSponsorshipHandler: SponsorshipHandler<Self::CrossAccountId, CallContext>;
46 Self::CrossAccountId,
47 (H160, Vec<u8>),
48 CallContext,
49 >;
50 }50 }
5151
66 WithdrawReason::Call { target, input } => {66 WithdrawReason::Call { target, input } => {
67 let origin_sub = T::CrossAccountId::from_eth(origin);67 let origin_sub = T::CrossAccountId::from_eth(origin);
68 let call_context = CallContext { max_fee };68 let call_context = CallContext {
69 contract_address: *target,
70 input: input.clone(),
71 max_fee,
72 };
69 T::EvmSponsorshipHandler::get_sponsor(73 T::EvmSponsorshipHandler::get_sponsor(&origin_sub, &call_context)
70 &origin_sub,
71 &(*target, input.clone()),
72 &call_context,
73 )
74 }74 }
75 _ => None,75 _ => None,
7979
80/// Implements sponsoring for evm calls performed from pallet-evm (via api.tx.ethereum.transact/api.tx.evm.call)80/// Implements sponsoring for evm calls performed from pallet-evm (via api.tx.ethereum.transact/api.tx.evm.call)
81pub struct BridgeSponsorshipHandler<T>(PhantomData<T>);81pub struct BridgeSponsorshipHandler<T>(PhantomData<T>);
82impl<T, C> SponsorshipHandler<T::AccountId, C, ()> for BridgeSponsorshipHandler<T>82impl<T, C> SponsorshipHandler<T::AccountId, C> for BridgeSponsorshipHandler<T>
83where83where
84 T: Config + pallet_evm::Config,84 T: Config + pallet_evm::Config,
85 C: IsSubType<pallet_evm::Call<T>>,85 C: IsSubType<pallet_evm::Call<T>>,
86{86{
87 fn get_sponsor(who: &T::AccountId, call: &C, _call_context: &()) -> Option<T::AccountId> {87 fn get_sponsor(who: &T::AccountId, call: &C) -> Option<T::AccountId> {
88 match call.is_sub_type()? {88 match call.is_sub_type()? {
89 pallet_evm::Call::call {89 pallet_evm::Call::call {
90 source,90 source,
102 let who = T::CrossAccountId::from_sub(who.clone());102 let who = T::CrossAccountId::from_sub(who.clone());
103 let max_fee = max_fee_per_gas.saturating_mul((*gas_limit).into());103 let max_fee = max_fee_per_gas.saturating_mul((*gas_limit).into());
104 let call_context = CallContext { max_fee };104 let call_context = CallContext {
105 contract_address: *target,
106 input: input.clone(),
107 max_fee,
108 };
105 // Effects from EvmSponsorshipHandler are applied by pallet_evm::runner109 // Effects from EvmSponsorshipHandler are applied by pallet_evm::runner
106 // TODO: Should we implement simulation mode (test, but do not apply effects) in `up-sponsorship`?110 // TODO: Should we implement simulation mode (test, but do not apply effects) in `up-sponsorship`?
107 let sponsor = frame_support::storage::with_transaction(|| {111 let sponsor = frame_support::storage::with_transaction(|| {
108 TransactionOutcome::Rollback(Ok::<_, DispatchError>(112 TransactionOutcome::Rollback(Ok::<_, DispatchError>(
109 T::EvmSponsorshipHandler::get_sponsor(113 T::EvmSponsorshipHandler::get_sponsor(&who, &call_context),
110 &who,
111 &(*target, input.clone()),
112 &call_context,
113 ),
114 ))114 ))
115 })115 })
modifiedpallets/scheduler/Cargo.tomldiffbeforeafterboth
24sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.27' }24sp-core = { default-features = false, git = 'https://github.com/paritytech/substrate.git', branch = 'polkadot-v0.9.27' }
25frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }25frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }
2626
27up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", rev="9ee7d6e57e03a2575cbab79431774b56f170018e" }27up-sponsorship = { version = "0.1.0", default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27" }
28log = { version = "0.4.14", default-features = false }28log = { version = "0.4.14", default-features = false }
2929
30[dev-dependencies]30[dev-dependencies]
modifiedpallets/unique/src/eth/mod.rsdiffbeforeafterboth
21use evm_coder::{execution::*, generate_stubgen, solidity_interface, solidity, weight, types::*};21use evm_coder::{execution::*, generate_stubgen, solidity_interface, solidity, weight, types::*};
22use frame_support::traits::Get;22use frame_support::traits::Get;
23use pallet_common::{23use pallet_common::{
24 CollectionById, CollectionHandle,24 CollectionById,
25 dispatch::CollectionDispatch,25 dispatch::CollectionDispatch,
26 erc::{26 erc::{
27 CollectionHelpersEvents,27 CollectionHelpersEvents,
28 static_property::{key, value as property_value},28 static_property::{key, value as property_value},
29 },29 },
30 Pallet as PalletCommon,
31};30};
32use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};31use pallet_evm_coder_substrate::{SubstrateRecorder, WithRecorder};
33use pallet_evm::{account::CrossAccountId, OnMethodCall, PrecompileHandle, PrecompileResult};32use pallet_evm::{account::CrossAccountId, OnMethodCall, PrecompileHandle, PrecompileResult};
34use pallet_evm_coder_substrate::dispatch_to_evm;
35use up_data_structs::{33use up_data_structs::{
36 CollectionName, CollectionDescription, CollectionTokenPrefix, CreateCollectionData,34 CollectionName, CollectionDescription, CollectionTokenPrefix, CreateCollectionData,
37 CollectionMode, PropertyKeyPermission, PropertyPermission, PropertyScope, PropertyValue,35 CollectionMode, PropertyValue,
38};36};
3937
40use crate::{Config, SelfWeightOf, weights::WeightInfo};38use crate::{Config, SelfWeightOf, weights::WeightInfo};
4139
42use sp_std::{vec, vec::Vec};40use sp_std::vec::Vec;
43use alloc::format;41use alloc::format;
4442
45/// See [`CollectionHelpersCall`]43/// See [`CollectionHelpersCall`]
modifiedruntime/common/ethereum/sponsoring.rsdiffbeforeafterboth
34};34};
35use pallet_refungible::Config as RefungibleConfig;35use pallet_refungible::Config as RefungibleConfig;
36use pallet_unique::Config as UniqueConfig;36use pallet_unique::Config as UniqueConfig;
37use sp_core::H160;
38use sp_std::prelude::*;37use sp_std::prelude::*;
39use up_data_structs::{CollectionMode, CreateItemData, CreateNftData, TokenId};38use up_data_structs::{CollectionMode, CreateItemData, CreateNftData, TokenId};
40use up_sponsorship::SponsorshipHandler;39use up_sponsorship::SponsorshipHandler;
4847
49pub struct UniqueEthSponsorshipHandler<T: UniqueConfig>(PhantomData<*const T>);48pub struct UniqueEthSponsorshipHandler<T: UniqueConfig>(PhantomData<*const T>);
50impl<T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig>49impl<T: UniqueConfig + FungibleConfig + NonfungibleConfig + RefungibleConfig>
51 SponsorshipHandler<T::CrossAccountId, (H160, Vec<u8>), CallContext>50 SponsorshipHandler<T::CrossAccountId, CallContext> for UniqueEthSponsorshipHandler<T>
52 for UniqueEthSponsorshipHandler<T>
53{51{
54 fn get_sponsor(52 fn get_sponsor(
55 who: &T::CrossAccountId,53 who: &T::CrossAccountId,
56 call: &(H160, Vec<u8>),
57 _fee_limit: &CallContext,54 call_context: &CallContext,
58 ) -> Option<T::CrossAccountId> {55 ) -> Option<T::CrossAccountId> {
59 let collection_id = map_eth_to_id(&call.0)?;56 let collection_id = map_eth_to_id(&call_context.contract_address)?;
60 let collection = <CollectionHandle<T>>::new(collection_id)?;57 let collection = <CollectionHandle<T>>::new(collection_id)?;
61 let sponsor = collection.sponsorship.sponsor()?.clone();58 let sponsor = collection.sponsorship.sponsor()?.clone();
62 let (method_id, mut reader) = AbiReader::new_call(&call.1).ok()?;59 let (method_id, mut reader) = AbiReader::new_call(&call_context.input).ok()?;
63 Some(T::CrossAccountId::from_sub(match &collection.mode {60 Some(T::CrossAccountId::from_sub(match &collection.mode {
64 CollectionMode::NFT => {61 CollectionMode::NFT => {
65 let call = <UniqueNFTCall<T>>::parse(method_id, &mut reader).ok()??;62 let call = <UniqueNFTCall<T>>::parse(method_id, &mut reader).ok()??;
modifiedruntime/common/sponsoring.rsdiffbeforeafterboth
224}224}
225225
226pub struct UniqueSponsorshipHandler<T>(PhantomData<T>);226pub struct UniqueSponsorshipHandler<T>(PhantomData<T>);
227impl<T, C> SponsorshipHandler<T::AccountId, C, ()> for UniqueSponsorshipHandler<T>227impl<T, C> SponsorshipHandler<T::AccountId, C> for UniqueSponsorshipHandler<T>
228where228where
229 T: Config,229 T: Config,
230 C: IsSubType<UniqueCall<T>>,230 C: IsSubType<UniqueCall<T>>,
231{231{
232 fn get_sponsor(who: &T::AccountId, call: &C, _call_context: &()) -> Option<T::AccountId> {232 fn get_sponsor(who: &T::AccountId, call: &C) -> Option<T::AccountId> {
233 match IsSubType::<UniqueCall<T>>::is_sub_type(call)? {233 match IsSubType::<UniqueCall<T>>::is_sub_type(call)? {
234 UniqueCall::set_token_properties {234 UniqueCall::set_token_properties {
235 collection_id,235 collection_id,
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
431pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }431pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
432pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }432pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
433# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }433# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
434pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", rev="9ee7d6e57e03a2575cbab79431774b56f170018e", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }434pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
435pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }435pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
436pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }436pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
437pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }437pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
442fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }442fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
443fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }443fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
444evm-coder = { default-features = false, path = '../../crates/evm-coder' }444evm-coder = { default-features = false, path = '../../crates/evm-coder' }
445up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", rev="9ee7d6e57e03a2575cbab79431774b56f170018e" }445up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27" }
446446
447################################################################################447################################################################################
448# Build Dependencies448# Build Dependencies
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
432pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }432pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
433pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }433pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
434# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }434# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
435pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", rev="9ee7d6e57e03a2575cbab79431774b56f170018e", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }435pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
436pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }436pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
437pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }437pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
438pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }438pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
443fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }443fp-rpc = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
444fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }444fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
445evm-coder = { default-features = false, path = '../../crates/evm-coder' }445evm-coder = { default-features = false, path = '../../crates/evm-coder' }
446up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", rev="9ee7d6e57e03a2575cbab79431774b56f170018e" }446up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27" }
447447
448################################################################################448################################################################################
449# Build Dependencies449# Build Dependencies
modifiedruntime/tests/Cargo.tomldiffbeforeafterboth
43scale-info = "*"43scale-info = "*"
4444
45evm-coder = { default-features = false, path = '../../crates/evm-coder' }45evm-coder = { default-features = false, path = '../../crates/evm-coder' }
46up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", rev="9ee7d6e57e03a2575cbab79431774b56f170018e" }46up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27" }
4747
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
425pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }425pallet-proxy-rmrk-equip = { default-features = false, path = "../../pallets/proxy-rmrk-equip", package = "pallet-rmrk-equip" }
426pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }426pallet-unique-scheduler = { path = '../../pallets/scheduler', default-features = false }
427# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }427# pallet-contract-helpers = { path = '../pallets/contract-helpers', default-features = false, version = '0.1.0' }
428pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", rev="9ee7d6e57e03a2575cbab79431774b56f170018e", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }428pallet-charge-transaction = { git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27", package = "pallet-template-transaction-payment", default-features = false, version = "3.0.0" }
429pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }429pallet-evm-migration = { path = '../../pallets/evm-migration', default-features = false }
430pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }430pallet-evm-contract-helpers = { path = '../../pallets/evm-contract-helpers', default-features = false }
431pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }431pallet-evm-transaction-payment = { path = '../../pallets/evm-transaction-payment', default-features = false }
437fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }437fp-self-contained = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
438fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }438fp-evm-mapping = { default-features = false, git = "https://github.com/uniquenetwork/frontier", rev = "89a37c5a489f426cc7a42d7b94019974093a052d" }
439evm-coder = { default-features = false, path = '../../crates/evm-coder' }439evm-coder = { default-features = false, path = '../../crates/evm-coder' }
440up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", rev="9ee7d6e57e03a2575cbab79431774b56f170018e" }440up-sponsorship = { default-features = false, git = "https://github.com/uniquenetwork/pallet-sponsoring", branch = "polkadot-v0.9.27" }
441441
442################################################################################442################################################################################
443# Build Dependencies443# Build Dependencies