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
I'm noticing that the Persona contracts all use plain contract storage instead of AppStorage or DiamondStorage. Why aren't these contracts Diamond compatible?
The text was updated successfully, but these errors were encountered:
Good question!
They are meant to be deployed once per chain, not once per game. They live as independent contracts.
From your Diamond you can simply call the corresponding Persona deployments.
That makes sense! Maybe an example showing usage in a diamond would also be helpful, since the only example uses contract state.
If this is meant to be a deploy-once contract, shouldn't it be a diamond itself so it can be upgraded, expanded, or patched, while still allowing consumers to rely on the exact same contract address forever??
I'm noticing that the Persona contracts all use plain contract storage instead of AppStorage or DiamondStorage. Why aren't these contracts Diamond compatible?
The text was updated successfully, but these errors were encountered: