Skip to content

Commit

Permalink
Fix: update balance update not pod caller revert test (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
ypatil12 authored Dec 5, 2023
1 parent e57b40a commit 7f244f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/unit/EigenPodManagerUnit.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ contract EigenPodManagerUnitTests_ShareUpdateTests is EigenPodManagerUnitTests {
contract EigenPodManagerUnitTests_BeaconChainETHBalanceUpdateTests is EigenPodManagerUnitTests {

function testFuzz_recordBalanceUpdate_revert_notPod(address invalidCaller) public filterFuzzedAddressInputs(invalidCaller) deployPodForStaker(defaultStaker) {
cheats.assume(invalidCaller != defaultStaker);
cheats.assume(invalidCaller != address(defaultPod));
cheats.prank(invalidCaller);
cheats.expectRevert("EigenPodManager.onlyEigenPod: not a pod");
eigenPodManager.recordBeaconChainETHBalanceUpdate(defaultStaker, 0);
Expand Down

0 comments on commit 7f244f3

Please sign in to comment.