Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
salman01zp committed Nov 6, 2023
1 parent 3eedb53 commit 71baa49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 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 precompiles/staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ precompile-utils = { workspace = true, features = [ "std", "testing" ] }

# Substrate
pallet-balances = { workspace = true, features = [ "std" ] }
pallet-dkg-proposals = { workspace = true, features = [ "std" ] }
pallet-timestamp = { workspace = true, features = [ "std" ] }
scale-info = { workspace = true, features = [ "derive", "std" ] }
sp-runtime = { workspace = true, features = [ "std" ] }
Expand Down
1 change: 1 addition & 0 deletions precompiles/staking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ impl pallet_dkg_metadata::Config for Runtime {
type OnDKGPublicKeyChangeHandler = ();
type OffChainAuthId = dkg_runtime_primitives::offchain::crypto::OffchainAuthId;
type NextSessionRotation = pallet_session::PeriodicSessions<Period, Offset>;
type DKGAuthorityToMerkleLeaf = pallet_dkg_proposals::DKGEcdsaToEthereumAddress;
type ForceOrigin = frame_system::EnsureRoot<Self::AccountId>;
type KeygenJailSentence = Period;
type SigningJailSentence = Period;
Expand Down

0 comments on commit 71baa49

Please sign in to comment.