Socket
Socket
Sign inDemoInstall

@latticexyz/gas-report

Package Overview
Dependencies
Maintainers
0
Versions
1056
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@latticexyz/gas-report - npm Package Versions

1
106

2.2.7-main-7ac2a0d5ffd3f65d89318fc5778121ddf45bb5e1

Diff

alvarius
published 2.2.6-main-652c9aa0093dc94c1122a1875ac63897f53de7cb •

alvarius
published 2.2.6-main-22c37c3dbec5726f52055ed61c4e5f0e52ed30c1 •

alvarius
published 2.2.6-main-20fac30f2fb1e026f195ffe42c014cfaf9877376 •

alvarius
published 2.2.5 •

Changelog

Source

Version 2.2.5

Release date: Thu Sep 19 2024

Patch changes

fix(explorer): various fixes (#3195) (@latticexyz/explorer)

Refactored observer initialization to reuse bridge iframes with the same url.

fix(explorer): various fixes (#3195) (@latticexyz/explorer)

Fixed favicon paths and fixed a few issues where we were incorrectly redirecting based on the chain name or ID.

fix(explorer): various fixes (#3195) (@latticexyz/explorer)

Fixed an issue where the observer Viem client decorator required an empty object arg when no options are used.

-client.extend(observer({}));
+client.extend(observer());

alvarius
published 2.2.5-main-55ae82299985fd927cb45cf0d262c7fded156763 •

alvarius
published 2.2.4 •

Changelog

Source

Version 2.2.4

Release date: Wed Sep 18 2024

Patch changes

feat(explorer): anvil connector, connect external wallets (#3164) (@latticexyz/explorer)

World Explorer now supports connecting external wallets.

fix(common): use latest block tag in nonce manager (#3180) (@latticexyz/common)

To reset an account's nonce, the nonce manager uses the eth_getTransactionCount RPC method, which returns the number of transactions sent from the account. When using the pending block tag, this includes transactions in the mempool that have not been included in a block yet. If an account submits a transaction with a nonce higher than the next valid nonce, this transaction will stay in the mempool until the nonce gap is closed and the transactions nonce is the next valid nonce. This means if an account has gapped transactions "stuck in the mempool", the eth_getTransactionCount method with pending block tag can't be used to get the next valid nonce (since it includes the number of transactions stuck in the mempool). Since the nonce manager only resets the nonce on reload or in case of a nonce error, using the latest block tag by default is the safer choice to be able to recover from nonce gaps.

Note that this change may reveal more "transaction underpriced" errors than before. These errors will now be retried automatically and should go through after the next block is mined.

feat: bump wevm packages (#3178) (@latticexyz/block-logs-stream, @latticexyz/cli, @latticexyz/common, @latticexyz/config, @latticexyz/dev-tools, @latticexyz/explorer, @latticexyz/faucet, @latticexyz/protocol-parser, @latticexyz/schema-type, @latticexyz/stash, @latticexyz/store-indexer, @latticexyz/store-sync, @latticexyz/store, @latticexyz/world, create-mud)

Bumped viem, wagmi, and abitype packages to their latest release.

MUD projects using these packages should do the same to ensure no type errors due to mismatched versions:

pnpm recursive up viem@2.21.6 wagmi@2.12.11 @wagmi/core@2.13.5 abitype@1.0.6

feat(cli): register namespace labels (#3172) (@latticexyz/cli)

Along with table and system labels, the MUD deployer now registers namespace labels. Additionally, labels will only be registered if they differ from the underlying resource name.

feat(explorer): active chain as dynamic param (#3181) (@latticexyz/explorer)

Added ability to connect World Explorer to Redstone and Garnet chains. The active chain is now passed as a dynamic route parameter.

feat(explorer): write observer (#3169) (@latticexyz/explorer)

World Explorer package now exports an observer Viem decorator that can be used to get visibility into contract writes initiated from your app. You can watch these writes stream in on the new "Observe" tab of the World Explorer.

import { createClient, publicActions, walletActions } from "viem";
import { observer } from "@latticexyz/explorer/observer";

const client = createClient({ ... })
  .extend(publicActions)
  .extend(walletActions)
  .extend(observer());

By default, the observer action assumes the World Explorer is running at http://localhost:13690, but this can be customized with the explorerUrl option.

observer({
  explorerUrl: "http://localhost:4444",
});

If you want to measure the timing of transaction-to-state-change, you can also pass in a waitForStateChange function that takes a transaction hash and returns a partial TransactionReceipt with blockNumber, status, and transactionHash. This mirrors the waitForTransaction function signature returned by syncTo... helper in @latticexyz/store-sync.

observer({
  async waitForStateChange(hash) {
    return await waitForTransaction(hash);
  },
});

fix(world): resolve module config (#3193) (@latticexyz/world)

Added a config resolver to add default values for modules in the world config.

feat(store-sync): add util to fetch snapshot from indexer with SQL API (#2996) (@latticexyz/protocol-parser, @latticexyz/store-sync)

Added store-sync helper libraries to interact with the indexer's experimental SQL API endpoint. Documentation is available at https://mud.dev/indexer/sql.


alvarius
published 2.2.4-main-1f24978894725dca13c2adfee384e12f53f05c26 •

alvarius
published 2.2.4-main-8b4110e5d9ca2b7a6553a2c4078b7a8b82c6f211 •

alvarius
published 2.2.4-main-83fc93ca36b686c6778697a4a6e250d80f12828c •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc