Skip to content

fix(deps): update dependency @ethereumjs/util to v10.1.2#1021

Merged
renovate[bot] merged 1 commit into
masterfrom
renovate/ethereumjs-util-10.x
May 29, 2026
Merged

fix(deps): update dependency @ethereumjs/util to v10.1.2#1021
renovate[bot] merged 1 commit into
masterfrom
renovate/ethereumjs-util-10.x

Conversation

@renovate

@renovate renovate Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@ethereumjs/util (source) 10.1.110.1.2 age confidence

Release Notes

ethereumjs/ethereumjs-monorepo (@​ethereumjs/util)

v10.1.2: @​ethereumjs/util v10.1.2

Compare Source

Release round overview

Welcome to 10.1.2 — a coordinated release across all active @ethereumjs/* libraries on the 10.1.x line. If you have been following the upcoming Amsterdam hardfork, this is our first experimental preview ready to try out: a largely complete nine-EIP Hardfork.Amsterdam bundle, currently aligned with tests-bal@v7.1.0 and BAL devnet-7.

Amsterdam is still in flux — please do not use this in production yet — and we expect further 10.1.x releases as the spec and official tests evolve. The sections below cover this package only; for the full fork picture (EIP list, examples, release ↔ spec tracking), see the @​ethereumjs/vm Amsterdam overview. On Osaka or earlier hardforks? Nothing changes unless you explicitly select Hardfork.Amsterdam.

@ethereumjs/util

@ethereumjs/util is the shared toolbox the whole monorepo builds on — bytes, accounts, addresses, and fork-specific helpers that higher layers import rather than reimplement. Within the 10.1.2 round, the headline addition is a dedicated bal module for working with EIP-7928 Block Level Access Lists outside of live execution: parsing fixtures, validating structure, computing the header hash, and writing test tooling. The VM performs accumulation during runBlock(); Util gives you the portable data model and canonical encoding.

This package also picks up two cross-environment fixes: Account.isEmpty() for partial accounts, and a new isDebugEnabled() helper used across the monorepo for safe DEBUG checks in browsers and Web Workers.

At a glance
  • New bal module: BlockLevelAccessList, JSON/RLP factories, validation helpers, and hash() for offline BAL work.
  • Fix Account.isEmpty() when called on partial accounts (e.g. state trie reads), see PR #​4268.
  • Add isDebugEnabled(namespace) — avoids ReferenceError in workers where process is undeclared, see PR #​4265.
Amsterdam (experimental)

Behaviour may change in subsequent 10.1.x patch releases.
Spec snapshot: tests-bal@v7.1.0 · Testnet: BAL devnet-7
Fork overview: Amsterdam hardfork (experimental)

Typical Util workflow: ingest a BAL JSON fixture (from a test vector or RPC payload), validate structure and gas-limit footprint, and verify the hash against an expected blockAccessListHash. Example from packages/util/examples/bal.ts:

import {
  bytesToHex,
  createBlockLevelAccessListFromJSON,
  validateBlockAccessListHashFromJSON,
  validateBlockAccessListStructure,
} from '@​ethereumjs/util'

const balJson = [
  {
    address: '0x0000000000000000000000000000000000000001',
    storageChanges: [],
    storageReads: [],
    balanceChanges: [{ blockAccessIndex: '0x01', postBalance: '0x03e8' }],
    nonceChanges: [],
    codeChanges: [],
  },
]

const bal = createBlockLevelAccessListFromJSON(balJson)
validateBlockAccessListStructure(bal)
validateBlockAccessListHashFromJSON(balJson, bal.hash())

console.log(`BAL hash: ${bytesToHex(bal.hash())}`)

Key exports include createBlockLevelAccessListFromJSON / FromRLP, validateBlockAccessListStructure, validateBlockAccessListGasLimit, hashBlockAccessListFromJSON, and equalsBlockAccessList. See the Module: bal section in the README for the full at-a-glance map.

Changes
  • EIP-7928 BAL types, BlockLevelAccessList, canonical RLP/JSON encoding, and validation utilities, see PR #​4233, #​4246, #​4303, #​4306
  • README entry section with highlights, at-a-glance table, and grouped module guide, see PR #​4308

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/ethereumjs-util-10.x branch from 3eb6704 to 5a559c3 Compare May 29, 2026 17:01
@renovate renovate Bot merged commit c9f8a3b into master May 29, 2026
1 check passed
@renovate renovate Bot deleted the renovate/ethereumjs-util-10.x branch May 29, 2026 20:57
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.

0 participants