Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update version #105

Merged
merged 2 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ contract Deploy is Script {
Deployer public deployer =
Deployer(0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed);

// Vault factory address for v3.0.3
address public factory = 0x5577EdcB8A856582297CdBbB07055E6a6E38eb5f;
// Vault factory address for v3.0.4
address public factory = 0x770D0d1Fb036483Ed4AbB6d53c1C88fb277D812F;

function run() external {
vm.startBroadcast();
Expand All @@ -21,8 +21,7 @@ contract Deploy is Script {
abi.encode(factory)
);

// Pick an unique salt
bytes32 salt = keccak256("v3.0.3");
bytes32 salt = bytes32(0);

address contractAddress = deployer.deployCreate2(salt, bytecode);

Expand Down
2 changes: 1 addition & 1 deletion src/TokenizedStrategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ contract TokenizedStrategy {
//////////////////////////////////////////////////////////////*/

/// @notice API version this TokenizedStrategy implements.
string internal constant API_VERSION = "3.0.3";
string internal constant API_VERSION = "3.0.4";

/// @notice Value to set the `entered` flag to during a call.
uint8 internal constant ENTERED = 2;
Expand Down
2 changes: 1 addition & 1 deletion src/test/ERC20Std.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ contract ERC20BaseTest is Setup {
string(abi.encodePacked("ys", asset.symbol()))
);
assertEq(strategy.decimals(), 18);
assertEq(strategy.apiVersion(), "3.0.3");
assertEq(strategy.apiVersion(), "3.0.4");
}

function testFuzz_mint(address account_, uint256 amount_) public {
Expand Down
Loading