Skip to content

Commit

Permalink
fix caller side of SoulGasToken (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
blockchaindevsh authored Dec 11, 2024
1 parent 79703f6 commit b9d71bd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/contracts-bedrock/scripts/L2Genesis.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@ contract L2Genesis is Deployer {
);
SoulGasToken token;
if (cfg.isSoulBackedByNative()) {
token = new SoulGasToken({ isBackedByNative_: true });
token = new SoulGasToken({ _isBackedByNative: true });
} else {
token = new SoulGasToken({ isBackedByNative_: false });
token = new SoulGasToken({ _isBackedByNative: false });
}
vm.etch(impl, address(token).code);

Expand All @@ -321,18 +321,18 @@ contract L2Genesis is Deployer {
vm.resetNonce(address(token));

if (cfg.isSoulBackedByNative()) {
SoulGasToken(impl).initialize({ name_: "", symbol_: "", owner_: cfg.proxyAdminOwner() });
SoulGasToken(impl).initialize({ _name: "", _symbol: "", _owner: cfg.proxyAdminOwner() });
SoulGasToken(Predeploys.SOUL_GAS_TOKEN).initialize({
name_: "QKC",
symbol_: "QKC",
owner_: cfg.proxyAdminOwner()
_name: "QKC",
_symbol: "QKC",
_owner: cfg.proxyAdminOwner()
});
} else {
SoulGasToken(impl).initialize({ name_: "", symbol_: "", owner_: cfg.proxyAdminOwner() });
SoulGasToken(impl).initialize({ _name: "", _symbol: "", _owner: cfg.proxyAdminOwner() });
SoulGasToken(Predeploys.SOUL_GAS_TOKEN).initialize({
name_: "QKC",
symbol_: "QKC",
owner_: cfg.proxyAdminOwner()
_name: "QKC",
_symbol: "QKC",
_owner: cfg.proxyAdminOwner()
});
}
}
Expand Down

0 comments on commit b9d71bd

Please sign in to comment.