Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
985075ea
Unverified
Commit
985075ea
authored
1 year ago
by
bgallois
Browse files
Options
Downloads
Patches
Plain Diff
fix integrity error
parent
74177ae7
No related branches found
No related tags found
1 merge request
!268
Fix #232
Pipeline
#37198
passed
1 year ago
Stage: labels
Stage: quality
Stage: build
Stage: tests
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
runtime/common/src/fees.rs
+3
-5
3 additions, 5 deletions
runtime/common/src/fees.rs
with
3 additions
and
5 deletions
runtime/common/src/fees.rs
+
3
−
5
View file @
985075ea
...
...
@@ -24,10 +24,7 @@ pub use frame_support::weights::{Weight, WeightToFee};
use
pallet_transaction_payment
::{
Multiplier
,
MultiplierUpdate
};
use
sp_arithmetic
::
traits
::{
BaseArithmetic
,
Unsigned
};
use
sp_core
::
Get
;
use
sp_runtime
::{
traits
::{
Convert
,
One
},
Perquintill
,
};
use
sp_runtime
::{
traits
::
Convert
,
Perquintill
};
#[cfg(not(feature
=
"constant-fees"
))]
use
{
crate
::
weights
::
extrinsic_weights
::
ExtrinsicBaseWeight
,
...
...
@@ -37,6 +34,7 @@ use {
},
smallvec
::
smallvec
,
sp_arithmetic
::
MultiplyRational
,
sp_runtime
::
traits
::
One
,
sp_runtime
::
Perbill
,
sp_runtime
::
SaturatedConversion
,
sp_runtime
::
Saturating
,
...
...
@@ -189,7 +187,7 @@ where
X
:
Get
<
Multiplier
>
,
{
fn
min
()
->
Multiplier
{
1
.into
()
0
.into
()
}
fn
max
()
->
Multiplier
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment