Skip to content

Commit 187561a

Browse files
committed
feat(script): changing the max_mint_allowance env name
1 parent f746627 commit 187561a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

script/configureToken.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ contract All is Script {
1212
address tokenAddress = vm.envAddress("TOKEN_ADDRESS");
1313
address system = vm.envAddress("SYSTEM_ADDRESS");
1414
address admin = vm.envAddress("ADMIN_ADDRESS");
15-
uint256 allowance = vm.envUint("ALLOWANCE");
15+
uint256 allowance = vm.envUint("MAX_MINT_ALLOWANCE");
1616
if (allowance == 0) {
1717
allowance = 50000000000000000000000000; // Default value if not provided
1818
}

script/configureToken.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ allowance=$4
2121
export TOKEN_ADDRESS=$tokenAddress
2222
export SYSTEM_ADDRESS=$system
2323
export ADMIN_ADDRESS=$admin
24-
export ALLOWANCE=$allowance
24+
export MAX_MINT_ALLOWANCE=$allowance
2525

2626
# Call the Forge script
2727
echo "configure tokens"

0 commit comments

Comments
 (0)