Skip to content

fix: add blockCreated to MegaETH multicall3 contracts - #4333

Merged
jxom merged 1 commit into
wevm:mainfrom
kiyoakii:fix/megaeth-multicall3-block-created
Feb 10, 2026
Merged

fix: add blockCreated to MegaETH multicall3 contracts#4333
jxom merged 1 commit into
wevm:mainfrom
kiyoakii:fix/megaeth-multicall3-block-created

Conversation

@kiyoakii

Copy link
Copy Markdown
Contributor

Summary

  • Add missing blockCreated field to MegaETH Mainnet and Testnet multicall3 contract definitions

Details

Both MegaETH Mainnet (chain ID 4326) and Testnet (chain ID 6343) have Multicall3 pre-deployed at genesis (block 0). This was verified by querying eth_getCode at block 0 on both chains' RPC endpoints.

Verification

# Mainnet - contract exists at block 0
curl -s https://mainnet.megaeth.com/rpc -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_getCode","params":["0xcA11bde05977b3631167028862bE2a173976CA11","0x0"],"id":1}'
# Returns full contract bytecode

# Testnet - contract exists at block 0
curl -s https://carrot.megaeth.com/rpc -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_getCode","params":["0xcA11bde05977b3631167028862bE2a173976CA11","0x0"],"id":1}'
# Returns full contract bytecode

Follow-up to #4247.

@changeset-bot

changeset-bot Bot commented Feb 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 85d24ed

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

@vercel

vercel Bot commented Feb 10, 2026

Copy link
Copy Markdown

@kiyoakii is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new

pkg-pr-new Bot commented Feb 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 85d24ed

@jxom
jxom merged commit 71a324d into wevm:main Feb 10, 2026
24 of 37 checks passed

@meny3437-blip meny3437-blip left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm i viem @meny3437-blip

ajhodges pushed a commit to ajhodges/viem that referenced this pull request Mar 4, 2026
fix: add blockCreated to MegaETH Mainnet and Testnet multicall3 contracts
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>
@tmm tmm mentioned this pull request Mar 30, 2026
philanton pushed a commit to layer-3/nitrolite that referenced this pull request Apr 7, 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.2.</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 **5 versions** ahead of your current
version.

- The recommended version was released **a month ago**.



<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>viem</b></summary>
    <ul>
      <li>
<b>2.46.2</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.46.2">2026-02-17</a></br><h3>Patch
Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/wevm/viem/commit/1a10fb7812cc13bd72495552c4a590aa5ce8cf15"><code>1a10fb7812cc13bd72495552c4a590aa5ce8cf15</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! -
<code>viem/tempo</code>: Removed fee payer magic in favor of pure
support for <code>0x78</code>-prefixed fee payer envelopes.</li>
</ul>
      </li>
      <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> - 2026-01-29
      </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=eyJ3cml0ZUtleSI6ImZha2Uta2V5IiwiYW5vbnltb3VzSWQiOiI2MGZiNzQ3Ny04ZTRkLTQ2Y2EtYjhhMy05NGU3MzZlOWVkMTAiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjYwZmI3NDc3LThlNGQtNDZjYS1iOGEzLTk0ZTczNmU5ZWQxMCJ9fQ=="
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.2"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"60fb7477-8e4d-46ca-b8a3-94e736e9ed10","prPublicId":"60fb7477-8e4d-46ca-b8a3-94e736e9ed10","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":5,"publishedDate":"2026-02-17T20:43:35.088Z"},"vulns":[]}'

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
philanton pushed a commit to layer-3/nitrolite that referenced this pull request Apr 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.2.</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 **5 versions** ahead of your current
version.

- The recommended version was released **a month ago**.



<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>viem</b></summary>
    <ul>
      <li>
<b>2.46.2</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.46.2">2026-02-17</a></br><h3>Patch
Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/wevm/viem/commit/1a10fb7812cc13bd72495552c4a590aa5ce8cf15"><code>1a10fb7812cc13bd72495552c4a590aa5ce8cf15</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! -
<code>viem/tempo</code>: Removed fee payer magic in favor of pure
support for <code>0x78</code>-prefixed fee payer envelopes.</li>
</ul>
      </li>
      <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> - 2026-01-29
      </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=eyJ3cml0ZUtleSI6ImZha2Uta2V5IiwiYW5vbnltb3VzSWQiOiI2MGZiNzQ3Ny04ZTRkLTQ2Y2EtYjhhMy05NGU3MzZlOWVkMTAiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjYwZmI3NDc3LThlNGQtNDZjYS1iOGEzLTk0ZTczNmU5ZWQxMCJ9fQ=="
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.2"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"60fb7477-8e4d-46ca-b8a3-94e736e9ed10","prPublicId":"60fb7477-8e4d-46ca-b8a3-94e736e9ed10","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":5,"publishedDate":"2026-02-17T20:43:35.088Z"},"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>
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.2.</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 **5 versions** ahead of your current
version.

- The recommended version was released **a month ago**.



<details>
<summary><b>Release notes</b></summary>
<br/>
  <details>
    <summary>Package name: <b>viem</b></summary>
    <ul>
      <li>
<b>2.46.2</b> - <a
href="https://redirect.github.com/wevm/viem/releases/tag/viem%402.46.2">2026-02-17</a></br><h3>Patch
Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/wevm/viem/commit/1a10fb7812cc13bd72495552c4a590aa5ce8cf15"><code>1a10fb7812cc13bd72495552c4a590aa5ce8cf15</code></a>
Thanks <a href="https://redirect.github.com/jxom">@ jxom</a>! -
<code>viem/tempo</code>: Removed fee payer magic in favor of pure
support for <code>0x78</code>-prefixed fee payer envelopes.</li>
</ul>
      </li>
      <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> - 2026-01-29
      </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=eyJ3cml0ZUtleSI6ImZha2Uta2V5IiwiYW5vbnltb3VzSWQiOiI2MGZiNzQ3Ny04ZTRkLTQ2Y2EtYjhhMy05NGU3MzZlOWVkMTAiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjYwZmI3NDc3LThlNGQtNDZjYS1iOGEzLTk0ZTczNmU5ZWQxMCJ9fQ=="
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.2"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"60fb7477-8e4d-46ca-b8a3-94e736e9ed10","prPublicId":"60fb7477-8e4d-46ca-b8a3-94e736e9ed10","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":5,"publishedDate":"2026-02-17T20:43:35.088Z"},"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.

3 participants