The s. is pretty great. Hey have you run into any storage access issues? I cut a new facet and use a library get() function like someFunction() that returns the slot (hashed with keccak256). But it returns empty storage. It's definitely the same diamond contract but seems to get mixed up. Maybe I did something wrong?
The s. is pretty great. Hey have you run into any storage access issues? I cut a new facet and use a library get() function like someFunction() that returns the slot (hashed with keccak256). But it returns empty storage. It's definitely the same diamond contract but seems to get mixed up. Maybe I did something wrong?
library ArcaneBarracksStorage {
bytes32 constant namespace = keccak256("game.arcane.storage.barracks");
}
You will run into trouble if you declare state variables outside AppStorage or DiamondStorage or inherit contracts that do that.