Skip to content

Commit

Permalink
fix: forge tests, external methods
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Dec 12, 2024
1 parent 2e543fd commit 3fb4ebc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions bolt-contracts/src/contracts/BoltManagerV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ contract BoltManagerV3 is IBoltManagerV3, OwnableUpgradeable, UUPSUpgradeable {
using OperatorMapWithTimeV2 for EnumerableMapV2.OperatorMap;

// ========= STORAGE =========

/// @notice Start timestamp of the first epoch.
uint48 public START_TIMESTAMP;

Expand Down
6 changes: 3 additions & 3 deletions bolt-contracts/src/interfaces/IBoltManagerv3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pragma solidity 0.8.25;

import {EnumerableMapV2} from "../lib/EnumerableMapV2.sol";

interface IBoltManagerV2 {
interface IBoltManagerV3 {
error InvalidQuery();
error OperatorAlreadyRegistered();
error OperatorNotRegistered();
Expand Down Expand Up @@ -47,9 +47,9 @@ interface IBoltManagerV2 {

function getOperatorData(
address operator
) public view returns (EnumerableMapV2.Operator memory operatorData);
) external view returns (EnumerableMapV2.Operator memory operatorData);

function getAllOperatorsData() public view returns (EnumerableMapV2.Operator[] memory operatorData);
function getAllOperatorsData() external view returns (EnumerableMapV2.Operator[] memory operatorData);

function getProposerStatus(
bytes20 pubkeyHash
Expand Down

0 comments on commit 3fb4ebc

Please sign in to comment.