Skip to content

Commit

Permalink
fix(precompile-utils): update Cargo.toml to use workspace for precomp…
Browse files Browse the repository at this point in the history
…ile-utils
  • Loading branch information
deblanco committed Dec 18, 2024
1 parent 0b4aeb8 commit 8565011
Show file tree
Hide file tree
Showing 105 changed files with 366 additions and 11,593 deletions.
1,066 changes: 358 additions & 708 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ members = [
'node',
'runtime',
'precompiles/validator-controller',
'precompiles/utils',
'pallets/root-controller',
'pallets/validator-set',
'pallets/validator-keys-controller',
Expand Down Expand Up @@ -203,13 +202,13 @@ pallet-evm-precompile-sha3fips = { git = "https://github.com/stabilityprotocol/f
pallet-evm-precompile-simple = { git = "https://github.com/stabilityprotocol/frontier", branch = "stable2407", default-features = false }
pallet-evm-test-vector-support = { git = "https://github.com/stabilityprotocol/frontier", branch = "stable2407", default-features = false }
pallet-hotfix-sufficients = { git = "https://github.com/stabilityprotocol/frontier", branch = "stable2407", default-features = false }
precompile-utils = { git = "https://github.com/stabilityprotocol/frontier", branch = "stable2407", default-features = false }
# Stability Client
stbl-cli-authorship = { path = './client/authorship' }
stbl-proposer-metrics = { path = './client/proposer-metrics' }
# Stability
pallet-evm-precompile-blake2 = { git = "https://github.com/stabilityprotocol/frontier", branch = "stable2407", default-features = false }
pallet-evm-precompile-bn128 = { git = "https://github.com/stabilityprotocol/frontier", branch = "stable2407", default-features = false }
precompile-utils = { path = "./precompiles/utils", default-features = false }
precompile-fee-token-selector = { path = "./precompiles/token-fee-controller/fee-token-selector", default-features = false }
precompile-validator-fee-selector = { path = "./precompiles/token-fee-controller/validator-fee-selector", default-features = false }
precompile-validator-controller = { path = "./precompiles/validator-controller", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion precompiles/fee-rewards-vault-controller/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ hex = { workspace = true }
pallet-balances = { workspace = true }
pallet-session = { workspace = true }
sp-runtime = { workspace = true }
precompile-utils = { path = "../utils", features = [ "testing" ] }
precompile-utils = { workspace = true, features = [ "testing" ] }
scale-info = { version = "2.0", default-features = false, features = [ "derive" ] }
sha3 = "0.10"
sp-io = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion precompiles/upgrade-runtime-controller/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pallet-collective = { workspace = true }
pallet-balances = { workspace = true }
pallet-session = { workspace = true }
sp-runtime = { workspace = true }
precompile-utils = { path = "../utils", features = [ "testing" ] }
precompile-utils = { workspace = true, features = [ "testing" ] }
scale-info = { version = "2.0", default-features = false, features = [ "derive" ] }
sha3 = "0.10"
sp-io = { workspace = true }
Expand Down
3 changes: 1 addition & 2 deletions precompiles/upgrade-runtime-controller/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ use frame_support::dispatch::{Dispatchable, GetDispatchInfo, PostDispatchInfo};
use frame_support::parameter_types;
use frame_support::storage::types::{StorageValue, ValueQuery};

use frame_support::inherent::Vec;
use frame_support::traits::ChangeMembers;
use frame_support::traits::StorageInstance;
use precompile_utils::prelude::*;
use sp_std::vec::Vec;

use sp_core::Get;
use sp_core::{H160, H256, U256};
Expand Down Expand Up @@ -95,7 +95,6 @@ where
<Runtime::RuntimeCall as Dispatchable>::RuntimeOrigin: From<Option<Runtime::AccountId>>,
Runtime::RuntimeCall: Dispatchable<PostInfo = PostDispatchInfo> + GetDispatchInfo,
<Runtime as pallet_timestamp::Config>::Moment: Into<U256>,
<Runtime as frame_system::Config>::BlockNumber: From<u32>,
<Runtime as frame_system::Config>::Hash: Into<H256>,
<Runtime as frame_system::Config>::AccountId: From<H160>,
<Runtime as frame_system::Config>::AccountId: Into<H160>,
Expand Down
60 changes: 0 additions & 60 deletions precompiles/utils/Cargo.toml

This file was deleted.

33 changes: 0 additions & 33 deletions precompiles/utils/macro/Cargo.toml

This file was deleted.

199 changes: 0 additions & 199 deletions precompiles/utils/macro/docs/precompile_macro.md

This file was deleted.

Loading

0 comments on commit 8565011

Please sign in to comment.