From b9d71bdc89f396fcbfcca29fb4397b11973b1de6 Mon Sep 17 00:00:00 2001 From: blockchaindevsh Date: Wed, 11 Dec 2024 14:36:03 +0800 Subject: [PATCH] fix caller side of SoulGasToken (#123) --- .../contracts-bedrock/scripts/L2Genesis.s.sol | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/contracts-bedrock/scripts/L2Genesis.s.sol b/packages/contracts-bedrock/scripts/L2Genesis.s.sol index bf13cc1eb8e0..4e8fc6c4f8e2 100644 --- a/packages/contracts-bedrock/scripts/L2Genesis.s.sol +++ b/packages/contracts-bedrock/scripts/L2Genesis.s.sol @@ -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); @@ -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() }); } }