Skip to content

Commit

Permalink
update changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Feb 7, 2025
1 parent 8f75d43 commit c879e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .changeset/dry-camels-accept.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Added experimental system libraries for World systems for easier ergonomics when
Note that these libraries are marked experimental as we may make breaking changes to their interfaces.

```solidity
import { worldRegistrationSystem } from "@latticexyz/world/src/experimental/codegen/systems/WorldRegistrationSystemLib.sol";
import { worldRegistrationSystem } from "@latticexyz/world/src/codegen/experimental/systems/WorldRegistrationSystemLib.sol";
// equivalent to `IBaseWorld(_world()).registerNamespace("hello")` but directly routed through `world.call` for better gas.
worldRegistrationSystem.registerNamespace("hello");
Expand Down

0 comments on commit c879e2b

Please sign in to comment.