Skip to content

Commit

Permalink
fix compilation script
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeNervoXS committed Jul 16, 2024
1 parent 7c61b8d commit 221afe1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/proposals/nameable/UpgradeAgTokenNameable.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,20 @@ pragma solidity ^0.8.19;
import { console } from "forge-std/console.sol";
import { Wrapper } from "../Wrapper.s.sol";
import "../../Constants.s.sol";
import { ProxyAdmin } from "oz/proxy/transparent/ProxyAdmin.sol";

contract UpgradeAgTokenNameable is Wrapper {
SubCall[] private subCalls;
mapping(uint256 => address) private _chainToToken;
mapping(uint256 => address) private _chainToImplementation;

function _upgradeAgToken(uint256 chainId, string memory name, string memory symbol, address proxy, address implementation, address proxyAdmin) private {
function _upgradeAgToken(
uint256 chainId,
string memory name,
string memory symbol,
address proxy,
address implementation,
address proxyAdmin
) private {
vm.selectFork(forkIdentifier[chainId]);

bytes memory nameAndSymbolData = abi.encodeWithSelector(INameable.setNameAndSymbol.selector, name, symbol);
Expand Down

0 comments on commit 221afe1

Please sign in to comment.