Remove node-primitives (#1032)

This is a crate that shouldn't be used outside of the Substrate Node. Here the correct crate is the
`polkadot-core-primitives` to get the `Balance` type.
This commit is contained in:
Bastian Köcher
2022-02-22 23:19:19 +01:00
committed by GitHub
parent bd35fcdc62
commit c8a935d38f
9 changed files with 30 additions and 21 deletions
@@ -14,7 +14,7 @@
// limitations under the License.
pub mod currency {
use node_primitives::Balance;
use polkadot_core_primitives::Balance;
use polkadot_runtime_constants as constants;
/// The existential deposit. Set to 1/10 of its parent Relay Chain (v9010).
@@ -37,7 +37,7 @@ pub mod fee {
constants::ExtrinsicBaseWeight, WeightToFeeCoefficient, WeightToFeeCoefficients,
WeightToFeePolynomial,
};
use node_primitives::Balance;
use polkadot_core_primitives::Balance;
use smallvec::smallvec;
pub use sp_runtime::Perbill;