Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency ethereumjs-util to v7.1.5 #588

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 24, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ethereumjs-util (source) 7.0.6 -> 7.1.5 age adoption passing confidence

Release Notes

ethereumjs/ethereumjs-monorepo (ethereumjs-util)

v7.1.5: ethereumjs-util v7.1.5

Compare Source

  • More flexible signature module methods now allow for passing in v values of 0 and 1 in the context of typed txs (e.g. EIP-1559 txs): ecrecover(), toRpcSig(), toCompactSig(), isValidSignature(), PR #​1905

v7.1.4: ethereumjs-util v7.1.4

Compare Source

Buffer <-> Uint8Array Conversion Helpers (RLP v3)

The new RLP v3 release is accepting and returning Uint8Array objects instead of Buffer for improved browser compatibility and usage.

There are two new helper functions in the bytes module from the Util library introduced in PR #​1648 to help with associated Buffer conversions (while this is our main reason for introducing these functions the functionality can of course be used for other things as well):

  • arrToBufArr(): Converts a Uint8Array or NestedUint8Array to Buffer or NestedBufferArray
  • bufArrToArr(): Converts a Buffer or NestedBufferArray to Uint8Array or NestedUint8Array

Note: the RLP version exposed by this package as a re-export is still RLP v2. This won't change along additional v7 Util releases and other current monorepo libraries (VM, Tx,...) are also still using the v2 RLP version.

Features
  • New validateNoLeadingZeroes() function in bytes module for validating Buffers to have no leading zeros (mainly within an RLP context), PR #​1568
  • New MAX_UINT64 constant which can be used to check if a BN instance exceeds the max. possible 64-bit integer value, PR #​1568
Maintenance
  • toBuffer (bytes module) now throws when a negative BN is provided as input, PR #​1606
  • Dependencies: deduplicated RLP import, PR #​1549

v7.1.3: ethereumjs-util v7.1.3

Compare Source

Removal of ethjs-util Package Re-Export

This release replaces ethjs-util dependency with an internal.ts file which re-exports all the used functions (thanks to @​talentlessguy for the PR).

This has a list of benefits:

  • Less maintenance burden (fewer dependencies to care about)
  • Better types and avoids use of deprecated APIs (e.g. new Buffer)
  • Smaller bundle/install size

See: PR #​1517

Related Changes / Bug Fixes
  • Fixed a bug in toUtf8 not working correctly with leading or trailing single 0s, see PR #​1522
  • Rewrote toUtf8 function and added extended code docs, method now throws on malformed uneven hex input values, see PR #​1525

v7.1.2: ethereumjs-util v7.1.2

Compare Source

  • Replaced the ethjs-util intToHex and intToBuffer re-exports with own implementations which throw on wrong integer input (decimal values, non-safe integers, negative numbers,...) to allow for a safer integer type input, PR #​1500

v7.1.1: ethereumjs-util v7.1.1

Compare Source

  • Fixed a bug in toType() helper function to now return null/undefined for respective input values, PR #​1477
  • Add note discouraging use of EIP-1191 format checksums when using toChecksumAddress() (breaks checksum backwards compatibility in current form), PR #​1463

v7.1.0: @​ethereumjs/vm v7.1.0

Compare Source

New EVM/VM Profiler

This releases ships with a completely new dedicated EVM/VM profiler (❤️ to Jochem for the integration) to measure how the different opcode implementations are doing, see PR #​2988, #​3011, #​3013 and #​3041.

Most of profiling is taking place in the EVM (so: the dedicated opcode profiling), see the respective README section for usage instructions and the EVM v2.1.0 CHANGELOG for latest performance gains.

The VM adds to the profiler (see new profiler option) by adding output within the tx or block scope along runTx() or runBlock() runs (committing state, block rewards,...).

The VM profiler addition now also allows for running blockchain or state tests with the profiler activated, e.g. to benchmark certain extreme-case or attack scenarios, see DEVELOPER docs for usage instructions (see PR #​3115).

EIP-7516 BLOBBASEFEE Opcode

This release supports EIP-7516 with a new BLOBBASEFEE opcode added to and scheduled for the Dencun HF, see PR #​3035 and #​3068. The opcode returns the value of the blob base-fee of the current block it is executing in.

Dencun devnet-11 Compatibility

This release contains various fixes and spec updates related to the Dencun (Deneb/Cancun) HF and is now compatible with the specs as used in devnet-11 (October 2023).

  • Update EIP-4788: do not use precompile anymore but use the pre-deployed bytecode, PR #​2955
  • Additional EIP-4788 updates (address + modulus), PR #​3068
  • Update the beacon block root contract address, PR #​3003

Bugfixes

  • Fix block builder london HF transition, PR #​3039

Other Changes

  • Allow for users to decide if to either downlevel (so: adopt them for a short-lived scenario) state caches or not on shallowCopy() by adding a new downlevelCaches parameter (default: true), PR #​3063
  • Update ethereum tests to 12.3, PR #​2971
  • Update ethereum tests to 12.4, PR #​3052
  • Reactivate selected slow tests, PR #​2991
  • Better error message for runTx() gasLimit check to avoid confusion with EIP1559 base fee, PR #​3118

v7.0.10: ethereumjs-util v7.0.10

Compare Source

  • Added Address.isPrecompileOrSystemAddress() method which returns true if address is in the address range defined by EIP-1352, PR #​1170
  • Return false (instead of throwing) for non-hex-string values in account module isValidAddress, isValidChecksumAddress, isZeroAddress methods (it now gets enough to just handle the false case on function usage), PR #​1173

v7.0.9

Compare Source

v7.0.8

Compare Source

v7.0.7

Compare Source


Configuration

📅 Schedule: Branch creation - "on sunday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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-7.x branch from 7f60b21 to 3fdd0f6 Compare June 18, 2022 19:22
@renovate renovate bot changed the title Update dependency ethereumjs-util to v7.1.4 Update dependency ethereumjs-util to v7.1.5 Jun 18, 2022
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