File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
packages/world/ts/actions Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @latticexyz/world " : patch
3
+ ---
4
+
5
+ Fixed a bug related to ` batchCall ` in ` sendUserOperationFrom ` .
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export function sendUserOperationFrom(
65
65
// Wrap system calls from `batchCall` with delegator for a `batchCallFrom`
66
66
// TODO: remove this specific workaround once https://github.com/latticexyz/mud/pull/3506 lands
67
67
if ( call . functionName === "batchCall" ) {
68
- const batchCallArgs = call . args as unknown as WriteContractParameters < worldCallAbi , "batchCall" > ;
68
+ const batchCallArgs = call as unknown as WriteContractParameters < worldCallAbi , "batchCall" > ;
69
69
const [ systemCalls ] = batchCallArgs . args ;
70
70
if ( ! systemCalls . length ) {
71
71
throw new Error ( "`batchCall` should have at least one system call." ) ;
You can’t perform that action at this time.
0 commit comments