Skip to content

Commit

Permalink
Part.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav committed Oct 30, 2023
1 parent de73912 commit 79eab1a
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 93 deletions.
122 changes: 35 additions & 87 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ version = "6.4.0"
array-bytes = { version = "6.1" }
codec = { package = "parity-scale-codec", version = "3.6", default-features = false }
libsecp256k1 = { version = "0.7", default-features = false }
log = { version = "0.4" }
scale-info = { version = "2.10", default-features = false }
sha3 = { version = "0.10" }
static_assertions = { version = "1.1" }
Expand Down
3 changes: 2 additions & 1 deletion pallet/ecdsa-authority/src/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ use scale_info::TypeInfo;
// darwinia
use dc_primitives::{AccountId, BlockNumber};
// substrate
use frame_support::{BoundedVec, EqNoBound, PartialEqNoBound, RuntimeDebug, RuntimeDebugNoBound};
use frame_support::{BoundedVec, EqNoBound, PartialEqNoBound, RuntimeDebugNoBound};
use sp_core::Get;
use sp_io::{crypto, hashing};
use sp_runtime::RuntimeDebug;

// address(0x1)
pub(crate) const AUTHORITY_SENTINEL: [u8; 20] =
Expand Down
1 change: 1 addition & 0 deletions pallet/message-gadget/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ version.workspace = true
[dependencies]
# crates.io
codec = { workspace = true, package = "parity-scale-codec" }
log = { workspace = true }
scale-info = { workspace = true }

# frontier
Expand Down
2 changes: 1 addition & 1 deletion pallet/message-gadget/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use core::marker::PhantomData;
// frontier
use pallet_evm::Runner;
// substrate
use frame_support::{log, pallet_prelude::*, DefaultNoBound};
use frame_support::{pallet_prelude::*, DefaultNoBound};
use frame_system::pallet_prelude::*;
use sp_core::{Get, H160, H256};
use sp_io::hashing;
Expand Down
3 changes: 3 additions & 0 deletions pallet/message-transact/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ pallet-evm = { workspace = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
sp-core = { workspace = true }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

[dev-dependencies]
Expand Down Expand Up @@ -61,6 +62,7 @@ std = [
"frame-support/std",
"frame-system/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
]

Expand All @@ -75,4 +77,5 @@ try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-evm/try-runtime",
"sp-runtime/try-runtime",
]
Loading

0 comments on commit 79eab1a

Please sign in to comment.