@aztec/slasher 0.0.1-commit.f650c0a5c → 0.0.1-commit.f7ea82942

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/dest/config.js CHANGED
@@ -26,7 +26,7 @@ export const slasherConfigMappings = {
26
26
  slashOverridePayload: {
27
27
  env: 'SLASH_OVERRIDE_PAYLOAD',
28
28
  description: 'An Ethereum address for a slash payload to vote for unconditionally.',
29
- parseEnv: (val)=>val ? EthAddress.fromString(val) : undefined,
29
+ parseEnv: (val)=>EthAddress.fromString(val),
30
30
  defaultValue: DefaultSlasherConfig.slashOverridePayload
31
31
  },
32
32
  slashValidatorsAlways: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/slasher",
3
- "version": "0.0.1-commit.f650c0a5c",
3
+ "version": "0.0.1-commit.f7ea82942",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dest/index.js",
@@ -56,20 +56,20 @@
56
56
  ]
57
57
  },
58
58
  "dependencies": {
59
- "@aztec/epoch-cache": "0.0.1-commit.f650c0a5c",
60
- "@aztec/ethereum": "0.0.1-commit.f650c0a5c",
61
- "@aztec/foundation": "0.0.1-commit.f650c0a5c",
62
- "@aztec/kv-store": "0.0.1-commit.f650c0a5c",
63
- "@aztec/l1-artifacts": "0.0.1-commit.f650c0a5c",
64
- "@aztec/stdlib": "0.0.1-commit.f650c0a5c",
65
- "@aztec/telemetry-client": "0.0.1-commit.f650c0a5c",
59
+ "@aztec/epoch-cache": "0.0.1-commit.f7ea82942",
60
+ "@aztec/ethereum": "0.0.1-commit.f7ea82942",
61
+ "@aztec/foundation": "0.0.1-commit.f7ea82942",
62
+ "@aztec/kv-store": "0.0.1-commit.f7ea82942",
63
+ "@aztec/l1-artifacts": "0.0.1-commit.f7ea82942",
64
+ "@aztec/stdlib": "0.0.1-commit.f7ea82942",
65
+ "@aztec/telemetry-client": "0.0.1-commit.f7ea82942",
66
66
  "source-map-support": "^0.5.21",
67
67
  "tslib": "^2.4.0",
68
68
  "viem": "npm:@aztec/viem@2.38.2",
69
69
  "zod": "^3.23.8"
70
70
  },
71
71
  "devDependencies": {
72
- "@aztec/aztec.js": "0.0.1-commit.f650c0a5c",
72
+ "@aztec/aztec.js": "0.0.1-commit.f7ea82942",
73
73
  "@jest/globals": "^30.0.0",
74
74
  "@types/jest": "^30.0.0",
75
75
  "@types/node": "^22.15.17",
package/src/config.ts CHANGED
@@ -38,7 +38,7 @@ export const slasherConfigMappings: ConfigMappingsType<SlasherConfig> = {
38
38
  slashOverridePayload: {
39
39
  env: 'SLASH_OVERRIDE_PAYLOAD',
40
40
  description: 'An Ethereum address for a slash payload to vote for unconditionally.',
41
- parseEnv: (val: string) => (val ? EthAddress.fromString(val) : undefined),
41
+ parseEnv: (val: string) => EthAddress.fromString(val),
42
42
  defaultValue: DefaultSlasherConfig.slashOverridePayload,
43
43
  },
44
44
  slashValidatorsAlways: {