Skip to content

Refresh package-lock.json for the moved hardhat-tron main - #152

Merged
luiz-lvj merged 4 commits into
release-v5.6from
refresh-hardhat-tron-lockfile
Aug 24, 2026
Merged

Refresh package-lock.json for the moved hardhat-tron main#152
luiz-lvj merged 4 commits into
release-v5.6from
refresh-hardhat-tron-lockfile

Conversation

@pepebndc

Copy link
Copy Markdown
Collaborator

@openzeppelin/hardhat-tron is a git dependency on main. Their main moved on 2026-08-21/22: it now consumes @openzeppelin/tron-runtime ^0.1.0 from npm and bumps tronweb to 6.5.0 (with ethers 6.17.0 and friends). npm ci validates the lockfile against the branch HEAD manifest, so every CI job that installs dependencies now fails on every branch, including master.

This PR only re-resolves package-lock.json. Side effect: the TRE jar-patch source pin follows the lockfile, so jars now build from hardhat-tron 603106cd (which includes the tre_mine AtomicBoolean fix).

Validated locally:

  • clean npm ci passes
  • scripts/build-tre-fork.sh builds against the new pin; tre_version reports v1.0.4-oz-tron
  • tron-solc batched compile passes
  • TRE smoke suites (P256, Create2) pass against the rebuilt jar with the new runtime

PR #150 will be stacked on this branch.

🤖 Generated with Claude Code

luiz-lvj and others added 2 commits August 21, 2026 14:59
The @openzeppelin/hardhat-tron git dependency tracks main. Their main
now consumes @openzeppelin/tron-runtime ^0.1.0 from npm and bumps
tronweb to 6.5.0, so npm ci fails against the stale lockfile on every
branch. Re-resolve the lockfile. The jar-patch source pin follows the
lockfile, so TRE jars now build from hardhat-tron 603106cd.

Validated locally: clean npm ci, jar rebuild via build-tre-fork.sh
(tre_version reports v1.0.4-oz-tron), tron-solc compile, and TRE smoke
tests (P256 and Create2 suites) against the rebuilt jar.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
ethers 6.17 adds a width parameter to toBeArray. Array.map passes the
element index as the second argument, so .map(ethers.toBeArray) now
throws a NUMERIC_FAULT overflow for width 0. Call it with the value
only, matching upstream openzeppelin-contracts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@luiz-lvj
luiz-lvj changed the base branch from master to release-v5.6 August 24, 2026 20:50
@luiz-lvj
luiz-lvj merged commit 1050010 into release-v5.6 Aug 24, 2026
14 checks passed
@pepebndc
pepebndc deleted the refresh-hardhat-tron-lockfile branch August 26, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants