Skip to content

Commit

Permalink
Add missing ContractManager to testnet deployment, Fix bug in OpenEdi…
Browse files Browse the repository at this point in the history
…tionInitializer
  • Loading branch information
austinkline committed Aug 22, 2024
1 parent 9571cbc commit 490953e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion contracts/initializers/OpenEditionInitializer.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ access(all) contract OpenEditionInitializer: ContractInitializer {
let t = self.getType()
let contractName = t.identifier.split(separator: ".")[2]

self.account.storage.save(cap, to: StoragePath(identifier: "metadataAuthAccount_".concat(contractName))!)
contractAcct.storage.save(cap, to: StoragePath(identifier: "metadataAuthAccount_".concat(contractName))!)

// do we have information to setup a drop as well?
if params.containsKey("dropDetails") && params.containsKey("phaseDetails") && params.containsKey("minterController") {
Expand Down
23 changes: 12 additions & 11 deletions flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,21 +293,22 @@
},
"testnet": {
"flowty-drops-testnet": [
"ContractManager",
"ContractInitializer",
"OpenEditionInitializer",
"ContractBorrower",
"ContractFactoryTemplate",
"ContractFactory",
"OpenEditionTemplate",
"NFTMetadata",
"BaseNFT",
"BaseCollection",
"UniversalCollection",
"FlowtyDrops",
"FlowtySwitchers",
"FlowtyAddressVerifiers",
"FlowtyPricers",
"DropFactory",
"BaseCollection",
"BaseNFT",
"ContractFactory",
"ContractFactoryTemplate",
"NFTMetadata",
"OpenEditionTemplate",
"UniversalCollection",
"ContractBorrower",
"ContractInitializer",
"OpenEditionInitializer"
"DropFactory"
],
"droptypes-testnet": [
"DropTypes"
Expand Down

0 comments on commit 490953e

Please sign in to comment.