Skip to content

fix(simulateBlocks): decode errors from returnData when error field is absent - #4259

Merged
jxom merged 1 commit into
wevm:mainfrom
cruzdanilo:decode-simulate
Jan 28, 2026
Merged

fix(simulateBlocks): decode errors from returnData when error field is absent#4259
jxom merged 1 commit into
wevm:mainfrom
cruzdanilo:decode-simulate

Conversation

@cruzdanilo

Copy link
Copy Markdown
Contributor

some rpc implementations return revert data in call.returnData instead of call.error.data. the data extraction already handled both locations, but error object creation only checked call.error, causing custom errors to not be decoded in those cases.

@changeset-bot

changeset-bot Bot commented Jan 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: eff6839

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

…s absent

some rpc implementations return revert data in `call.returnData` instead
of `call.error.data`. the data extraction already handled both locations,
but error object creation only checked `call.error`, causing custom errors
to not be decoded in those cases.
@pkg-pr-new

pkg-pr-new Bot commented Jan 22, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/viem@4259

commit: eff6839

@jxom
jxom merged commit 1ae28c2 into wevm:main Jan 28, 2026
20 of 33 checks passed
This was referenced Jan 28, 2026
@tmm tmm mentioned this pull request Feb 2, 2026
ajhodges pushed a commit to ajhodges/viem that referenced this pull request Mar 4, 2026
)

some rpc implementations return revert data in `call.returnData` instead
of `call.error.data`. the data extraction already handled both locations,
but error object creation only checked `call.error`, causing custom errors
to not be decoded in those cases.
alessio pushed a commit to layer-3/nitrolite that referenced this pull request Mar 8, 2026
![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg)


<h3>Snyk has created this PR to upgrade viem from 2.45.1 to 2.46.0.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.

<hr/>


- The recommended version is **3 versions** ahead of your current
version.

- The recommended version was released **22 days ago**.



<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>viem</b></summary>
    <ul>
      <li>
<b>2.46.0</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.46.0">2026-02-15</a></br><h3>Minor
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4304"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4304/hovercard">#4304</a> <a
href="https://redirect.github.com/wevm/viem/commit/b6b50d40fb6bbadc851377b74b2dd4da584958b0"><code>b6b50d40fb6bbadc851377b74b2dd4da584958b0</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! -
<strong>Breaking (<code>viem/tempo</code>):</strong> Renamed
<code>nonceKey: 'random'</code> to <code>nonceKey: 'expiring'</code> to
align with <a href="https://docs.tempo.xyz/protocol/tips/tip-1009"
rel="nofollow">TIP-1009</a> terminology.</p>
<p>TIP-1009 defines "expiring nonces" as time-based replay protection
using <code>validBefore</code> timestamps. The name
<code>'expiring'</code> better describes the mechanism than
<code>'random'</code>.</p>
<div class="highlight highlight-source-diff notranslate
position-relative overflow-auto"
data-snippet-clipboard-copy-content="await sendTransaction(client, {
  account,
- nonceKey: 'random',
+ nonceKey: 'expiring',
  to: '0x...',
})"><pre>await sendTransaction(client, {
  account,
<span class="pl-md"><span class="pl-md">-</span> nonceKey:
'random',</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> nonceKey:
'expiring',</span>
  to: '0x...',
})</pre></div>
</li>
</ul>
      </li>
      <li>
<b>2.45.3</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.3">2026-02-11</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4329"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4329/hovercard">#4329</a> <a
href="https://redirect.github.com/wevm/viem/commit/d12bb351c0b8c973b995583695606f9d083af1bb"><code>d12bb351c0b8c973b995583695606f9d083af1bb</code></a>
Thanks <a href="https://redirect.github.com/sakulstra">@ sakulstra</a>!
- Added multicall batching support for <code>getBalance</code> via
multicall3's <code>getEthBalance</code>. When the client has
<code>batch.multicall</code> enabled, <code>getBalance</code> calls are
now batched via <code>eth_call</code> instead of making individual
<code>eth_getBalance</code> RPC calls.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4333"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4333/hovercard">#4333</a> <a
href="https://redirect.github.com/wevm/viem/commit/71a324d6b98332f4f98e10c9de4d61287de8534a"><code>71a324d6b98332f4f98e10c9de4d61287de8534a</code></a>
Thanks <a href="https://redirect.github.com/kiyoakii">@ kiyoakii</a>! -
Added <code>blockCreated</code> field to MegaETH Mainnet and Testnet
multicall3 contract definitions.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4330"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4330/hovercard">#4330</a> <a
href="https://redirect.github.com/wevm/viem/commit/aab32a4a5eb3df06cdf8eab5d6f91259d438590b"><code>aab32a4a5eb3df06cdf8eab5d6f91259d438590b</code></a>
Thanks <a href="https://redirect.github.com/boredland">@ boredland</a>!
- Added <code>blockCreated</code> field to <code>zkSync</code>
multicall3 contract.</p>
</li>
</ul>
      </li>
      <li>
<b>2.45.2</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.2">2026-02-09</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4300"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4300/hovercard">#4300</a> <a
href="https://redirect.github.com/wevm/viem/commit/cc60e25ca55c022a56ed9e991ec23cb615593da6"><code>cc60e25ca55c022a56ed9e991ec23cb615593da6</code></a>
Thanks <a href="https://redirect.github.com/LXPDevs">@ LXPDevs</a>! -
Added LuxePorts chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4306"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4306/hovercard">#4306</a> <a
href="https://redirect.github.com/wevm/viem/commit/e3901661ba0442d6ae66c4d702396e8ee247d03f"><code>e3901661ba0442d6ae66c4d702396e8ee247d03f</code></a>
Thanks <a href="https://redirect.github.com/izharan-fireblocks">@
izharan-fireblocks</a>! - Added
<code>WalletConnectSessionSettlementError</code> as a non-retryable
transport error.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4301"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4301/hovercard">#4301</a> <a
href="https://redirect.github.com/wevm/viem/commit/662215f12310c3c2b17424093d3f4922693432f2"><code>662215f12310c3c2b17424093d3f4922693432f2</code></a>
Thanks <a href="https://redirect.github.com/xGreen-project">@
xGreen-project</a>! - Added XGR Mainnet chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4315"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4315/hovercard">#4315</a> <a
href="https://redirect.github.com/wevm/viem/commit/56d0920fd654ab93e89fff77769b0c982b8928d5"><code>56d0920fd654ab93e89fff77769b0c982b8928d5</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! - Fixed
<code>sendCallsSync</code> to respect client-level action overrides
(e.g. smart account clients).</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4294"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4294/hovercard">#4294</a> <a
href="https://redirect.github.com/wevm/viem/commit/8c3fa2684820c80e8908cc799fd47815594e4871"><code>8c3fa2684820c80e8908cc799fd47815594e4871</code></a>
Thanks <a href="https://redirect.github.com/Oighty">@ Oighty</a>! -
Added Citrea Mainnet chain support.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4321"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4321/hovercard">#4321</a> <a
href="https://redirect.github.com/wevm/viem/commit/059274e18c19270e7f7e98f0b087e7986d5a6dd7"><code>059274e18c19270e7f7e98f0b087e7986d5a6dd7</code></a>
Thanks <a href="https://redirect.github.com/highonrice">@
highonrice</a>! - Updated the native currency of Stable Mainnet.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4319"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4319/hovercard">#4319</a> <a
href="https://redirect.github.com/wevm/viem/commit/746f5ae3b220313748bf7e0eb2d86f07848b6628"><code>746f5ae3b220313748bf7e0eb2d86f07848b6628</code></a>
Thanks <a href="https://redirect.github.com/brotherlymite">@
brotherlymite</a>! - Added etherscan explorer for MegaETH.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4305"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4305/hovercard">#4305</a> <a
href="https://redirect.github.com/wevm/viem/commit/428ef7cd7b4d6e9860296df841ce2f4a8d494bc1"><code>428ef7cd7b4d6e9860296df841ce2f4a8d494bc1</code></a>
Thanks <a href="https://redirect.github.com/LxpSrDev">@ LxpSrDev</a>! -
Added LuxePorts chain.</p>
</li>
</ul>
      </li>
      <li>
<b>2.45.1</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.1">2026-01-29</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4273"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4273/hovercard">#4273</a> <a
href="https://redirect.github.com/wevm/viem/commit/bf3f117aa4d6a4693af29894b1c27e130623cbc7"><code>bf3f117aa4d6a4693af29894b1c27e130623cbc7</code></a>
Thanks <a href="https://redirect.github.com/nicodlz">@ nicodlz</a>! -
Added Subtensor EVM chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4272"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4272/hovercard">#4272</a> <a
href="https://redirect.github.com/wevm/viem/commit/a3a4ff9a25c8f31d3caef533d3d100cf22c1ea5e"><code>a3a4ff9a25c8f31d3caef533d3d100cf22c1ea5e</code></a>
Thanks <a href="https://redirect.github.com/matzapata">@ matzapata</a>!
- Added Alpen Testnet</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4228"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4228/hovercard">#4228</a> <a
href="https://redirect.github.com/wevm/viem/commit/26ffdfbef41e08a4d6837051eda615fb659c2c31"><code>26ffdfbef41e08a4d6837051eda615fb659c2c31</code></a>
Thanks <a href="https://redirect.github.com/sakulstra">@ sakulstra</a>!
- Improved performance in <code>parseEventLogs</code> by memoizing.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4275"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4275/hovercard">#4275</a> <a
href="https://redirect.github.com/wevm/viem/commit/ea8398b80c6fa90747e979d959c32e276bdd43e1"><code>ea8398b80c6fa90747e979d959c32e276bdd43e1</code></a>
Thanks <a href="https://redirect.github.com/GiovaniGuizzo">@
GiovaniGuizzo</a>! - Added KiiChain mainnet chain definition</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4259"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4259/hovercard">#4259</a> <a
href="https://redirect.github.com/wevm/viem/commit/1ae28c2a9acb55b8fc599643549a52ec71a02e72"><code>1ae28c2a9acb55b8fc599643549a52ec71a02e72</code></a>
Thanks <a href="https://redirect.github.com/cruzdanilo">@
cruzdanilo</a>! - Fixed error decoding in <code>simulateBlocks</code>
when RPC returns revert data in <code>returnData</code> instead of
<code>error.data</code>.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4260"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4260/hovercard">#4260</a> <a
href="https://redirect.github.com/wevm/viem/commit/1f2a1839c201a2f5b97bddf26d605fb0394cdbd7"><code>1f2a1839c201a2f5b97bddf26d605fb0394cdbd7</code></a>
Thanks <a href="https://redirect.github.com/akitothemoon">@
akitothemoon</a>! - Added Horizen Testnet.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/wevm/viem/commit/4fe411bd4231ec0a89159723ec68fcfe13c10071"><code>4fe411bd4231ec0a89159723ec68fcfe13c10071</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! - Added
<code>nonce</code> and <code>faucet.fundSync</code> actions to
decorator.</p>
</li>
</ul>
      </li>
    </ul>
from <a href="https://redirect.github.com/wevm/viem/releases">viem
GitHub release notes</a>
  </details>
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._

**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6ImZha2Uta2V5IiwiYW5vbnltb3VzSWQiOiJkMWJjNzNmYS05NmNhLTQ4YTUtYjhkMC04OGE5Y2VmOGUxYjUiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQxYmM3M2ZhLTk2Y2EtNDhhNS1iOGQwLTg4YTljZWY4ZTFiNSJ9fQ=="
width="0" height="0"/>

> - 🧐 [View latest project
report](https://app.eu.snyk.io/org/layer-3-foundation-default/project/91b1884e-49c9-4b0d-a397-0ff65ce23030?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.eu.snyk.io/org/layer-3-foundation-default/project/91b1884e-49c9-4b0d-a397-0ff65ce23030/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.eu.snyk.io/org/layer-3-foundation-default/project/91b1884e-49c9-4b0d-a397-0ff65ce23030/settings/integration?pkg&#x3D;viem&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

[//]: #
'snyk:metadata:{"breakingChangeRiskLevel":null,"FF_showPullRequestBreakingChanges":false,"FF_showPullRequestBreakingChangesWebSearch":false,"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"viem","from":"2.45.1","to":"2.46.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"d1bc73fa-96ca-48a5-b8d0-88a9cef8e1b5","prPublicId":"d1bc73fa-96ca-48a5-b8d0-88a9cef8e1b5","packageManager":"npm","priorityScoreList":[],"projectPublicId":"91b1884e-49c9-4b0d-a397-0ff65ce23030","projectUrl":"https://app.eu.snyk.io/org/layer-3-foundation-default/project/91b1884e-49c9-4b0d-a397-0ff65ce23030?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":3,"publishedDate":"2026-02-15T04:02:45.482Z"},"vulns":[]}'

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
alessio pushed a commit to layer-3/nitrolite that referenced this pull request Mar 16, 2026
![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg)


<h3>Snyk has created this PR to upgrade viem from 2.45.1 to 2.46.1.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.

<hr/>


- The recommended version is **4 versions** ahead of your current
version.

- The recommended version was released **21 days ago**.



<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>viem</b></summary>
    <ul>
      <li>
<b>2.46.1</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.46.1">2026-02-16</a></br><h3>Patch
Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/wevm/viem/commit/44cbba75ab219c4e297f6cfd21c04f47548585e2"><code>44cbba75ab219c4e297f6cfd21c04f47548585e2</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! - Removed
Ekta chain.</li>
</ul>
      </li>
      <li>
<b>2.46.0</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.46.0">2026-02-15</a></br><h3>Minor
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4304"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4304/hovercard">#4304</a> <a
href="https://redirect.github.com/wevm/viem/commit/b6b50d40fb6bbadc851377b74b2dd4da584958b0"><code>b6b50d40fb6bbadc851377b74b2dd4da584958b0</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! -
<strong>Breaking (<code>viem/tempo</code>):</strong> Renamed
<code>nonceKey: 'random'</code> to <code>nonceKey: 'expiring'</code> to
align with <a href="https://docs.tempo.xyz/protocol/tips/tip-1009"
rel="nofollow">TIP-1009</a> terminology.</p>
<p>TIP-1009 defines "expiring nonces" as time-based replay protection
using <code>validBefore</code> timestamps. The name
<code>'expiring'</code> better describes the mechanism than
<code>'random'</code>.</p>
<div class="highlight highlight-source-diff notranslate
position-relative overflow-auto"
data-snippet-clipboard-copy-content="await sendTransaction(client, {
  account,
- nonceKey: 'random',
+ nonceKey: 'expiring',
  to: '0x...',
})"><pre>await sendTransaction(client, {
  account,
<span class="pl-md"><span class="pl-md">-</span> nonceKey:
'random',</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> nonceKey:
'expiring',</span>
  to: '0x...',
})</pre></div>
</li>
</ul>
      </li>
      <li>
<b>2.45.3</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.3">2026-02-11</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4329"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4329/hovercard">#4329</a> <a
href="https://redirect.github.com/wevm/viem/commit/d12bb351c0b8c973b995583695606f9d083af1bb"><code>d12bb351c0b8c973b995583695606f9d083af1bb</code></a>
Thanks <a href="https://redirect.github.com/sakulstra">@ sakulstra</a>!
- Added multicall batching support for <code>getBalance</code> via
multicall3's <code>getEthBalance</code>. When the client has
<code>batch.multicall</code> enabled, <code>getBalance</code> calls are
now batched via <code>eth_call</code> instead of making individual
<code>eth_getBalance</code> RPC calls.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4333"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4333/hovercard">#4333</a> <a
href="https://redirect.github.com/wevm/viem/commit/71a324d6b98332f4f98e10c9de4d61287de8534a"><code>71a324d6b98332f4f98e10c9de4d61287de8534a</code></a>
Thanks <a href="https://redirect.github.com/kiyoakii">@ kiyoakii</a>! -
Added <code>blockCreated</code> field to MegaETH Mainnet and Testnet
multicall3 contract definitions.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4330"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4330/hovercard">#4330</a> <a
href="https://redirect.github.com/wevm/viem/commit/aab32a4a5eb3df06cdf8eab5d6f91259d438590b"><code>aab32a4a5eb3df06cdf8eab5d6f91259d438590b</code></a>
Thanks <a href="https://redirect.github.com/boredland">@ boredland</a>!
- Added <code>blockCreated</code> field to <code>zkSync</code>
multicall3 contract.</p>
</li>
</ul>
      </li>
      <li>
<b>2.45.2</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.2">2026-02-09</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4300"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4300/hovercard">#4300</a> <a
href="https://redirect.github.com/wevm/viem/commit/cc60e25ca55c022a56ed9e991ec23cb615593da6"><code>cc60e25ca55c022a56ed9e991ec23cb615593da6</code></a>
Thanks <a href="https://redirect.github.com/LXPDevs">@ LXPDevs</a>! -
Added LuxePorts chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4306"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4306/hovercard">#4306</a> <a
href="https://redirect.github.com/wevm/viem/commit/e3901661ba0442d6ae66c4d702396e8ee247d03f"><code>e3901661ba0442d6ae66c4d702396e8ee247d03f</code></a>
Thanks <a href="https://redirect.github.com/izharan-fireblocks">@
izharan-fireblocks</a>! - Added
<code>WalletConnectSessionSettlementError</code> as a non-retryable
transport error.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4301"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4301/hovercard">#4301</a> <a
href="https://redirect.github.com/wevm/viem/commit/662215f12310c3c2b17424093d3f4922693432f2"><code>662215f12310c3c2b17424093d3f4922693432f2</code></a>
Thanks <a href="https://redirect.github.com/xGreen-project">@
xGreen-project</a>! - Added XGR Mainnet chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4315"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4315/hovercard">#4315</a> <a
href="https://redirect.github.com/wevm/viem/commit/56d0920fd654ab93e89fff77769b0c982b8928d5"><code>56d0920fd654ab93e89fff77769b0c982b8928d5</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! - Fixed
<code>sendCallsSync</code> to respect client-level action overrides
(e.g. smart account clients).</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4294"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4294/hovercard">#4294</a> <a
href="https://redirect.github.com/wevm/viem/commit/8c3fa2684820c80e8908cc799fd47815594e4871"><code>8c3fa2684820c80e8908cc799fd47815594e4871</code></a>
Thanks <a href="https://redirect.github.com/Oighty">@ Oighty</a>! -
Added Citrea Mainnet chain support.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4321"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4321/hovercard">#4321</a> <a
href="https://redirect.github.com/wevm/viem/commit/059274e18c19270e7f7e98f0b087e7986d5a6dd7"><code>059274e18c19270e7f7e98f0b087e7986d5a6dd7</code></a>
Thanks <a href="https://redirect.github.com/highonrice">@
highonrice</a>! - Updated the native currency of Stable Mainnet.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4319"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4319/hovercard">#4319</a> <a
href="https://redirect.github.com/wevm/viem/commit/746f5ae3b220313748bf7e0eb2d86f07848b6628"><code>746f5ae3b220313748bf7e0eb2d86f07848b6628</code></a>
Thanks <a href="https://redirect.github.com/brotherlymite">@
brotherlymite</a>! - Added etherscan explorer for MegaETH.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4305"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4305/hovercard">#4305</a> <a
href="https://redirect.github.com/wevm/viem/commit/428ef7cd7b4d6e9860296df841ce2f4a8d494bc1"><code>428ef7cd7b4d6e9860296df841ce2f4a8d494bc1</code></a>
Thanks <a href="https://redirect.github.com/LxpSrDev">@ LxpSrDev</a>! -
Added LuxePorts chain.</p>
</li>
</ul>
      </li>
      <li>
<b>2.45.1</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.1">2026-01-29</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4273"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4273/hovercard">#4273</a> <a
href="https://redirect.github.com/wevm/viem/commit/bf3f117aa4d6a4693af29894b1c27e130623cbc7"><code>bf3f117aa4d6a4693af29894b1c27e130623cbc7</code></a>
Thanks <a href="https://redirect.github.com/nicodlz">@ nicodlz</a>! -
Added Subtensor EVM chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4272"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4272/hovercard">#4272</a> <a
href="https://redirect.github.com/wevm/viem/commit/a3a4ff9a25c8f31d3caef533d3d100cf22c1ea5e"><code>a3a4ff9a25c8f31d3caef533d3d100cf22c1ea5e</code></a>
Thanks <a href="https://redirect.github.com/matzapata">@ matzapata</a>!
- Added Alpen Testnet</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4228"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4228/hovercard">#4228</a> <a
href="https://redirect.github.com/wevm/viem/commit/26ffdfbef41e08a4d6837051eda615fb659c2c31"><code>26ffdfbef41e08a4d6837051eda615fb659c2c31</code></a>
Thanks <a href="https://redirect.github.com/sakulstra">@ sakulstra</a>!
- Improved performance in <code>parseEventLogs</code> by memoizing.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4275"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4275/hovercard">#4275</a> <a
href="https://redirect.github.com/wevm/viem/commit/ea8398b80c6fa90747e979d959c32e276bdd43e1"><code>ea8398b80c6fa90747e979d959c32e276bdd43e1</code></a>
Thanks <a href="https://redirect.github.com/GiovaniGuizzo">@
GiovaniGuizzo</a>! - Added KiiChain mainnet chain definition</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4259"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4259/hovercard">#4259</a> <a
href="https://redirect.github.com/wevm/viem/commit/1ae28c2a9acb55b8fc599643549a52ec71a02e72"><code>1ae28c2a9acb55b8fc599643549a52ec71a02e72</code></a>
Thanks <a href="https://redirect.github.com/cruzdanilo">@
cruzdanilo</a>! - Fixed error decoding in <code>simulateBlocks</code>
when RPC returns revert data in <code>returnData</code> instead of
<code>error.data</code>.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4260"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4260/hovercard">#4260</a> <a
href="https://redirect.github.com/wevm/viem/commit/1f2a1839c201a2f5b97bddf26d605fb0394cdbd7"><code>1f2a1839c201a2f5b97bddf26d605fb0394cdbd7</code></a>
Thanks <a href="https://redirect.github.com/akitothemoon">@
akitothemoon</a>! - Added Horizen Testnet.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/wevm/viem/commit/4fe411bd4231ec0a89159723ec68fcfe13c10071"><code>4fe411bd4231ec0a89159723ec68fcfe13c10071</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! - Added
<code>nonce</code> and <code>faucet.fundSync</code> actions to
decorator.</p>
</li>
</ul>
      </li>
    </ul>
from <a href="https://redirect.github.com/wevm/viem/releases">viem
GitHub release notes</a>
  </details>
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._

**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6ImZha2Uta2V5IiwiYW5vbnltb3VzSWQiOiJjMWRkNzkxZi04YWNkLTRkNTAtOGQxOS0xYTc5Nzk3YmU0ZDMiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImMxZGQ3OTFmLThhY2QtNGQ1MC04ZDE5LTFhNzk3OTdiZTRkMyJ9fQ=="
width="0" height="0"/>

> - 🧐 [View latest project
report](https://app.eu.snyk.io/org/layer-3-foundation-default/project/6ec96c13-2fa1-4d2e-a2c9-55875479edaf?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.eu.snyk.io/org/layer-3-foundation-default/project/6ec96c13-2fa1-4d2e-a2c9-55875479edaf/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.eu.snyk.io/org/layer-3-foundation-default/project/6ec96c13-2fa1-4d2e-a2c9-55875479edaf/settings/integration?pkg&#x3D;viem&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

[//]: #
'snyk:metadata:{"breakingChangeRiskLevel":null,"FF_showPullRequestBreakingChanges":false,"FF_showPullRequestBreakingChangesWebSearch":false,"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"viem","from":"2.45.1","to":"2.46.1"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"c1dd791f-8acd-4d50-8d19-1a79797be4d3","prPublicId":"c1dd791f-8acd-4d50-8d19-1a79797be4d3","packageManager":"npm","priorityScoreList":[],"projectPublicId":"6ec96c13-2fa1-4d2e-a2c9-55875479edaf","projectUrl":"https://app.eu.snyk.io/org/layer-3-foundation-default/project/6ec96c13-2fa1-4d2e-a2c9-55875479edaf?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":4,"publishedDate":"2026-02-16T02:28:36.614Z"},"vulns":[]}'

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
nksazonov pushed a commit to layer-3/nitrolite that referenced this pull request Apr 16, 2026
![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg)


<h3>Snyk has created this PR to upgrade viem from 2.45.1 to 2.46.0.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.

<hr/>


- The recommended version is **3 versions** ahead of your current
version.

- The recommended version was released **22 days ago**.



<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>viem</b></summary>
    <ul>
      <li>
<b>2.46.0</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.46.0">2026-02-15</a></br><h3>Minor
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4304"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4304/hovercard">#4304</a> <a
href="https://redirect.github.com/wevm/viem/commit/b6b50d40fb6bbadc851377b74b2dd4da584958b0"><code>b6b50d40fb6bbadc851377b74b2dd4da584958b0</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! -
<strong>Breaking (<code>viem/tempo</code>):</strong> Renamed
<code>nonceKey: 'random'</code> to <code>nonceKey: 'expiring'</code> to
align with <a href="https://docs.tempo.xyz/protocol/tips/tip-1009"
rel="nofollow">TIP-1009</a> terminology.</p>
<p>TIP-1009 defines "expiring nonces" as time-based replay protection
using <code>validBefore</code> timestamps. The name
<code>'expiring'</code> better describes the mechanism than
<code>'random'</code>.</p>
<div class="highlight highlight-source-diff notranslate
position-relative overflow-auto"
data-snippet-clipboard-copy-content="await sendTransaction(client, {
  account,
- nonceKey: 'random',
+ nonceKey: 'expiring',
  to: '0x...',
})"><pre>await sendTransaction(client, {
  account,
<span class="pl-md"><span class="pl-md">-</span> nonceKey:
'random',</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> nonceKey:
'expiring',</span>
  to: '0x...',
})</pre></div>
</li>
</ul>
      </li>
      <li>
<b>2.45.3</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.3">2026-02-11</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4329"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4329/hovercard">#4329</a> <a
href="https://redirect.github.com/wevm/viem/commit/d12bb351c0b8c973b995583695606f9d083af1bb"><code>d12bb351c0b8c973b995583695606f9d083af1bb</code></a>
Thanks <a href="https://redirect.github.com/sakulstra">@ sakulstra</a>!
- Added multicall batching support for <code>getBalance</code> via
multicall3's <code>getEthBalance</code>. When the client has
<code>batch.multicall</code> enabled, <code>getBalance</code> calls are
now batched via <code>eth_call</code> instead of making individual
<code>eth_getBalance</code> RPC calls.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4333"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4333/hovercard">#4333</a> <a
href="https://redirect.github.com/wevm/viem/commit/71a324d6b98332f4f98e10c9de4d61287de8534a"><code>71a324d6b98332f4f98e10c9de4d61287de8534a</code></a>
Thanks <a href="https://redirect.github.com/kiyoakii">@ kiyoakii</a>! -
Added <code>blockCreated</code> field to MegaETH Mainnet and Testnet
multicall3 contract definitions.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4330"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4330/hovercard">#4330</a> <a
href="https://redirect.github.com/wevm/viem/commit/aab32a4a5eb3df06cdf8eab5d6f91259d438590b"><code>aab32a4a5eb3df06cdf8eab5d6f91259d438590b</code></a>
Thanks <a href="https://redirect.github.com/boredland">@ boredland</a>!
- Added <code>blockCreated</code> field to <code>zkSync</code>
multicall3 contract.</p>
</li>
</ul>
      </li>
      <li>
<b>2.45.2</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.2">2026-02-09</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4300"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4300/hovercard">#4300</a> <a
href="https://redirect.github.com/wevm/viem/commit/cc60e25ca55c022a56ed9e991ec23cb615593da6"><code>cc60e25ca55c022a56ed9e991ec23cb615593da6</code></a>
Thanks <a href="https://redirect.github.com/LXPDevs">@ LXPDevs</a>! -
Added LuxePorts chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4306"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4306/hovercard">#4306</a> <a
href="https://redirect.github.com/wevm/viem/commit/e3901661ba0442d6ae66c4d702396e8ee247d03f"><code>e3901661ba0442d6ae66c4d702396e8ee247d03f</code></a>
Thanks <a href="https://redirect.github.com/izharan-fireblocks">@
izharan-fireblocks</a>! - Added
<code>WalletConnectSessionSettlementError</code> as a non-retryable
transport error.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4301"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4301/hovercard">#4301</a> <a
href="https://redirect.github.com/wevm/viem/commit/662215f12310c3c2b17424093d3f4922693432f2"><code>662215f12310c3c2b17424093d3f4922693432f2</code></a>
Thanks <a href="https://redirect.github.com/xGreen-project">@
xGreen-project</a>! - Added XGR Mainnet chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4315"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4315/hovercard">#4315</a> <a
href="https://redirect.github.com/wevm/viem/commit/56d0920fd654ab93e89fff77769b0c982b8928d5"><code>56d0920fd654ab93e89fff77769b0c982b8928d5</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! - Fixed
<code>sendCallsSync</code> to respect client-level action overrides
(e.g. smart account clients).</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4294"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4294/hovercard">#4294</a> <a
href="https://redirect.github.com/wevm/viem/commit/8c3fa2684820c80e8908cc799fd47815594e4871"><code>8c3fa2684820c80e8908cc799fd47815594e4871</code></a>
Thanks <a href="https://redirect.github.com/Oighty">@ Oighty</a>! -
Added Citrea Mainnet chain support.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4321"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4321/hovercard">#4321</a> <a
href="https://redirect.github.com/wevm/viem/commit/059274e18c19270e7f7e98f0b087e7986d5a6dd7"><code>059274e18c19270e7f7e98f0b087e7986d5a6dd7</code></a>
Thanks <a href="https://redirect.github.com/highonrice">@
highonrice</a>! - Updated the native currency of Stable Mainnet.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4319"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4319/hovercard">#4319</a> <a
href="https://redirect.github.com/wevm/viem/commit/746f5ae3b220313748bf7e0eb2d86f07848b6628"><code>746f5ae3b220313748bf7e0eb2d86f07848b6628</code></a>
Thanks <a href="https://redirect.github.com/brotherlymite">@
brotherlymite</a>! - Added etherscan explorer for MegaETH.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4305"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4305/hovercard">#4305</a> <a
href="https://redirect.github.com/wevm/viem/commit/428ef7cd7b4d6e9860296df841ce2f4a8d494bc1"><code>428ef7cd7b4d6e9860296df841ce2f4a8d494bc1</code></a>
Thanks <a href="https://redirect.github.com/LxpSrDev">@ LxpSrDev</a>! -
Added LuxePorts chain.</p>
</li>
</ul>
      </li>
      <li>
<b>2.45.1</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.1">2026-01-29</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4273"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4273/hovercard">#4273</a> <a
href="https://redirect.github.com/wevm/viem/commit/bf3f117aa4d6a4693af29894b1c27e130623cbc7"><code>bf3f117aa4d6a4693af29894b1c27e130623cbc7</code></a>
Thanks <a href="https://redirect.github.com/nicodlz">@ nicodlz</a>! -
Added Subtensor EVM chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4272"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4272/hovercard">#4272</a> <a
href="https://redirect.github.com/wevm/viem/commit/a3a4ff9a25c8f31d3caef533d3d100cf22c1ea5e"><code>a3a4ff9a25c8f31d3caef533d3d100cf22c1ea5e</code></a>
Thanks <a href="https://redirect.github.com/matzapata">@ matzapata</a>!
- Added Alpen Testnet</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4228"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4228/hovercard">#4228</a> <a
href="https://redirect.github.com/wevm/viem/commit/26ffdfbef41e08a4d6837051eda615fb659c2c31"><code>26ffdfbef41e08a4d6837051eda615fb659c2c31</code></a>
Thanks <a href="https://redirect.github.com/sakulstra">@ sakulstra</a>!
- Improved performance in <code>parseEventLogs</code> by memoizing.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4275"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4275/hovercard">#4275</a> <a
href="https://redirect.github.com/wevm/viem/commit/ea8398b80c6fa90747e979d959c32e276bdd43e1"><code>ea8398b80c6fa90747e979d959c32e276bdd43e1</code></a>
Thanks <a href="https://redirect.github.com/GiovaniGuizzo">@
GiovaniGuizzo</a>! - Added KiiChain mainnet chain definition</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4259"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4259/hovercard">#4259</a> <a
href="https://redirect.github.com/wevm/viem/commit/1ae28c2a9acb55b8fc599643549a52ec71a02e72"><code>1ae28c2a9acb55b8fc599643549a52ec71a02e72</code></a>
Thanks <a href="https://redirect.github.com/cruzdanilo">@
cruzdanilo</a>! - Fixed error decoding in <code>simulateBlocks</code>
when RPC returns revert data in <code>returnData</code> instead of
<code>error.data</code>.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4260"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4260/hovercard">#4260</a> <a
href="https://redirect.github.com/wevm/viem/commit/1f2a1839c201a2f5b97bddf26d605fb0394cdbd7"><code>1f2a1839c201a2f5b97bddf26d605fb0394cdbd7</code></a>
Thanks <a href="https://redirect.github.com/akitothemoon">@
akitothemoon</a>! - Added Horizen Testnet.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/wevm/viem/commit/4fe411bd4231ec0a89159723ec68fcfe13c10071"><code>4fe411bd4231ec0a89159723ec68fcfe13c10071</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! - Added
<code>nonce</code> and <code>faucet.fundSync</code> actions to
decorator.</p>
</li>
</ul>
      </li>
    </ul>
from <a href="https://redirect.github.com/wevm/viem/releases">viem
GitHub release notes</a>
  </details>
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._

**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6ImZha2Uta2V5IiwiYW5vbnltb3VzSWQiOiJkMWJjNzNmYS05NmNhLTQ4YTUtYjhkMC04OGE5Y2VmOGUxYjUiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImQxYmM3M2ZhLTk2Y2EtNDhhNS1iOGQwLTg4YTljZWY4ZTFiNSJ9fQ=="
width="0" height="0"/>

> - 🧐 [View latest project
report](https://app.eu.snyk.io/org/layer-3-foundation-default/project/91b1884e-49c9-4b0d-a397-0ff65ce23030?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.eu.snyk.io/org/layer-3-foundation-default/project/91b1884e-49c9-4b0d-a397-0ff65ce23030/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.eu.snyk.io/org/layer-3-foundation-default/project/91b1884e-49c9-4b0d-a397-0ff65ce23030/settings/integration?pkg&#x3D;viem&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

[//]: #
'snyk:metadata:{"breakingChangeRiskLevel":null,"FF_showPullRequestBreakingChanges":false,"FF_showPullRequestBreakingChangesWebSearch":false,"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"viem","from":"2.45.1","to":"2.46.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"d1bc73fa-96ca-48a5-b8d0-88a9cef8e1b5","prPublicId":"d1bc73fa-96ca-48a5-b8d0-88a9cef8e1b5","packageManager":"npm","priorityScoreList":[],"projectPublicId":"91b1884e-49c9-4b0d-a397-0ff65ce23030","projectUrl":"https://app.eu.snyk.io/org/layer-3-foundation-default/project/91b1884e-49c9-4b0d-a397-0ff65ce23030?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":3,"publishedDate":"2026-02-15T04:02:45.482Z"},"vulns":[]}'

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
nksazonov pushed a commit to layer-3/nitrolite that referenced this pull request Apr 16, 2026
![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg)


<h3>Snyk has created this PR to upgrade viem from 2.45.1 to 2.46.1.</h3>

:information_source: Keep your dependencies up-to-date. This makes it
easier to fix existing vulnerabilities and to more quickly identify and
fix newly disclosed vulnerabilities when they affect your project.

<hr/>


- The recommended version is **4 versions** ahead of your current
version.

- The recommended version was released **21 days ago**.



<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>viem</b></summary>
    <ul>
      <li>
<b>2.46.1</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.46.1">2026-02-16</a></br><h3>Patch
Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/wevm/viem/commit/44cbba75ab219c4e297f6cfd21c04f47548585e2"><code>44cbba75ab219c4e297f6cfd21c04f47548585e2</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! - Removed
Ekta chain.</li>
</ul>
      </li>
      <li>
<b>2.46.0</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.46.0">2026-02-15</a></br><h3>Minor
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4304"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4304/hovercard">#4304</a> <a
href="https://redirect.github.com/wevm/viem/commit/b6b50d40fb6bbadc851377b74b2dd4da584958b0"><code>b6b50d40fb6bbadc851377b74b2dd4da584958b0</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! -
<strong>Breaking (<code>viem/tempo</code>):</strong> Renamed
<code>nonceKey: 'random'</code> to <code>nonceKey: 'expiring'</code> to
align with <a href="https://docs.tempo.xyz/protocol/tips/tip-1009"
rel="nofollow">TIP-1009</a> terminology.</p>
<p>TIP-1009 defines "expiring nonces" as time-based replay protection
using <code>validBefore</code> timestamps. The name
<code>'expiring'</code> better describes the mechanism than
<code>'random'</code>.</p>
<div class="highlight highlight-source-diff notranslate
position-relative overflow-auto"
data-snippet-clipboard-copy-content="await sendTransaction(client, {
  account,
- nonceKey: 'random',
+ nonceKey: 'expiring',
  to: '0x...',
})"><pre>await sendTransaction(client, {
  account,
<span class="pl-md"><span class="pl-md">-</span> nonceKey:
'random',</span>
<span class="pl-mi1"><span class="pl-mi1">+</span> nonceKey:
'expiring',</span>
  to: '0x...',
})</pre></div>
</li>
</ul>
      </li>
      <li>
<b>2.45.3</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.3">2026-02-11</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4329"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4329/hovercard">#4329</a> <a
href="https://redirect.github.com/wevm/viem/commit/d12bb351c0b8c973b995583695606f9d083af1bb"><code>d12bb351c0b8c973b995583695606f9d083af1bb</code></a>
Thanks <a href="https://redirect.github.com/sakulstra">@ sakulstra</a>!
- Added multicall batching support for <code>getBalance</code> via
multicall3's <code>getEthBalance</code>. When the client has
<code>batch.multicall</code> enabled, <code>getBalance</code> calls are
now batched via <code>eth_call</code> instead of making individual
<code>eth_getBalance</code> RPC calls.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4333"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4333/hovercard">#4333</a> <a
href="https://redirect.github.com/wevm/viem/commit/71a324d6b98332f4f98e10c9de4d61287de8534a"><code>71a324d6b98332f4f98e10c9de4d61287de8534a</code></a>
Thanks <a href="https://redirect.github.com/kiyoakii">@ kiyoakii</a>! -
Added <code>blockCreated</code> field to MegaETH Mainnet and Testnet
multicall3 contract definitions.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4330"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4330/hovercard">#4330</a> <a
href="https://redirect.github.com/wevm/viem/commit/aab32a4a5eb3df06cdf8eab5d6f91259d438590b"><code>aab32a4a5eb3df06cdf8eab5d6f91259d438590b</code></a>
Thanks <a href="https://redirect.github.com/boredland">@ boredland</a>!
- Added <code>blockCreated</code> field to <code>zkSync</code>
multicall3 contract.</p>
</li>
</ul>
      </li>
      <li>
<b>2.45.2</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.2">2026-02-09</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4300"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4300/hovercard">#4300</a> <a
href="https://redirect.github.com/wevm/viem/commit/cc60e25ca55c022a56ed9e991ec23cb615593da6"><code>cc60e25ca55c022a56ed9e991ec23cb615593da6</code></a>
Thanks <a href="https://redirect.github.com/LXPDevs">@ LXPDevs</a>! -
Added LuxePorts chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4306"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4306/hovercard">#4306</a> <a
href="https://redirect.github.com/wevm/viem/commit/e3901661ba0442d6ae66c4d702396e8ee247d03f"><code>e3901661ba0442d6ae66c4d702396e8ee247d03f</code></a>
Thanks <a href="https://redirect.github.com/izharan-fireblocks">@
izharan-fireblocks</a>! - Added
<code>WalletConnectSessionSettlementError</code> as a non-retryable
transport error.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4301"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4301/hovercard">#4301</a> <a
href="https://redirect.github.com/wevm/viem/commit/662215f12310c3c2b17424093d3f4922693432f2"><code>662215f12310c3c2b17424093d3f4922693432f2</code></a>
Thanks <a href="https://redirect.github.com/xGreen-project">@
xGreen-project</a>! - Added XGR Mainnet chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4315"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4315/hovercard">#4315</a> <a
href="https://redirect.github.com/wevm/viem/commit/56d0920fd654ab93e89fff77769b0c982b8928d5"><code>56d0920fd654ab93e89fff77769b0c982b8928d5</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! - Fixed
<code>sendCallsSync</code> to respect client-level action overrides
(e.g. smart account clients).</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4294"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4294/hovercard">#4294</a> <a
href="https://redirect.github.com/wevm/viem/commit/8c3fa2684820c80e8908cc799fd47815594e4871"><code>8c3fa2684820c80e8908cc799fd47815594e4871</code></a>
Thanks <a href="https://redirect.github.com/Oighty">@ Oighty</a>! -
Added Citrea Mainnet chain support.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4321"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4321/hovercard">#4321</a> <a
href="https://redirect.github.com/wevm/viem/commit/059274e18c19270e7f7e98f0b087e7986d5a6dd7"><code>059274e18c19270e7f7e98f0b087e7986d5a6dd7</code></a>
Thanks <a href="https://redirect.github.com/highonrice">@
highonrice</a>! - Updated the native currency of Stable Mainnet.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4319"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4319/hovercard">#4319</a> <a
href="https://redirect.github.com/wevm/viem/commit/746f5ae3b220313748bf7e0eb2d86f07848b6628"><code>746f5ae3b220313748bf7e0eb2d86f07848b6628</code></a>
Thanks <a href="https://redirect.github.com/brotherlymite">@
brotherlymite</a>! - Added etherscan explorer for MegaETH.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4305"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4305/hovercard">#4305</a> <a
href="https://redirect.github.com/wevm/viem/commit/428ef7cd7b4d6e9860296df841ce2f4a8d494bc1"><code>428ef7cd7b4d6e9860296df841ce2f4a8d494bc1</code></a>
Thanks <a href="https://redirect.github.com/LxpSrDev">@ LxpSrDev</a>! -
Added LuxePorts chain.</p>
</li>
</ul>
      </li>
      <li>
<b>2.45.1</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.45.1">2026-01-29</a></br><h3>Patch
Changes</h3>
<ul>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4273"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4273/hovercard">#4273</a> <a
href="https://redirect.github.com/wevm/viem/commit/bf3f117aa4d6a4693af29894b1c27e130623cbc7"><code>bf3f117aa4d6a4693af29894b1c27e130623cbc7</code></a>
Thanks <a href="https://redirect.github.com/nicodlz">@ nicodlz</a>! -
Added Subtensor EVM chain.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4272"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4272/hovercard">#4272</a> <a
href="https://redirect.github.com/wevm/viem/commit/a3a4ff9a25c8f31d3caef533d3d100cf22c1ea5e"><code>a3a4ff9a25c8f31d3caef533d3d100cf22c1ea5e</code></a>
Thanks <a href="https://redirect.github.com/matzapata">@ matzapata</a>!
- Added Alpen Testnet</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4228"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4228/hovercard">#4228</a> <a
href="https://redirect.github.com/wevm/viem/commit/26ffdfbef41e08a4d6837051eda615fb659c2c31"><code>26ffdfbef41e08a4d6837051eda615fb659c2c31</code></a>
Thanks <a href="https://redirect.github.com/sakulstra">@ sakulstra</a>!
- Improved performance in <code>parseEventLogs</code> by memoizing.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4275"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4275/hovercard">#4275</a> <a
href="https://redirect.github.com/wevm/viem/commit/ea8398b80c6fa90747e979d959c32e276bdd43e1"><code>ea8398b80c6fa90747e979d959c32e276bdd43e1</code></a>
Thanks <a href="https://redirect.github.com/GiovaniGuizzo">@
GiovaniGuizzo</a>! - Added KiiChain mainnet chain definition</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4259"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4259/hovercard">#4259</a> <a
href="https://redirect.github.com/wevm/viem/commit/1ae28c2a9acb55b8fc599643549a52ec71a02e72"><code>1ae28c2a9acb55b8fc599643549a52ec71a02e72</code></a>
Thanks <a href="https://redirect.github.com/cruzdanilo">@
cruzdanilo</a>! - Fixed error decoding in <code>simulateBlocks</code>
when RPC returns revert data in <code>returnData</code> instead of
<code>error.data</code>.</p>
</li>
<li>
<p><a href="https://redirect.github.com/wevm/viem/pull/4260"
data-hovercard-type="pull_request"
data-hovercard-url="/wevm/viem/pull/4260/hovercard">#4260</a> <a
href="https://redirect.github.com/wevm/viem/commit/1f2a1839c201a2f5b97bddf26d605fb0394cdbd7"><code>1f2a1839c201a2f5b97bddf26d605fb0394cdbd7</code></a>
Thanks <a href="https://redirect.github.com/akitothemoon">@
akitothemoon</a>! - Added Horizen Testnet.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/wevm/viem/commit/4fe411bd4231ec0a89159723ec68fcfe13c10071"><code>4fe411bd4231ec0a89159723ec68fcfe13c10071</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! - Added
<code>nonce</code> and <code>faucet.fundSync</code> actions to
decorator.</p>
</li>
</ul>
      </li>
    </ul>
from <a href="https://redirect.github.com/wevm/viem/releases">viem
GitHub release notes</a>
  </details>
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with
your project.
> - This PR was automatically created by Snyk using the credentials of a
real user.

---

**Note:** _You are seeing this because you or someone else with access
to this repository has authorized Snyk to open upgrade PRs._

**For more information:** <img
src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6ImZha2Uta2V5IiwiYW5vbnltb3VzSWQiOiJjMWRkNzkxZi04YWNkLTRkNTAtOGQxOS0xYTc5Nzk3YmU0ZDMiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImMxZGQ3OTFmLThhY2QtNGQ1MC04ZDE5LTFhNzk3OTdiZTRkMyJ9fQ=="
width="0" height="0"/>

> - 🧐 [View latest project
report](https://app.eu.snyk.io/org/layer-3-foundation-default/project/6ec96c13-2fa1-4d2e-a2c9-55875479edaf?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 📜 [Customise PR
templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)
> - 🛠 [Adjust upgrade PR
settings](https://app.eu.snyk.io/org/layer-3-foundation-default/project/6ec96c13-2fa1-4d2e-a2c9-55875479edaf/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr)
> - 🔕 [Ignore this dependency or unsubscribe from future upgrade
PRs](https://app.eu.snyk.io/org/layer-3-foundation-default/project/6ec96c13-2fa1-4d2e-a2c9-55875479edaf/settings/integration?pkg&#x3D;viem&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades)

[//]: #
'snyk:metadata:{"breakingChangeRiskLevel":null,"FF_showPullRequestBreakingChanges":false,"FF_showPullRequestBreakingChangesWebSearch":false,"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"viem","from":"2.45.1","to":"2.46.1"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"c1dd791f-8acd-4d50-8d19-1a79797be4d3","prPublicId":"c1dd791f-8acd-4d50-8d19-1a79797be4d3","packageManager":"npm","priorityScoreList":[],"projectPublicId":"6ec96c13-2fa1-4d2e-a2c9-55875479edaf","projectUrl":"https://app.eu.snyk.io/org/layer-3-foundation-default/project/6ec96c13-2fa1-4d2e-a2c9-55875479edaf?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":4,"publishedDate":"2026-02-16T02:28:36.614Z"},"vulns":[]}'

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants