Skip to content

Commit

Permalink
Merge branch 'main' into miscellaneous-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
PetarKirov authored Aug 31, 2024
2 parents b74fa2b + b8ed65e commit cf9b205
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,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 cf9b205

Please sign in to comment.