Skip to content

Commit

Permalink
fix steth bridging integraion tests. use shares to check ballances
Browse files Browse the repository at this point in the history
  • Loading branch information
kovalgek committed Sep 25, 2024
1 parent a05c70a commit b5e3656
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 160 deletions.
4 changes: 4 additions & 0 deletions contracts/stubs/StETHStub.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@ contract StETHStub is IStETH, ERC20 {
function getTotalPooledEther() external pure returns (uint256) {
return 0;
}

function sharesOf(address _account) external view returns (uint256) {
return 0;
}
}
1 change: 1 addition & 0 deletions contracts/token/interfaces/IStETH.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
interface IStETH is IERC20 {
function getTotalShares() external view returns (uint256);
function getTotalPooledEther() external view returns (uint256);
function sharesOf(address _account) external view returns (uint256);
}
Loading

0 comments on commit b5e3656

Please sign in to comment.