{
    "Function": "computePhase0Eth1DataRoot",
    "File": "src/contracts/libraries/BeaconChainProofs.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "Merkle"
    ],
    "Internal Calls": [],
    "Library Calls": [
        "merkleizeSha256"
    ],
    "Low-Level Calls": [],
    "Code": "function computePhase0Eth1DataRoot(bytes32[NUM_ETH1_DATA_FIELDS] calldata eth1DataFields) internal pure returns(bytes32) {  \n        bytes32[] memory paddedEth1DataFields = new bytes32[](2**ETH1_DATA_FIELD_TREE_HEIGHT);\n        \n        for (uint256 i = 0; i < ETH1_DATA_FIELD_TREE_HEIGHT; ++i) {\n            paddedEth1DataFields[i] = eth1DataFields[i];\n        }\n\n        return Merkle.merkleizeSha256(paddedEth1DataFields);\n    }"
}