Skip to content

Commit

Permalink
chore: update version (#105)
Browse files Browse the repository at this point in the history
* chore: update version

* fix: meta data test
  • Loading branch information
Schlagonia authored Oct 31, 2024
1 parent e90ecb8 commit 9ef6804
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
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

0 comments on commit 9ef6804

Please sign in to comment.