You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the function has the side effect of setting the environment (mainnet then testnet) which then never gets reset, so it stays testnet (getNftCatalog function then just reads this environment which is always testnet)
Solution:
IMO it's pretty strange that getAddressMaps returns costs for both mainnet and testnet, it should at least receive an argument mainnet | testnet and return only network-specific address maps.
The text was updated successfully, but these errors were encountered:
This is a fair callout. A quick workaround would be to import @onflow/flow-cadut and set the environment correctly to the network you want. We will think through how to better approach this problem.
Ideally, taking in a network parameter would be useful here, however, alot of this code/functions are auto-generated.
Thanks for developing the lib 👍
Issue:
Possible cause:
Solution:
getAddressMaps
returns costs for both mainnet and testnet, it should at least receive an argumentmainnet | testnet
and return only network-specific address maps.The text was updated successfully, but these errors were encountered: