mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-02 13:23:10 +00:00
fix: avoid redeploying token contract (#236)
This commit is contained in:
parent
8d19f7650b
commit
a1680df42e
@ -9,6 +9,7 @@ module.exports = async ({
|
||||
const { deployer } = await getNamedAccounts()
|
||||
const tokenDeployment = await deployments.deploy("TestToken", {
|
||||
from: deployer,
|
||||
skipIfAlreadyDeployed: true,
|
||||
})
|
||||
const token = await hre.ethers.getContractAt(
|
||||
"TestToken",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user