Skip to content

Commit

Permalink
remove unused assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
danoctavian committed Oct 6, 2024
1 parent 21872b3 commit 0744e88
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/integration/ynEIGEN/TokenStakingNode.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -212,20 +212,8 @@ contract TokenStakingNodeTest is ynEigenIntegrationBaseTest {
amounts[0] = wstethAmount;
vm.prank(actors.ops.STRATEGY_CONTROLLER);
eigenStrategyManager.stakeAssetsToNode(nodeId, assets, amounts);

uint256 expectedStETHAmount = IwstETH(address(wstETH)).stEthPerToken() * amounts[0] / 1e18;

uint256 treshold = wstethAmount / 1e17 + 3;
uint256 expectedBalance = eigenStrategyManager.getStakedAssetBalance(assets[0]);
assertTrue(
compareWithThreshold(expectedBalance, amounts[0], treshold),
"Staked asset balance does not match expected deposits"
);
}

uint256 strategyUserUnderlyingView = eigenStrategyManager.strategies(assets[0]).userUnderlyingView(address(tokenStakingNode));


NodeStateSnapshot before = new NodeStateSnapshot();
before.takeSnapshot(address(this), nodeId);

Expand Down

0 comments on commit 0744e88

Please sign in to comment.