diff --git a/beacon-light-client/plonky2/input_fetchers/balance_verification/abi/validators_accumulator_abi.json b/beacon-light-client/plonky2/input_fetchers/balance_verification/abi/validators_accumulator_abi.json index f210f7881..1950af76c 100644 --- a/beacon-light-client/plonky2/input_fetchers/balance_verification/abi/validators_accumulator_abi.json +++ b/beacon-light-client/plonky2/input_fetchers/balance_verification/abi/validators_accumulator_abi.json @@ -10,11 +10,6 @@ "stateMutability": "nonpayable", "type": "constructor" }, - { - "inputs": [], - "name": "InvalidCaller", - "type": "error" - }, { "anonymous": false, "inputs": [ diff --git a/beacon-light-client/solidity/contracts/validators_accumulator/ValidatorsAccumulator.sol b/beacon-light-client/solidity/contracts/validators_accumulator/ValidatorsAccumulator.sol index a697228dc..6859ad82c 100644 --- a/beacon-light-client/solidity/contracts/validators_accumulator/ValidatorsAccumulator.sol +++ b/beacon-light-client/solidity/contracts/validators_accumulator/ValidatorsAccumulator.sol @@ -152,18 +152,4 @@ contract ValidatorsAccumulator is IValidatorsAccumulator { return lower; } - - function toLe64(uint64 value) internal pure returns (bytes memory ret) { - ret = new bytes(8); - bytes8 bytesValue = bytes8(value); - // Byteswapping during copying to bytes. - ret[0] = bytesValue[7]; - ret[1] = bytesValue[6]; - ret[2] = bytesValue[5]; - ret[3] = bytesValue[4]; - ret[4] = bytesValue[3]; - ret[5] = bytesValue[2]; - ret[6] = bytesValue[1]; - ret[7] = bytesValue[0]; - } } diff --git a/beacon-light-client/solidity/contracts/validators_accumulator/interfaces/IValidatorsAccumulator.sol b/beacon-light-client/solidity/contracts/validators_accumulator/interfaces/IValidatorsAccumulator.sol index 901dcf193..a885e299d 100644 --- a/beacon-light-client/solidity/contracts/validators_accumulator/interfaces/IValidatorsAccumulator.sol +++ b/beacon-light-client/solidity/contracts/validators_accumulator/interfaces/IValidatorsAccumulator.sol @@ -9,8 +9,6 @@ interface IValidatorsAccumulator { event Deposited(bytes pubkey); - error InvalidCaller(); - function getValidatorsAccumulator() external view returns (bytes32 node); function deposit(