F
Flow5mo ago
joshua

joshua | Flow (2024-04-16)

How does my project need to be configured in order to stage a contract upgrade on testnet? I'm getting this error: :x: Command Error: no contracts found in state I'll share my flow.json in the thread.
4 Replies
Needle
Needle5mo ago
I've created a thread for your message. Please continue any relevant discussion in this thread. You can rename this thread using /title <new title> If this is a technical question that others may benefit from, considering also asking it on Stackoverflow: https://stackoverflow.com/questions/ask?tags=onflow-cadence
joshua
joshua5mo ago
flow.json with unnecessary and private info removed:
{
"networks": {
"testnet": "access.devnet.nodes.onflow.org:9000",
},
"deployments": {
"emulator": {
"emulator-owner": ["FUSD"]
}
},
"contracts": {
"FungibleToken": {
"source": "./contracts/utility/FungibleToken.cdc",
"aliases": {
"emulator": "0xee82856bf20e2aa6",
"testing": "0x0000000000000002",
"testnet": "0x9a0766d93b6608b7",
}
},
"Burner": {
"source": "./contracts/utility/Burner.cdc",
"aliases": {
"emulator": "0xf8d6e0586b0a20c7",
"testing": "0x0000000000000001",
"testnet": "0x9a0766d93b6608b7"
}
},
"FungibleTokenMetadataViews": {
"source": "./contracts/utility/FungibleTokenMetadataViews.cdc",
"aliases": {
"emulator": "0xf8d6e0586b0a20c7",
"testing": "0x0000000000000002",
"testnet": "0x9a0766d93b6608b7"
}
},
"MetadataViews": {
"source": "./contracts/utility/MetadataViews.cdc",
"aliases": {
"emulator": "0xf8d6e0586b0a20c7",
"testing": "0x0000000000000001",
"testnet": "0x631e88ae7f1d7c20"
}
},
"FUSD": {
"source": "./contracts/FUSD.cdc",
"aliases": {
"emulator": "0xee82856bf20e2aa6",
"testing": "0x0000000000000007",
"testnet": "0xe223d8a629e49c68",
}
}
},
"accounts": {
"testnet-fusd": {
"address": "e223d8a629e49c68",
"key": "hidden"
}
}
}
{
"networks": {
"testnet": "access.devnet.nodes.onflow.org:9000",
},
"deployments": {
"emulator": {
"emulator-owner": ["FUSD"]
}
},
"contracts": {
"FungibleToken": {
"source": "./contracts/utility/FungibleToken.cdc",
"aliases": {
"emulator": "0xee82856bf20e2aa6",
"testing": "0x0000000000000002",
"testnet": "0x9a0766d93b6608b7",
}
},
"Burner": {
"source": "./contracts/utility/Burner.cdc",
"aliases": {
"emulator": "0xf8d6e0586b0a20c7",
"testing": "0x0000000000000001",
"testnet": "0x9a0766d93b6608b7"
}
},
"FungibleTokenMetadataViews": {
"source": "./contracts/utility/FungibleTokenMetadataViews.cdc",
"aliases": {
"emulator": "0xf8d6e0586b0a20c7",
"testing": "0x0000000000000002",
"testnet": "0x9a0766d93b6608b7"
}
},
"MetadataViews": {
"source": "./contracts/utility/MetadataViews.cdc",
"aliases": {
"emulator": "0xf8d6e0586b0a20c7",
"testing": "0x0000000000000001",
"testnet": "0x631e88ae7f1d7c20"
}
},
"FUSD": {
"source": "./contracts/FUSD.cdc",
"aliases": {
"emulator": "0xee82856bf20e2aa6",
"testing": "0x0000000000000007",
"testnet": "0xe223d8a629e49c68",
}
}
},
"accounts": {
"testnet-fusd": {
"address": "e223d8a629e49c68",
"key": "hidden"
}
}
}
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
joshua
joshua5mo ago
Thanks! that worked FUSD is now staged on testnet
Want results from more Discord servers?
Add your server