MCPcopy Create free account
hub / github.com/ChainSafe/lodestar / defaultValue

Method defaultValue

packages/types/src/utils/stringType.ts:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 maxSize = 0;
9
10 defaultValue(): T {
11 return "" as T;
12 }
13
14 // Serialization + deserialization
15

Callers 15

ssz.test.tsFile · 0.80
modifyStateSameValidatorFunction · 0.80
generateStateFunction · 0.80
getAttestationDataAtFunction · 0.80
upgradeStateToGloasFunction · 0.80
utils.tsFile · 0.80
upgradeLightClientHeaderFunction · 0.80

Calls

no outgoing calls

Tested by 15

getAttestationDataAtFunction · 0.64
createBlocksFunction · 0.64
buildBlockTestSetFunction · 0.64
getValidChainFunction · 0.64
buildColumnSidecarFunction · 0.64
gloasBlockInputFunction · 0.64
payloadInputForFunction · 0.64