@lodestar/state-transition 1.44.0-dev.f715896231 → 1.44.0-dev.ff43f013ea

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.
@@ -31,6 +31,7 @@ type NativeOpts = {
31
31
  export function createBeaconStateView(opts: NodeJSOpts | NativeOpts): IBeaconStateView {
32
32
  if (opts.useNative) {
33
33
  throw new Error("Native (Zig) BeaconStateView not yet implemented");
34
+ // TODO: return a new instance of NativeBeaconStateView
34
35
  }
35
36
  const {anchorState, config, pubkeyCache} = opts;
36
37
  const cachedState = createCachedBeaconState(anchorState, {config, pubkeyCache}, {skipSyncPubkeys: true});
@@ -69,6 +70,7 @@ type RegenNativeOpts = {
69
70
  export function createBeaconStateViewForHistoricalRegen(opts: RegenNodeJSOpts | RegenNativeOpts): IBeaconStateView {
70
71
  if (opts.useNative) {
71
72
  throw new Error("Native (Zig) BeaconStateView not yet implemented");
73
+ // TODO: return a new instance of NativeBeaconStateView
72
74
  }
73
75
  const {config, stateBytes} = opts;
74
76
  const state = getStateTypeFromBytes(config, stateBytes).deserializeToViewDU(stateBytes);