Skip to content

Incorrect README scripts #8

@davidchuyaya

Description

@davidchuyaya

In the README, there are the following typos:

Coordinator:

./target/release/coordinator
-h HOSTNAME
-p PORT
-e "http://HOST_ENDORSER_1:PORT,http://HOST_ENDORSER_2:PORT,http://HOST_ENDORSER_3:PORT"
-s "memory" # use "table" to use Azure table instead and provide the following
-a AZURE_STORAGE_ACCOUNT_NAME
-k AZURE_STORAGE_MASTER_KEY

Hostname is specified with -t, not -h.
The default nimbledb value nimble_cosmosdb, specified here, causes the following error when the coordinator is run:

Error trying to create table in the first place. StatusCode { status: 400, body: "{"odata.error":{"code":"InvalidResourceName","message":{"lang":"en-US","value":"The specifed resource name contains invalid characters.\nRequestId:935b4949-3002-0027-4fdd-41e2f0000000\nTime:2024-11-28T21:33:58.4182068Z"}}}" }
thread 'main' panicked at coordinator/src/coordinator_state.rs:463:75:
called Result::unwrap() on an Err value: LedgerError(BadRequest)

That's because the name cannot contain underscores.
A possible fix would be to add the following parameter to the example script: -n nimbledb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions