mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-02 13:23:10 +00:00
Add log when reusing token address
This commit is contained in:
parent
9d57e3b22c
commit
1672bd6eee
@ -9,6 +9,10 @@ module.exports = buildModule("Token", (m) => {
|
||||
let token
|
||||
|
||||
if (process.env.TOKEN_ADDRESS) {
|
||||
console.log(
|
||||
"Using existing TestToken on address: ",
|
||||
process.env.TOKEN_ADDRESS,
|
||||
)
|
||||
token = m.contractAt("TestToken", process.env.TOKEN_ADDRESS, {})
|
||||
} else {
|
||||
token = m.contract("TestToken", [], {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user