This post addresses technical errors and questions. For more general and less technical questions about diamonds see this blog post: Answering Some Diamond Questions 1. A state variable in AppStorage or Diamond Storage has the wrong value A state variable in AppStorage or Diamond Storage has the wrong value or the value 0 when it should not. This is caused by declaring state variables outside AppStorage and Diamond Storage which causes a misalignment of data. This error is commonly caused by a facet inheriting a contract that declares state variables outside AppStorage and Diamond Storage.
Common Diamond Errors & Questions
Hi what's the correct way of handling errors in facets? Does it bubble up?