Skip to content

Deployment fails on Windows because of invalid characters in the keys. #93

Description

@volodymyr-matselyukh

When deploying components on Windows the command fails with the error:

Failed transaction Your console command: C:\Program Files\bos-cli\bin\bos.exe components deploy devilish-fish.testnet sign-as devilish-fish.testnet network-config testnet sign-with-keychain send Error: 0: Error: An error occurred during a FunctionCall` Action, parameter is debug message.
ExecutionError("Smart contract panicked: panicked at 'Key contains invalid character or longer than 256', contract/src/api.rs:510:5")

Location:
C:\Users\runneradmin.cargo\registry\src\index.crates.io-6f17d22bba15001f\near-cli-rs-0.7.7\src\transaction_signature_options\mod.rs:144`

I see the next keys values in created 'set' command:

image

Most likely double backslashes is invalid character and that's why the deployment fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions