Skip to content

Commit

Permalink
deleted rescue lockdrop
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreOssun committed Jan 23, 2024
1 parent 123c2b0 commit 06ab9f5
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 629 deletions.
26 changes: 0 additions & 26 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ pallet-evm-precompile-xvm = { path = "./precompiles/xvm", default-features = fal
pallet-evm-precompile-dapps-staking = { path = "./precompiles/dapps-staking", default-features = false }
pallet-evm-precompile-dapp-staking-v3 = { path = "./precompiles/dapp-staking-v3", default-features = false }
pallet-evm-precompile-unified-accounts = { path = "./precompiles/unified-accounts", default-features = false }
pallet-evm-precompile-rescue-lockdrop = { path = "./precompiles/rescue-lockdrop", default-features = false }
pallet-evm-precompile-dispatch-lockdrop = { path = "./precompiles/dispatch-lockdrop", default-features = false }

pallet-chain-extension-xvm = { path = "./chain-extensions/xvm", default-features = false }
Expand Down
46 changes: 23 additions & 23 deletions precompiles/dispatch-lockdrop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,46 +8,46 @@ homepage.workspace = true
repository.workspace = true

[dependencies]
frame-support = { workspace = true }
fp-evm = { workspace = true }
pallet-evm = { workspace = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
libsecp256k1 = { workspace = true, features = ["hmac", "static-context"] }
log = { workspace = true }
pallet-evm = { workspace = true }
pallet-evm-precompile-dispatch = { workspace = true }
pallet-unified-accounts = { workspace = true }
precompile-utils = { workspace = true }
frame-system = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-std = { workspace = true }
pallet-unified-accounts = { workspace = true }
pallet-evm-precompile-dispatch = { workspace = true }

[dev-dependencies]
astar-primitives = { workspace = true }
ethers = { workspace = true }
parity-scale-codec = { package = "parity-scale-codec", workspace = true }
scale-info = { workspace = true }
frame-system = { workspace = true }
pallet-balances = { workspace = true }
pallet-timestamp = { workspace = true }
parity-scale-codec = { package = "parity-scale-codec", workspace = true }
precompile-utils = { workspace = true, features = ["testing"] }
scale-info = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-std = { workspace = true }
sp-runtime = { workspace = true }
precompile-utils = { workspace = true, features = ["testing"] }
astar-primitives = { workspace = true }
sp-std = { workspace = true }

[features]
default = ["std"]
std = [
"pallet-unified-accounts/std",
"fp-evm/std",
"frame-support/std",
"frame-system/std",
"pallet-evm/std",
"precompile-utils/std",
"sp-core/std",
"sp-std/std",
"sp-io/std",
"libsecp256k1/std",
"pallet-evm/std",
"pallet-evm-precompile-dispatch/std",
]
"pallet-unified-accounts/std",
"fp-evm/std",
"frame-support/std",
"frame-system/std",
"pallet-evm/std",
"precompile-utils/std",
"sp-core/std",
"sp-std/std",
"sp-io/std",
"libsecp256k1/std",
"pallet-evm/std",
"pallet-evm-precompile-dispatch/std",
]
5 changes: 3 additions & 2 deletions precompiles/dispatch-lockdrop/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ use frame_support::{
};
use frame_system::Config;
use pallet_evm::GasWeightMapping;
use pallet_evm_precompile_dispatch::DispatchValidateT;
use precompile_utils::prelude::{BoundedBytes, UnboundedBytes};
use precompile_utils::EvmResult;
use sp_core::ecdsa;
use sp_core::ecdsa::Signature;
use sp_core::{crypto::AccountId32, H160, H256};
use sp_io::hashing::keccak_256;
use sp_std::vec::Vec;
use pallet_evm_precompile_dispatch::DispatchValidateT;

#[cfg(test)]
mod mock;
Expand All @@ -63,7 +63,8 @@ where
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo,
<Runtime as Config>::AccountId: IsType<AccountId32>,
<Runtime as Config>::AccountId: From<[u8; 32]>,
DispatchValidator: DispatchValidateT<<Runtime as Config>::AccountId, <Runtime as Config>::RuntimeCall>,
DispatchValidator:
DispatchValidateT<<Runtime as Config>::AccountId, <Runtime as Config>::RuntimeCall>,
DecodeLimit: Get<u32>,
{
#[precompile::public("dispatch_lockdrop_call(bytes,bytes32,bytes)")]
Expand Down
55 changes: 0 additions & 55 deletions precompiles/rescue-lockdrop/Cargo.toml

This file was deleted.

14 changes: 0 additions & 14 deletions precompiles/rescue-lockdrop/RescueLockdrop.sol

This file was deleted.

157 changes: 0 additions & 157 deletions precompiles/rescue-lockdrop/src/lib.rs

This file was deleted.

Loading

0 comments on commit 06ab9f5

Please sign in to comment.