Skip to content

Commit

Permalink
Fix for issue paritytech#11090 Update (fmt)
Browse files Browse the repository at this point in the history
  • Loading branch information
tifecool committed Mar 24, 2022
1 parent d99d164 commit d3e531f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 13 deletions.
1 change: 0 additions & 1 deletion bin/node-template/runtime/constants/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
// See the License for the specific language governing permissions and
// limitations under the License.


pub mod weights;
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
// limitations under the License.

pub mod constants {
use frame_support::{
parameter_types,
};
use super::super::{constants, Weight};
use frame_support::parameter_types;

parameter_types! {
/// Importing a block with 0 Extrinsics.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
// limitations under the License.

pub mod constants {
use frame_support::{
parameter_types,
};
use super::super::{constants, Weight};
use frame_support::parameter_types;

parameter_types! {
/// Executing a NO-OP `System::remarks` Extrinsic.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
// limitations under the License.

pub mod constants {
use frame_support::{
parameter_types,
};
use super::super::{constants, RuntimeDbWeight};
use frame_support::parameter_types;

parameter_types! {
/// ParityDB can be enabled with a feature flag, but is still experimental. These weights
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
// limitations under the License.

pub mod constants {
use frame_support::{
parameter_types,
};
use super::super::{constants, RuntimeDbWeight};
use frame_support::parameter_types;

parameter_types! {
/// By default, Substrate uses RocksDB, so this will be the weight used throughout
Expand Down

0 comments on commit d3e531f

Please sign in to comment.