This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Commit 0ba251c
Apply some clippy lints (#11154)
* Apply some clippy hints
* Revert clippy ci changes
* Update client/cli/src/commands/generate.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/cli/src/commands/inspect_key.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/db/src/bench.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/db/src/bench.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/service/src/client/block_rules.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/service/src/client/block_rules.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/network/src/transactions.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/network/src/protocol.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Revert due to missing `or_default` function.
* Fix compilation and simplify code
* Undo change that corrupts benchmark.
* fix clippy
* Update client/service/test/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/state-db/src/noncanonical.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update client/state-db/src/noncanonical.rs
remove leftovers!
* Update client/tracing/src/logging/directives.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update utils/fork-tree/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* added needed ref
* Update frame/referenda/src/benchmarking.rs
* Simplify byte-vec creation
* let's just not overlap the ranges
* Correction
* cargo fmt
* Update utils/frame/benchmarking-cli/src/shared/stats.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update utils/frame/benchmarking-cli/src/pallet/command.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
* Update utils/frame/benchmarking-cli/src/pallet/command.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: Giles Cope <gilescope@gmail.com>1 parent c5a7fdd commit 0ba251c
File tree
368 files changed
+1938
-2247
lines changed- bin
- node-template
- node/src
- pallets/template/src
- runtime/src
- node
- bench/src
- cli/src
- runtime/src
- testing/src
- utils/chain-spec-builder/src
- client
- allocator/src
- api/src
- notifications
- authority-discovery/src
- worker
- basic-authorship/src
- beefy
- rpc/src
- src
- block-builder/src
- cli/src
- commands
- params
- consensus
- aura/src
- babe
- rpc/src
- src
- common/src
- import_queue
- epochs/src
- manual-seal/src/consensus
- pow/src
- slots/src
- db/src
- executor
- common/src
- runtime_blob
- sandbox
- src
- wasmi/src
- wasmtime/src
- finality-grandpa
- rpc/src
- src
- communication
- informant/src
- keystore/src
- network-gossip/src
- network
- src
- protocol
- notifications
- sync
- service
- test/src
- offchain/src/api
- peerset
- src
- tests
- rpc-api/src/author
- rpc-servers/src
- rpc/src
- author
- chain
- state
- service
- src
- client
- task_manager
- test/src
- state-db/src
- sync-state-rpc/src
- telemetry/src
- tracing/src
- block
- logging
- transaction-pool
- api/src
- src
- graph
- utils/src
- frame
- assets/src
- atomic-swap/src
- aura/src
- authorship/src
- babe/src
- bags-list
- fuzzer/src
- remote-tests/src
- src
- list
- balances/src
- benchmarking/src
- bounties/src
- child-bounties/src
- collective/src
- contracts/src
- benchmarking
- storage
- wasm
- conviction-voting/src
- democracy/src
- election-provider-multi-phase/src
- election-provider-support
- solution-type/src
- src
- elections-phragmen/src
- migrations
- examples
- basic/src
- offchain-worker/src
- executive/src
- gilt/src
- grandpa/src
- identity/src
- im-online/src
- indices/src
- lottery/src
- membership/src
- multisig/src
- nicks/src
- offences
- benchmarking/src
- src
- preimage/src
- proxy/src
- recovery/src
- referenda/src
- scheduler/src
- scored-pool/src
- session/src
- historical
- society/src
- staking
- reward-fn/src
- src
- pallet
- state-trie-migration/src
- support
- procedural/src
- construct_runtime
- expand
- pallet
- expand
- parse
- storage
- genesis_config
- src
- storage
- generator
- types
- traits
- tokens
- fungibles
- fungible
- system/src
- extensions
- migrations
- timestamp/src
- tips/src
- transaction-payment
- asset-tx-payment/src
- src
- transaction-storage/src
- uniques/src
- utility/src
- vesting/src
- whitelist/src
- primitives
- api
- proc-macro/src
- src
- application-crypto/src
- arithmetic
- benches
- fuzzer/src
- src
- blockchain/src
- consensus/common/src
- core
- benches
- hashing/proc-macro/src
- src
- debug-derive/src
- externalities/src
- finality-grandpa/src
- io/src
- keyring/src
- keystore/src
- merkle-mountain-range/src
- npos-elections
- fuzzer/src
- src
- panic-handler/src
- runtime-interface/proc-macro/src
- pass_by
- runtime/src
- generic
- offchain
- sandbox/src
- state-machine/src
- overlayed_changes
- storage/src
- tracing/src
- transaction-storage-proof/src
- trie/src
- version/proc-macro/src
- wasm-interface/src
- test-utils
- client/src
- runtime/src
- utils
- fork-tree/src
- frame
- benchmarking-cli/src
- overhead
- pallet
- storage
- frame-utilities-cli/src
- remote-externalities/src
- rpc/state-trie-migration-rpc/src
- try-runtime/cli/src
- commands
- wasm-builder/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
368 files changed
+1938
-2247
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
| 96 | + | |
99 | 97 | | |
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
115 | 104 | | |
116 | 105 | | |
117 | 106 | | |
| |||
120 | 109 | | |
121 | 110 | | |
122 | 111 | | |
123 | | - | |
| 112 | + | |
124 | 113 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
128 | 117 | | |
129 | 118 | | |
130 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | | - | |
119 | | - | |
| 118 | + | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | | - | |
| 634 | + | |
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| |||
1148 | 1148 | | |
1149 | 1149 | | |
1150 | 1150 | | |
1151 | | - | |
| 1151 | + | |
1152 | 1152 | | |
1153 | 1153 | | |
1154 | 1154 | | |
| |||
1911 | 1911 | | |
1912 | 1912 | | |
1913 | 1913 | | |
1914 | | - | |
| 1914 | + | |
1915 | 1915 | | |
1916 | 1916 | | |
1917 | 1917 | | |
| |||
0 commit comments