Skip to content

Commit bbcea83

Browse files
committed
fix: Update OWNER_ADDRESS variable in environment template and deployment script for consistency
1 parent 454cb54 commit bbcea83

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RLC_OFT_TOKEN_NAME="RLC OFT"
1616
RLC_TOKEN_SYMBOL="RLC"
1717

1818
# Transaction Settings
19-
OWNER_ADDRESS=0x<delegate-wallet-address>
19+
OWNER_ADDRESS=0x<owner-wallet-address>
2020

2121
# API Keys
2222
ETHERSCAN_API_KEY=<your-etherscan-api-key>

script/RLCOFT.s.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ contract Deploy is Script {
1515
string memory name = vm.envString("RLC_OFT_TOKEN_NAME");
1616
string memory symbol = vm.envString("RLC_TOKEN_SYMBOL");
1717
address lzEndpoint = vm.envAddress("LAYER_ZERO_ARBITRUM_SEPOLIA_ENDPOINT_ADDRESS");
18-
address delegate = vm.envAddress("OWNER_ADDRESS");
18+
address owner = vm.envAddress("OWNER_ADDRESS");
1919

2020
RLCOFT rlcOFTImplementation = new RLCOFT(lzEndpoint);
2121
console.log("RLCOFT implementation deployed at:", address(rlcOFTImplementation));
2222

2323
// Deploy the proxy contract
2424
ERC1967Proxy rlcOFTProxy = new ERC1967Proxy(
2525
address(rlcOFTImplementation),
26-
abi.encodeWithSelector(rlcOFTImplementation.initialize.selector, name, symbol, delegate)
26+
abi.encodeWithSelector(rlcOFTImplementation.initialize.selector, name, symbol, owner)
2727
);
2828
console.log("RLCOFT proxy deployed at:", address(rlcOFTProxy));
2929

0 commit comments

Comments
 (0)