proxy-pause sc use a proper sc for extension #1138
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (18)
sdk/scenario-format/src/serde_raw/esdt_data_raw/esdt_instances_raw_check.rs|25 col 1| warning: this impl
can be derived
--> sdk/scenario-format/src/serde_raw/esdt_data_raw/esdt_instances_raw_check.rs:25:1
|
25 | / impl Default for CheckEsdtInstancesRaw {
26 | | fn default() -> Self {
27 | | CheckEsdtInstancesRaw::Unspecified
28 | | }
29 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: #[warn(clippy::derivable_impls)]
on by default
= help: remove the manual implementation...
help: ...and instead derive it...
|
9 + #[derive(Default)]
10 | pub enum CheckEsdtInstancesRaw {
|
help: ...and mark the default variant
|
10 ~ #[default]
11 ~ Unspecified,
|
sdk/scenario-format/src/serde_raw/esdt_data_raw/esdt_map_raw_check.rs|24 col 1| warning: this impl
can be derived
--> sdk/scenario-format/src/serde_raw/esdt_data_raw/esdt_map_raw_check.rs:24:1
|
24 | / impl Default for CheckEsdtMapRaw {
25 | | fn default() -> Self {
26 | | CheckEsdtMapRaw::Unspecified
27 | | }
28 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
8 + #[derive(Default)]
9 | pub enum CheckEsdtMapRaw {
|
help: ...and mark the default variant
|
9 ~ #[default]
10 ~ Unspecified,
|
sdk/scenario-format/src/serde_raw/logs_raw.rs|32 col 1| warning: this impl
can be derived
--> sdk/scenario-format/src/serde_raw/logs_raw.rs:32:1
|
32 | / impl Default for CheckLogsRaw {
33 | | fn default() -> Self {
34 | | CheckLogsRaw::Unspecified
35 | | }
36 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
16 + #[derive(Default)]
17 | pub enum CheckLogsRaw {
|
help: ...and mark the default variant
|
19 ~ #[default]
20 ~ Unspecified,
|
sdk/scenario-format/src/serde_raw/value_raw_check.rs|24 col 1| warning: this impl
can be derived
--> sdk/scenario-format/src/serde_raw/value_raw_check.rs:24:1
|
24 | / impl Default for CheckBytesValueRaw {
25 | | fn default() -> Self {
26 | | CheckBytesValueRaw::Unspecified
27 | | }
28 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
8 + #[derive(Default)]
9 | pub enum CheckBytesValueRaw {
|
help: ...and mark the default variant
|
9 ~ #[default]
10 ~ Unspecified,
|
sdk/scenario-format/src/serde_raw/value_raw_check_list.rs|24 col 1| warning: this impl
can be derived
--> sdk/scenario-format/src/serde_raw/value_raw_check_list.rs:24:1
|
24 | / impl Default for CheckValueListRaw {
25 | | fn default() -> Self {
26 | | CheckValueListRaw::Unspecified
27 | | }
28 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
8 + #[derive(Default)]
9 | pub enum CheckValueListRaw {
|
help: ...and mark the default variant
|
9 ~ #[default]
10 ~ Unspecified,
|
vm/src/scenario/model/esdt_data/esdt_map_check.rs|15 col 1| warning: this impl
can be derived
--> vm/src/scenario/model/esdt_data/esdt_map_check.rs:15:1
|
15 | / impl Default for CheckEsdtMap {
16 | | fn default() -> Self {
17 | | CheckEsdtMap::Unspecified
18 | | }
19 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: #[warn(clippy::derivable_impls)]
on by default
= help: remove the manual implementation...
help: ...and instead derive it...
|
9 + #[derive(Default)]
10 | pub enum CheckEsdtMap {
|
help: ...and mark the default variant
|
10 ~ #[default]
11 ~ Unspecified,
|
vm/src/scenario/model/storage_check.rs|14 col 1| warning: this impl
can be derived
--> vm/src/scenario/model/storage_check.rs:14:1
|
14 | / impl Default for CheckStorage {
15 | | fn default() -> Self {
16 | | CheckStorage::Star
17 | | }
18 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
9 + #[derive(Default)]
10 | pub enum CheckStorage {
|
help: ...and mark the default variant
|
10 ~ #[default]
11 ~ Star,
|
vm/src/scenario/model/value/value_check.rs|25 col 1| warning: this impl
can be derived
--> vm/src/scenario/model/value/value_check.rs:25:1
|
25 | / impl Default for CheckValue
26 | | where
27 | | T: Default,
28 | | {
... |
31 | | }
32 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
11 + #[derive(Default)]
12 | pub enum CheckValue<T: Default> {
|
help: ...and mark the default variant
|
12 ~ #[default]
13 ~ Star,
|
contracts/examples/bonding-curve-contract/src/function_selector.rs|16 col 1| warning: this impl
can be derived
--> contracts/examples/bonding-curve-contract/src/function_selector.rs:16:1
|
16 | / impl<M: ManagedTypeApi> Default for FunctionSelector {
17 | | fn default() -> Self {
18 | | FunctionSelector::None
19 | | }
20 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: #[warn(clippy::derivable_impls)]
on by default
= help: remove the manual implementation...
help: ...and instead derive it...
|
10 + #[derive(Default)]
11 | pub enum FunctionSelector<M: ManagedTypeApi> {
|
help: ...and mark the default variant
|
13 ~ #[default]
14 ~ None,
|
contracts/examples/bonding-curve-contract/src/function_selector.rs|16 col 1| warning: this impl
can be derived
--> contracts/examples/bonding-curve-contract/src/function_selector.rs:16:1
|
16 | / impl<M: ManagedTypeApi> Default for FunctionSelector {
17 | | fn default() -> Self {
18 | | FunctionSelector::None
19 | | }
20 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: #[warn(clippy::derivable_impls)]
on by default
= help: remove the manual implementation...
help: ...and instead derive it...
|
10 + #[derive(Default)]
11 | pub enum FunctionSelector<M: ManagedTypeApi> {
|
help: ...and mark the default variant
|
13 ~ #[default]
14 ~ None,
|
vm/src/scenario/model/esdt_data/esdt_map_check.rs|15 col 1| warning: this impl
can be derived
--> vm/src/scenario/model/esdt_data/esdt_map_check.rs:15:1
|
15 | / impl Default for CheckEsdtMap {
16 | | fn default() -> Self {
17 | | CheckEsdtMap::Unspecified
18 | | }
19 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: #[warn(clippy::derivable_impls)]
on by default
= help: remove the manual implementation...
help: ...and instead derive it...
|
9 + #[derive(Default)]
10 | pub enum CheckEsdtMap {
|
help: ...and mark the default variant
|
10 ~ #[default]
11 ~ Unspecified,
|
vm/src/scenario/model/storage_check.rs|14 col 1| warning: this impl
can be derived
--> vm/src/scenario/model/storage_check.rs:14:1
|
14 | / impl Default for CheckStorage {
15 | | fn default() -> Self {
16 | | CheckStorage::Star
17 | | }
18 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
9 + #[derive(Default)]
10 | pub enum CheckStorage {
|
help: ...and mark the default variant
|
10 ~ #[default]
11 ~ Star,
|
vm/src/scenario/model/value/value_check.rs|25 col 1| warning: this impl
can be derived
--> vm/src/scenario/model/value/value_check.rs:25:1
|
25 | / impl Default for CheckValue
26 | | where
27 | | T: Default,
28 | | {
... |
31 | | }
32 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
11 + #[derive(Default)]
12 | pub enum CheckValue<T: Default> {
|
help: ...and mark the default variant
|
12 ~ #[default]
13 ~ Star,
|
sdk/scenario-format/src/serde_raw/esdt_data_raw/esdt_instances_raw_check.rs|25 col 1| warning: this impl
can be derived
--> sdk/scenario-format/src/serde_raw/esdt_data_raw/esdt_instances_raw_check.rs:25:1
|
25 | / impl Default for CheckEsdtInstancesRaw {
26 | | fn default() -> Self {
27 | | CheckEsdtInstancesRaw::Unspecified
28 | | }
29 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: #[warn(clippy::derivable_impls)]
on by default
= help: remove the manual implementation...
help: ...and instead derive it...
|
9 + #[derive(Default)]
10 | pub enum CheckEsdtInstancesRaw {
|
help: ...and mark the default variant
|
10 ~ #[default]
11 ~ Unspecified,
|
sdk/scenario-format/src/serde_raw/esdt_data_raw/esdt_map_raw_check.rs|24 col 1| warning: this impl
can be derived
--> sdk/scenario-format/src/serde_raw/esdt_data_raw/esdt_map_raw_check.rs:24:1
|
24 | / impl Default for CheckEsdtMapRaw {
25 | | fn default() -> Self {
26 | | CheckEsdtMapRaw::Unspecified
27 | | }
28 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
8 + #[derive(Default)]
9 | pub enum CheckEsdtMapRaw {
|
help: ...and mark the default variant
|
9 ~ #[default]
10 ~ Unspecified,
|
sdk/scenario-format/src/serde_raw/logs_raw.rs|32 col 1| warning: this impl
can be derived
--> sdk/scenario-format/src/serde_raw/logs_raw.rs:32:1
|
32 | / impl Default for CheckLogsRaw {
33 | | fn default() -> Self {
34 | | CheckLogsRaw::Unspecified
35 | | }
36 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
16 + #[derive(Default)]
17 | pub enum CheckLogsRaw {
|
help: ...and mark the default variant
|
19 ~ #[default]
20 ~ Unspecified,
|
sdk/scenario-format/src/serde_raw/value_raw_check.rs|24 col 1| warning: this impl
can be derived
--> sdk/scenario-format/src/serde_raw/value_raw_check.rs:24:1
|
24 | / impl Default for CheckBytesValueRaw {
25 | | fn default() -> Self {
26 | | CheckBytesValueRaw::Unspecified
27 | | }
28 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
8 + #[derive(Default)]
9 | pub enum CheckBytesValueRaw {
|
help: ...and mark the default variant
|
9 ~ #[default]
10 ~ Unspecified,
|
sdk/scenario-format/src/serde_raw/value_raw_check_list.rs|24 col 1| warning: this impl
can be derived
--> sdk/scenario-format/src/serde_raw/value_raw_check_list.rs:24:1
|
24 | / impl Default for CheckValueListRaw {
25 | | fn default() -> Self {
26 | | CheckValueListRaw::Unspecified
27 | | }
28 | | }
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= help: remove the manual implementation...
help: ...and instead derive it...
|
8 + #[derive(Default)]
9 | pub enum CheckValueListRaw {
|
help: ...and mark the default variant
|
9 ~ #[default]
10 ~ Unspecified,
|