Skip to content

Commit d8f20c7

Browse files
UpgradeSoulGasToken.s.sol: get admin correctly (#174)
* final fix * forge fmt
1 parent 6e9e3ba commit d8f20c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/contracts-bedrock/scripts/deploy/UpgradeSoulGasToken.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ contract UpgradeSoulGasToken is Script {
8080
}
8181

8282
function preCheck() public view {
83-
address sgtAdmin = soulGasToken.admin();
83+
address sgtAdmin = proxyAdmin.getProxyAdmin(payable(address(soulGasToken)));
8484
require(sgtAdmin == address(proxyAdmin));
8585
}
8686

0 commit comments

Comments
 (0)