Skip to content

Commit

Permalink
Merge branch 'master' into chore/wallet-ledger-v-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrugneaux authored Nov 19, 2024
2 parents fa328fd + 97f0a53 commit 106ebbc
Show file tree
Hide file tree
Showing 33 changed files with 5,756 additions and 1,866 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-dots-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@celo/contractkit': minor
---

Exposes EpochManager.getElectedSigners contract method
5 changes: 5 additions & 0 deletions .changeset/purple-phones-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@celo/celocli': patch
---

Show --node and --useLedger flags when --help is called. Show aliases for networks in --node help
5 changes: 5 additions & 0 deletions .changeset/seven-pets-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@celo/celocli': minor
---

validator:signed-blocks not supported on L2 anymore, fixes validator:status L2
1,335 changes: 1,014 additions & 321 deletions docs/command-line-interface/account.md

Large diffs are not rendered by default.

68 changes: 56 additions & 12 deletions docs/command-line-interface/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,43 @@ Output network node configuration

```
USAGE
$ celocli config:get [--gasCurrency
0x1234567890123456789012345678901234567890] [--globalHelp]
$ celocli config:get [-k <value> | --useLedger | ] [-n <value>] [--gasCurrency
0x1234567890123456789012345678901234567890] [--ledgerAddresses <value> ]
[--globalHelp]
FLAGS
--gasCurrency=0x1234567890123456789012345678901234567890 Use a specific gas currency
for transaction fees
(defaults to CELO if no gas
currency is supplied). It
must be a whitelisted token.
--globalHelp View all available global
flags
-k, --privateKey=<value>
Use a private key to sign local transactions with
-n, --node=<value>
URL of the node to run commands against or an alias
--gasCurrency=0x1234567890123456789012345678901234567890
Use a specific gas currency for transaction fees (defaults to CELO if no gas
currency is supplied). It must be a whitelisted token.
--globalHelp
View all available global flags
--ledgerAddresses=<value>
[default: 1] If --useLedger is set, this will get the first N addresses for local
signing
--useLedger
Set it to use a ledger wallet
DESCRIPTION
Output network node configuration
FLAG DESCRIPTIONS
-n, --node=<value> URL of the node to run commands against or an alias
Can be a full url like https://forno.celo.org or an alias. default:
http://localhost:8545
Alias options:
local, localhost => 'http://localhost:8545'
alfajores => Celo Alfajores Testnet,
mainnet, celo, forno => Celo Mainnet chain',
```

_See code: [src/commands/config/get.ts](https://github.com/celo-org/developer-tooling/tree/master/packages/cli/src/commands/config/get.ts)_
Expand All @@ -36,12 +59,16 @@ Configure running node information for propagating transactions to network

```
USAGE
$ celocli config:set [-n <value>] [--gasCurrency
0x1234567890123456789012345678901234567890] [--globalHelp]
$ celocli config:set [-k <value> | --useLedger | ] [-n <value>] [--gasCurrency
0x1234567890123456789012345678901234567890] [--ledgerAddresses <value> ]
[--globalHelp]
FLAGS
-k, --privateKey=<value>
Use a private key to sign local transactions with
-n, --node=<value>
URL of the node to run commands against (defaults to 'http://localhost:8545')
URL of the node to run commands against or an alias
--gasCurrency=0x1234567890123456789012345678901234567890
Use a specific gas currency for transaction fees (defaults to CELO if no gas
Expand All @@ -50,6 +77,13 @@ FLAGS
--globalHelp
View all available global flags
--ledgerAddresses=<value>
[default: 1] If --useLedger is set, this will get the first N addresses for local
signing
--useLedger
Set it to use a ledger wallet
DESCRIPTION
Configure running node information for propagating transactions to network
Expand All @@ -69,6 +103,16 @@ EXAMPLES
set --node ws://localhost:2500
set --node <geth-location>/geth.ipc
FLAG DESCRIPTIONS
-n, --node=<value> URL of the node to run commands against or an alias
Can be a full url like https://forno.celo.org or an alias. default:
http://localhost:8545
Alias options:
local, localhost => 'http://localhost:8545'
alfajores => Celo Alfajores Testnet,
mainnet, celo, forno => Celo Mainnet chain',
```

_See code: [src/commands/config/set.ts](https://github.com/celo-org/developer-tooling/tree/master/packages/cli/src/commands/config/set.ts)_
Loading

0 comments on commit 106ebbc

Please sign in to comment.