diff --git a/configs/package.yaml b/configs/package.yaml index 8c1fc48..4696581 100644 --- a/configs/package.yaml +++ b/configs/package.yaml @@ -1,5 +1,5 @@ -name: loan -version: 4.0.0-beta.0 +name: fixed-term-loan +version: 5.0.1 source: contracts packages: - path: contracts/MapleLoan.sol @@ -12,8 +12,8 @@ packages: contractName: MapleLoanInitializer - path: contracts/MapleLoanStorage.sol contractName: MapleLoanStorage - - path: contracts/MapleLoanV4Migrator.sol - contractName: MapleLoanV4Migrator + - path: contracts/MapleLoanV5Migrator.sol + contractName: MapleLoanV5Migrator - path: contracts/Refinancer.sol contractName: Refinancer -customDescription: Maple Loan Artifacts and ABIs +customDescription: Maple Fixed Term Loan Artifacts and ABIs diff --git a/foundry.toml b/foundry.toml index 094b4e2..0e4272d 100644 --- a/foundry.toml +++ b/foundry.toml @@ -13,3 +13,7 @@ fuzz_runs = 1000 [profile.super_deep] fuzz_runs = 50000 + +[profile.release] +optimizer = true # Enable or disable the solc optimizer +optimizer_runs = 200 # The number of optimizer runs diff --git a/scripts/release.sh b/scripts/release.sh index dd0ee23..8529992 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -5,7 +5,7 @@ version=$(cat ./configs/package.yaml | grep "version: " | sed -r 's/.{9}//') name=$(cat ./configs/package.yaml | grep "name: " | sed -r 's/.{6}//') customDescription=$(cat ./configs/package.yaml | grep "customDescription: " | sed -r 's/.{19}//') -./scripts/build.sh +./scripts/build.sh -p release rm -rf ./package mkdir -p package