Skip to content

Commit

Permalink
adding test for each token (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
franzns authored Feb 5, 2025
1 parent e592543 commit 70800a1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { IERC4626 } from "@openzeppelin/contracts/interfaces/IERC4626.sol";

import { ERC4626WrapperBaseTest } from "../ERC4626WrapperBase.t.sol";

contract ERC4626SonicAvalonTest is ERC4626WrapperBaseTest {
contract ERC4626SonicAvalonSolvBTCTest is ERC4626WrapperBaseTest {
function setUp() public override {
ERC4626WrapperBaseTest.setUp();
}
Expand Down
26 changes: 26 additions & 0 deletions test/sonic/ERC4626AvalonSolvBTCbbn.t.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity ^0.8.24;

import "forge-std/Test.sol";

import { IERC4626 } from "@openzeppelin/contracts/interfaces/IERC4626.sol";

import { ERC4626WrapperBaseTest } from "../ERC4626WrapperBase.t.sol";

contract ERC4626SonicAvalonSolvBTCbbnTest is ERC4626WrapperBaseTest {
function setUp() public override {
ERC4626WrapperBaseTest.setUp();
}

function setUpForkTestVariables() internal override {
network = "sonic";
overrideBlockNumber = 4820900;

// Avalon solvBTC.bbn
wrapper = IERC4626(0xA28d4dbcC90C849e3249D642f356D85296a12954);
// Donor of solvBTC.bbn
underlyingDonor = 0xe3a97c4Cc6725B96fb133c636D2e88Cc3d6CfdBE;
amountToDonate = 1 * 1e16;
}
}

0 comments on commit 70800a1

Please sign in to comment.