Skip to content

Commit 98c49d0

Browse files
committed
admin: updated dist files
1 parent c4e840e commit 98c49d0

22 files changed

+94
-53
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ Change Log
33

44
This change log is maintained by `src.ts/_admin/update-changelog.ts` but may also be manually updated.
55

6-
ethers/v6.16.0 (2025-12-01 22:19)
6+
ethers/v6.16.0 (2025-12-02 19:47)
77
---------------------------------
88

9+
- Added utility method to split EIP-7594 BLOb proofs into its cells ([88dfe96](https://github.com/ethers-io/ethers.js/commit/88dfe96cf56ad41d0a18b1ef8cac4209aa80905e)).
910
- Update Alchemy URL endpoint for mainnet ([#5052](https://github.com/ethers-io/ethers.js/issues/5052); [719b01d](https://github.com/ethers-io/ethers.js/commit/719b01d72dad7525d3837a561fa1c803a773b44e)).
1011
- Fail on unsupported Etherscan networks immediately to better support the default provider ([94b333b](https://github.com/ethers-io/ethers.js/commit/94b333b982a5c4ecb74d10c2bdf0ff23584c37fa)).
1112
- Added Filecoin network and Ankr endpoints ([#5038](https://github.com/ethers-io/ethers.js/issues/5038); [986e827](https://github.com/ethers-io/ethers.js/commit/986e8272270fa7394a0acd0c15b3bf407dbc1fc4)).

dist/ethers.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8596,6 +8596,7 @@ const BN_35 = BigInt(35);
85968596
const BN_MAX_UINT = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
85978597
const inspect = Symbol.for("nodejs.util.inspect.custom");
85988598
const BLOB_SIZE = 4096 * 32;
8599+
const CELL_COUNT = 128;
85998600
function getKzgLibrary(kzg) {
86008601
const blobToKzgCommitment = (blob) => {
86018602
if ("computeBlobProof" in kzg) {
@@ -8949,8 +8950,6 @@ function _parseEip4844(data) {
89498950
}
89508951
else if (fields.length === 5 && Array.isArray(fields[0])) {
89518952
// EIP-7594 format with sidecar
8952-
// The number of cells per proof
8953-
const cellCount = 128;
89548953
typeName = "3 (EIP-7594 network format)";
89558954
blobWrapperVersion = getNumber(fields[1]);
89568955
const fBlobs = fields[2], fCommits = fields[3], fProofs = fields[4];
@@ -8959,12 +8958,12 @@ function _parseEip4844(data) {
89598958
assertArgument(Array.isArray(fCommits), "invalid EIP-7594 network format: commitments not an array", "fields[3]", fCommits);
89608959
assertArgument(Array.isArray(fProofs), "invalid EIP-7594 network format: proofs not an array", "fields[4]", fProofs);
89618960
assertArgument(fBlobs.length === fCommits.length, "invalid network format: blobs/commitments length mismatch", "fields", fields);
8962-
assertArgument(fBlobs.length * cellCount === fProofs.length, "invalid network format: blobs/proofs length mismatch", "fields", fields);
8961+
assertArgument(fBlobs.length * CELL_COUNT === fProofs.length, "invalid network format: blobs/proofs length mismatch", "fields", fields);
89638962
blobs = [];
89648963
for (let i = 0; i < fBlobs.length; i++) {
89658964
const proof = [];
8966-
for (let j = 0; j < cellCount; j++) {
8967-
proof.push(fProofs[(i * cellCount) + j]);
8965+
for (let j = 0; j < CELL_COUNT; j++) {
8966+
proof.push(fProofs[(i * CELL_COUNT) + j]);
89688967
}
89698968
blobs.push({
89708969
data: fBlobs[i],
@@ -9032,12 +9031,10 @@ function _serializeEip4844(tx, sig, blobs) {
90329031
// Use EIP-7594
90339032
if (tx.blobWrapperVersion != null) {
90349033
const wrapperVersion = toBeArray(tx.blobWrapperVersion);
9035-
// The number of cells per blob
9036-
const cellCount = 128;
90379034
const cellProofs = [];
90389035
for (const { proof } of blobs) {
90399036
const p = getBytes(proof);
9040-
const cellSize = p.length / cellCount;
9037+
const cellSize = p.length / CELL_COUNT;
90419038
for (let i = 0; i < p.length; i += cellSize) {
90429039
cellProofs.push(p.subarray(i, i + cellSize));
90439040
}

dist/ethers.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethers.umd.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8602,6 +8602,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
86028602
const BN_MAX_UINT = BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
86038603
const inspect = Symbol.for("nodejs.util.inspect.custom");
86048604
const BLOB_SIZE = 4096 * 32;
8605+
const CELL_COUNT = 128;
86058606
function getKzgLibrary(kzg) {
86068607
const blobToKzgCommitment = (blob) => {
86078608
if ("computeBlobProof" in kzg) {
@@ -8955,8 +8956,6 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
89558956
}
89568957
else if (fields.length === 5 && Array.isArray(fields[0])) {
89578958
// EIP-7594 format with sidecar
8958-
// The number of cells per proof
8959-
const cellCount = 128;
89608959
typeName = "3 (EIP-7594 network format)";
89618960
blobWrapperVersion = getNumber(fields[1]);
89628961
const fBlobs = fields[2], fCommits = fields[3], fProofs = fields[4];
@@ -8965,12 +8964,12 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
89658964
assertArgument(Array.isArray(fCommits), "invalid EIP-7594 network format: commitments not an array", "fields[3]", fCommits);
89668965
assertArgument(Array.isArray(fProofs), "invalid EIP-7594 network format: proofs not an array", "fields[4]", fProofs);
89678966
assertArgument(fBlobs.length === fCommits.length, "invalid network format: blobs/commitments length mismatch", "fields", fields);
8968-
assertArgument(fBlobs.length * cellCount === fProofs.length, "invalid network format: blobs/proofs length mismatch", "fields", fields);
8967+
assertArgument(fBlobs.length * CELL_COUNT === fProofs.length, "invalid network format: blobs/proofs length mismatch", "fields", fields);
89698968
blobs = [];
89708969
for (let i = 0; i < fBlobs.length; i++) {
89718970
const proof = [];
8972-
for (let j = 0; j < cellCount; j++) {
8973-
proof.push(fProofs[(i * cellCount) + j]);
8971+
for (let j = 0; j < CELL_COUNT; j++) {
8972+
proof.push(fProofs[(i * CELL_COUNT) + j]);
89748973
}
89758974
blobs.push({
89768975
data: fBlobs[i],
@@ -9038,12 +9037,10 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
90389037
// Use EIP-7594
90399038
if (tx.blobWrapperVersion != null) {
90409039
const wrapperVersion = toBeArray(tx.blobWrapperVersion);
9041-
// The number of cells per blob
9042-
const cellCount = 128;
90439040
const cellProofs = [];
90449041
for (const { proof } of blobs) {
90459042
const p = getBytes(proof);
9046-
const cellSize = p.length / cellCount;
9043+
const cellSize = p.length / CELL_COUNT;
90479044
for (let i = 0; i < p.length; i += cellSize) {
90489045
cellProofs.push(p.subarray(i, i + cellSize));
90499046
}

dist/ethers.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethers.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib.commonjs/_tests/create-provider.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib.commonjs/_tests/create-provider.js

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib.commonjs/_tests/create-provider.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)