From 7f244f34f5244c7e330a13e8c5be5a547b8f49e4 Mon Sep 17 00:00:00 2001 From: Yash Patil <40046473+ypatil12@users.noreply.github.com> Date: Tue, 5 Dec 2023 12:18:59 -0500 Subject: [PATCH] Fix: update balance update not pod caller revert test (#366) --- src/test/unit/EigenPodManagerUnit.t.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/unit/EigenPodManagerUnit.t.sol b/src/test/unit/EigenPodManagerUnit.t.sol index 94645d78f..8d797923f 100644 --- a/src/test/unit/EigenPodManagerUnit.t.sol +++ b/src/test/unit/EigenPodManagerUnit.t.sol @@ -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);