Skip to content

Unable to fund account on a local node #9

@moshevaif

Description

@moshevaif

I tried to fund an account i created on a local node following the instructions here,
however i get the following error:

thread 'main' panicked at sdk/src/client/rpc.rs:149:48:
Unable to decode create_account result: Error("invalid type: string \"eb18772ac428f94ba1951addfda34e200a6ae9eb3c3b1dc54f4f1ae5b40bed51\", expected an array of length 32", line: 0, column: 0)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

steps to reproduce

> ./arch-cli-aarch64-apple-darwin orchestrate start
> ./arch-cli-aarch64-apple-darwin account create --keypair-path ./my-account.json   
> ./arch-cli-aarch64-apple-darwin account airdrop --keypair-path ./my-account.json --amount 1000000000

btw creating and funding in the same command doesnt works either:

> ./arch-cli-aarch64-apple-darwin account create --keypair-path ./my-account.json --airdrop 1000000000

Welcome to the Arch Network CLI
error: unexpected argument '1000000000' found

Usage: arch-cli-aarch64-apple-darwin account create [OPTIONS]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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