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
Copy file name to clipboardExpand all lines: .changeset/small-horses-own.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"@latticexyz/cli": patch
4
4
---
5
5
6
-
`mud` CLI commands will now recognize systems without a `System` suffix if they inherit directly from the base `System` imported from `@latticexyz/world/src/System.sol`.
6
+
`mud` CLI commands will now recognize systems if they inherit directly from the base `System` imported from `@latticexyz/world/src/System.sol`, allowing you to write systems without a `System` suffix.
7
7
8
8
```solidity
9
9
import {System} from "@latticexyz/world/src/System.sol";
@@ -12,3 +12,5 @@ contract EntityProgram is System {
12
12
...
13
13
}
14
14
```
15
+
16
+
If you have contracts that inherit from the base `System` that aren't meant to be deployed, you can mark them as `abstract contract` or [disable the system's deploy via config](https://mud.dev/config/reference).
0 commit comments