Skip to content

Commit

Permalink
Create wild-nails-wonder.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs authored Sep 21, 2023
1 parent 9f8a2a2 commit 4ce27d2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .changeset/wild-nails-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@latticexyz/world": minor
---

The `World` now has a `callBatch` method which allows multiple system calls to be batched into a single transaction.

```solidity
import { SystemCallData } from "@latticexyz/world/modules/core/types.sol";
interface IBaseWorld {
function callBatch(SystemCallData[] calldata systemCalls) external returns (bytes[] memory returnDatas);
}
```

0 comments on commit 4ce27d2

Please sign in to comment.