·
1080 commits
to main
since this release
Minor Changes
-
0660561: - Added a
sendTransaction
helper to mirror viem'ssendTransaction
, but with our nonce manager- Added an internal mempool queue to
sendTransaction
andwriteContract
for better nonce handling - Defaults block tag to
pending
for transaction simulation and transaction count (when initializing the nonce manager)
- Added an internal mempool queue to
-
d2f8e94: Renames
resourceIdToHex
toresourceToHex
andhexToResourceId
tohexToResource
, to better distinguish between a resource ID (hex value) and a resource reference (type, namespace, name).- resourceIdToHex({ type: 'table', namespace: '', name: 'Position' }); + resourceToHex({ type: 'table', namespace: '', name: 'Position' });
- hexToResourceId('0x...'); + hexToResource('0x...');
Previous methods still exist but are now deprecated to ease migration and reduce breaking changes. These will be removed in a future version.
Also removes the previously deprecated and unused table ID utils (replaced by these resource ID utils).
Patch Changes
- f62c767: Moved some codegen to use
fs/promises
for better parallelism. - 25086be: Replaced temporary
.mudtest
file in favor ofWORLD_ADDRESS
environment variable when running tests withMudTest
contract- @latticexyz/[email protected]