Skip to content

[Draft] Contract cli #1365

[Draft] Contract cli

[Draft] Contract cli #1365

Triggered via pull request March 15, 2024 14:25
Status Success
Total duration 12m 27s
Artifacts

test.yml

on: pull_request
ubuntu / stable / coverage
12m 18s
ubuntu / stable / coverage
Matrix: doc-tests / stable
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

4 errors
file opened with `create`, but `truncate` behavior not defined: cw-orch-cli/src/types/keys.rs#L69
error: file opened with `create`, but `truncate` behavior not defined --> cw-orch-cli/src/types/keys.rs:69:10 | 69 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options
file opened with `create`, but `truncate` behavior not defined: cw-orch-cli/src/types/keys.rs#L43
error: file opened with `create`, but `truncate` behavior not defined --> cw-orch-cli/src/types/keys.rs:43:10 | 43 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `-D clippy::suspicious-open-options` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::suspicious_open_options)]`
all variants have the same postfix: `Msg`: cw-orch-cli/src/commands/action/cosmwasm/msg_type/mod.rs#L11
error: all variants have the same postfix: `Msg` --> cw-orch-cli/src/commands/action/cosmwasm/msg_type/mod.rs:11:1 | 11 | / pub enum MsgType { 12 | | #[strum_discriminants(strum(message = "json message"))] 13 | | /// Valid JSON string (e.g. {"foo": "bar"}) 14 | | JsonMsg, ... | 20 | | FileMsg, 21 | | } | |_^ | = help: remove the postfixes and use full paths to the variants instead of glob imports = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names = note: `-D clippy::enum-variant-names` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::enum_variant_names)]`
all variants have the same postfix: `Msg`: cw-orch-cli/src/commands/action/cosmwasm/msg_type/mod.rs#L11
error: all variants have the same postfix: `Msg` --> cw-orch-cli/src/commands/action/cosmwasm/msg_type/mod.rs:11:1 | 11 | / pub enum MsgType { 12 | | #[strum_discriminants(strum(message = "json message"))] 13 | | /// Valid JSON string (e.g. {"foo": "bar"}) 14 | | JsonMsg, ... | 20 | | FileMsg, 21 | | } | |_^ | = help: remove the postfixes and use full paths to the variants instead of glob imports = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names = note: `-D clippy::enum-variant-names` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::enum_variant_names)]`