Skip to content

Commit

Permalink
feat: 0.4.6 release (#553)
Browse files Browse the repository at this point in the history
increase max string length for setSymbol() and setName() to match deployment
  • Loading branch information
dudesahn authored Jan 19, 2023
1 parent 74364b2 commit 97ca1b2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ reports/
node_modules/
.test_durations
yarn-error.log
.DS_Store
2 changes: 1 addition & 1 deletion contracts/BaseStrategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ abstract contract BaseStrategy {
* @return A string which holds the current API version of this contract.
*/
function apiVersion() public pure returns (string memory) {
return "0.4.5";
return "0.4.6";
}

/**
Expand Down
6 changes: 3 additions & 3 deletions contracts/Vault.vy
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
https://github.com/iearn-finance/yearn-vaults/blob/main/SPECIFICATION.md
"""

API_VERSION: constant(String[28]) = "0.4.5"
API_VERSION: constant(String[28]) = "0.4.6"

from vyper.interfaces import ERC20

Expand Down Expand Up @@ -360,7 +360,7 @@ def DOMAIN_SEPARATOR() -> bytes32:
return self.domain_separator()

@external
def setName(name: String[42]):
def setName(name: String[64]):
"""
@notice
Used to change the value of `name`.
Expand All @@ -373,7 +373,7 @@ def setName(name: String[42]):


@external
def setSymbol(symbol: String[20]):
def setSymbol(symbol: String[32]):
"""
@notice
Used to change the value of `symbol`.
Expand Down
2 changes: 1 addition & 1 deletion ethpm-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package_name: vault
version: 0.4.5
version: 0.4.6
settings:
deployment_networks:
- mainnet
Expand Down

0 comments on commit 97ca1b2

Please sign in to comment.