diff --git a/src/test/harnesses/BeaconChainProofsHarness.sol b/src/test/harnesses/BeaconChainProofsHarness.sol new file mode 100644 index 000000000..f227c8ceb --- /dev/null +++ b/src/test/harnesses/BeaconChainProofsHarness.sol @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: BUSL-1.1 +pragma solidity =0.8.12; + +import "../../contracts/libraries/BeaconChainProofs.sol"; + +contract BeaconChainProofsHarness { + function verifyValidatorFields( + uint40 validatorIndex, + bytes32 beaconStateRoot, + bytes calldata proof, + bytes32[] calldata validatorFields) external view { + BeaconChainProofs.verifyValidatorFields( + validatorIndex, + beaconStateRoot, + proof, + validatorFields + ); + } +} \ No newline at end of file