@lodestar/light-client 1.10.0-dev.fef5c9c119 → 1.10.0-rc.1

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/lib/spec/utils.js CHANGED
@@ -67,10 +67,10 @@ export function upgradeLightClientHeader(config, targetFork, header) {
67
67
  break;
68
68
  // eslint-disable-next-line no-fallthrough
69
69
  case ForkName.deneb:
70
- upgradedHeader.execution.dataGasUsed =
71
- ssz.deneb.LightClientHeader.fields.execution.fields.dataGasUsed.defaultValue();
72
- upgradedHeader.execution.excessDataGas =
73
- ssz.deneb.LightClientHeader.fields.execution.fields.excessDataGas.defaultValue();
70
+ upgradedHeader.execution.blobGasUsed =
71
+ ssz.deneb.LightClientHeader.fields.execution.fields.blobGasUsed.defaultValue();
72
+ upgradedHeader.execution.excessBlobGas =
73
+ ssz.deneb.LightClientHeader.fields.execution.fields.excessBlobGas.defaultValue();
74
74
  // Break if no further upgradation is required else fall through
75
75
  if (ForkSeq[targetFork] <= ForkSeq.deneb)
76
76
  break;
@@ -86,10 +86,10 @@ export function isValidLightClientHeader(config, header) {
86
86
  ssz.capella.LightClientHeader.fields.executionBranch.equals(ssz.capella.LightClientHeader.fields.executionBranch.defaultValue(), header.executionBranch)));
87
87
  }
88
88
  if (epoch < config.DENEB_FORK_EPOCH) {
89
- if ((header.execution.dataGasUsed &&
90
- header.execution.dataGasUsed !== BigInt(0)) ||
91
- (header.execution.excessDataGas &&
92
- header.execution.excessDataGas !== BigInt(0))) {
89
+ if ((header.execution.blobGasUsed &&
90
+ header.execution.blobGasUsed !== BigInt(0)) ||
91
+ (header.execution.excessBlobGas &&
92
+ header.execution.excessBlobGas !== BigInt(0))) {
93
93
  return false;
94
94
  }
95
95
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "bugs": {
12
12
  "url": "https://github.com/ChainSafe/lodestar/issues"
13
13
  },
14
- "version": "1.10.0-dev.fef5c9c119",
14
+ "version": "1.10.0-rc.1",
15
15
  "type": "module",
16
16
  "exports": {
17
17
  ".": {
@@ -67,12 +67,12 @@
67
67
  "@chainsafe/bls": "7.1.1",
68
68
  "@chainsafe/persistent-merkle-tree": "^0.5.0",
69
69
  "@chainsafe/ssz": "^0.10.2",
70
- "@lodestar/api": "1.10.0-dev.fef5c9c119",
71
- "@lodestar/config": "1.10.0-dev.fef5c9c119",
72
- "@lodestar/params": "1.10.0-dev.fef5c9c119",
73
- "@lodestar/state-transition": "1.10.0-dev.fef5c9c119",
74
- "@lodestar/types": "1.10.0-dev.fef5c9c119",
75
- "@lodestar/utils": "1.10.0-dev.fef5c9c119",
70
+ "@lodestar/api": "1.10.0-rc.1",
71
+ "@lodestar/config": "1.10.0-rc.1",
72
+ "@lodestar/params": "1.10.0-rc.1",
73
+ "@lodestar/state-transition": "1.10.0-rc.1",
74
+ "@lodestar/types": "1.10.0-rc.1",
75
+ "@lodestar/utils": "1.10.0-rc.1",
76
76
  "mitt": "^3.0.0",
77
77
  "strict-event-emitter-types": "^2.0.0"
78
78
  },
@@ -89,5 +89,5 @@
89
89
  "light-client",
90
90
  "blockchain"
91
91
  ],
92
- "gitHead": "c003232a6588637b2b152642d3defe89f12e5c4e"
92
+ "gitHead": "35ded229841fa7bdd65bace1ecf7afd64ae6727e"
93
93
  }