Skip to content

Commit

Permalink
refactor(): Delete unused program constructs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xearty authored and Dimo99 committed Aug 30, 2024
1 parent 97e191b commit b8ed65e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "InvalidCaller",
"type": "error"
},
{
"anonymous": false,
"inputs": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,18 +152,4 @@ contract ValidatorsAccumulator is IValidatorsAccumulator {

return blockNumbers[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];
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ pragma solidity ^0.8.18;
interface IValidatorsAccumulator {
event Deposited(bytes pubkey);

error InvalidCaller();

function getValidatorsAccumulator() external view returns (bytes32 node);

function deposit(
Expand Down

0 comments on commit b8ed65e

Please sign in to comment.