genlayer 0.32.1 → 0.32.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +3 -3
- package/dist/index.js +464 -70
- package/docs/validator-guide.md +5 -3
- package/package.json +2 -2
- package/src/commands/staking/StakingAction.ts +39 -0
- package/src/commands/staking/delegatorExit.ts +7 -1
- package/src/commands/staking/index.ts +8 -11
- package/src/commands/staking/setIdentity.ts +29 -17
- package/src/commands/staking/setOperator.ts +14 -8
- package/src/commands/staking/validatorClaim.ts +15 -10
- package/src/commands/staking/validatorDeposit.ts +19 -6
- package/src/commands/staking/validatorExit.ts +26 -7
- package/src/commands/staking/wizard.ts +12 -5
- package/src/lib/config/KeychainManager.ts +53 -9
- package/tests/actions/staking.test.ts +3 -59
- package/tests/commands/staking.test.ts +4 -8
- package/tests/libs/keychainManager.test.ts +8 -4
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -387,9 +387,9 @@ EXAMPLES:
|
|
|
387
387
|
# ]
|
|
388
388
|
# }
|
|
389
389
|
|
|
390
|
-
# Exit and claim
|
|
391
|
-
genlayer staking validator-exit --shares 100
|
|
392
|
-
genlayer staking validator-claim
|
|
390
|
+
# Exit and claim (requires validator wallet address)
|
|
391
|
+
genlayer staking validator-exit --validator 0x... --shares 100
|
|
392
|
+
genlayer staking validator-claim --validator 0x...
|
|
393
393
|
```
|
|
394
394
|
|
|
395
395
|
### Running the CLI from the repository
|