Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
ab988df5
Commit
ab988df5
authored
Feb 13, 2024
by
bgallois
Committed by
Hugo Trentesaux
Feb 15, 2024
Browse files
Options
Downloads
Patches
Plain Diff
fix unused imports
parent
1835083b
No related branches found
No related tags found
No related merge requests found
Pipeline
#36205
failed
Feb 15, 2024
Status:
Stage: labels
Status:
Stage: quality
Status:
Stage: build
Status:
Stage: tests
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
node/src/command.rs
+2
-2
2 additions, 2 deletions
node/src/command.rs
node/src/service.rs
+3
-0
3 additions, 0 deletions
node/src/service.rs
with
5 additions
and
2 deletions
node/src/command.rs
+
2
−
2
View file @
ab988df5
...
@@ -15,6 +15,8 @@
...
@@ -15,6 +15,8 @@
// See the License for the specific language governing permissions and
// See the License for the specific language governing permissions and
// limitations under the License.
// limitations under the License.
#![allow(unused_imports)]
pub
mod
key
;
pub
mod
key
;
pub
mod
utils
;
pub
mod
utils
;
...
@@ -24,10 +26,8 @@ use crate::cli::{Cli, Subcommand};
...
@@ -24,10 +26,8 @@ use crate::cli::{Cli, Subcommand};
#[cfg(feature
=
"g1"
)]
#[cfg(feature
=
"g1"
)]
use
crate
::
service
::
g1_executor
::
G1Executor
;
use
crate
::
service
::
g1_executor
::
G1Executor
;
#[cfg(feature
=
"gdev"
)]
#[cfg(feature
=
"gdev"
)]
#[cfg(feature
=
"runtime-benchmarks"
)]
use
crate
::
service
::
gdev_executor
::
GDevExecutor
;
use
crate
::
service
::
gdev_executor
::
GDevExecutor
;
#[cfg(feature
=
"gtest"
)]
#[cfg(feature
=
"gtest"
)]
#[cfg(feature
=
"runtime-benchmarks"
)]
use
crate
::
service
::
gtest_executor
::
GTestExecutor
;
use
crate
::
service
::
gtest_executor
::
GTestExecutor
;
use
crate
::
service
::{
IdentifyRuntimeType
,
RuntimeType
};
use
crate
::
service
::{
IdentifyRuntimeType
,
RuntimeType
};
use
crate
::{
chain_spec
,
service
};
use
crate
::{
chain_spec
,
service
};
...
...
...
...
This diff is collapsed.
Click to expand it.
node/src/service.rs
+
3
−
0
View file @
ab988df5
...
@@ -48,6 +48,7 @@ type FullClient<RuntimeApi> =
...
@@ -48,6 +48,7 @@ type FullClient<RuntimeApi> =
type
FullBackend
=
sc_service
::
TFullBackend
<
Block
>
;
type
FullBackend
=
sc_service
::
TFullBackend
<
Block
>
;
type
FullSelectChain
=
sc_consensus
::
LongestChain
<
FullBackend
,
Block
>
;
type
FullSelectChain
=
sc_consensus
::
LongestChain
<
FullBackend
,
Block
>
;
#[allow(dead_code)]
#[cfg(feature
=
"gdev"
)]
#[cfg(feature
=
"gdev"
)]
pub
mod
gdev_executor
{
pub
mod
gdev_executor
{
pub
use
gdev_runtime
;
pub
use
gdev_runtime
;
...
@@ -66,6 +67,7 @@ pub mod gdev_executor {
...
@@ -66,6 +67,7 @@ pub mod gdev_executor {
}
}
}
}
#[allow(dead_code)]
#[cfg(feature
=
"g1"
)]
#[cfg(feature
=
"g1"
)]
pub
mod
g1_executor
{
pub
mod
g1_executor
{
pub
use
g1_runtime
;
pub
use
g1_runtime
;
...
@@ -84,6 +86,7 @@ pub mod g1_executor {
...
@@ -84,6 +86,7 @@ pub mod g1_executor {
}
}
}
}
#[allow(dead_code)]
#[cfg(feature
=
"gtest"
)]
#[cfg(feature
=
"gtest"
)]
pub
mod
gtest_executor
{
pub
mod
gtest_executor
{
pub
use
gtest_runtime
;
pub
use
gtest_runtime
;
...
...
...
...
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
sign in
to comment