genlayer 0.32.3 → 0.32.5
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/dist/index.js +3 -3
- package/package.json +1 -1
- package/src/commands/staking/wizard.ts +2 -2
- package/tests/actions/staking.test.ts +1 -0
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -18258,7 +18258,7 @@ var require_semver2 = __commonJS({
|
|
|
18258
18258
|
import { program } from "commander";
|
|
18259
18259
|
|
|
18260
18260
|
// package.json
|
|
18261
|
-
var version = "0.32.
|
|
18261
|
+
var version = "0.32.5";
|
|
18262
18262
|
var package_default = {
|
|
18263
18263
|
name: "genlayer",
|
|
18264
18264
|
version,
|
|
@@ -50183,8 +50183,8 @@ var ValidatorWizardAction = class extends StakingAction {
|
|
|
50183
50183
|
{
|
|
50184
50184
|
type: "input",
|
|
50185
50185
|
name: "accountName",
|
|
50186
|
-
message: "Enter a name for your
|
|
50187
|
-
default: "
|
|
50186
|
+
message: "Enter a name for your owner account:",
|
|
50187
|
+
default: "owner",
|
|
50188
50188
|
validate: (input) => input.length > 0 || "Name cannot be empty"
|
|
50189
50189
|
}
|
|
50190
50190
|
]);
|
package/package.json
CHANGED
|
@@ -115,8 +115,8 @@ export class ValidatorWizardAction extends StakingAction {
|
|
|
115
115
|
{
|
|
116
116
|
type: "input",
|
|
117
117
|
name: "accountName",
|
|
118
|
-
message: "Enter a name for your
|
|
119
|
-
default: "
|
|
118
|
+
message: "Enter a name for your owner account:",
|
|
119
|
+
default: "owner",
|
|
120
120
|
validate: (input: string) => input.length > 0 || "Name cannot be empty",
|
|
121
121
|
},
|
|
122
122
|
]);
|
|
@@ -152,6 +152,7 @@ describe("DelegatorExitAction", () => {
|
|
|
152
152
|
action = new DelegatorExitAction();
|
|
153
153
|
setupActionMocks(action);
|
|
154
154
|
mockClient.delegatorExit.mockResolvedValue(mockTxResult);
|
|
155
|
+
mockClient.getEpochInfo.mockResolvedValue(mockEpochInfo);
|
|
155
156
|
});
|
|
156
157
|
|
|
157
158
|
test("exits successfully", async () => {
|