Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
admin: update dist files
  • Loading branch information
ricmoo committed Feb 3, 2024
1 parent 7b4f2c1 commit cac1da1
Show file tree
Hide file tree
Showing 43 changed files with 746 additions and 79 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,6 +1,7 @@
node_modules/**
output/**

**/*.save
**/*.swp
**/*.tgz
dist/*.gz
30 changes: 2 additions & 28 deletions CHANGELOG.md
Expand Up @@ -3,36 +3,10 @@ Change Log

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

ethers/v6.11.0 (2024-02-02 04:18)
---------------------------------

- tests: added test for gasless ENS-DNS resolution ([6bf19c1](https://github.com/ethers-io/ethers.js/commit/6bf19c19370b27271c677de967e5cdef95231b8b)).
- Assert BrowserProvider receives an EIP-1193 provider to fail early when passing undefined ethereum object ([b69f43b](https://github.com/ethers-io/ethers.js/commit/b69f43bc6f35da881ca7a0c8ccc5fda92edd076d)).
- Add timeout to ContractTransactionResponse wait ([#4497](https://github.com/ethers-io/ethers.js/issues/4497); [095de51](https://github.com/ethers-io/ethers.js/commit/095de51e605a9b88576e5e34fd55a6e32befa4eb)).
- Allow override keyword in human-readable ABI and improve error messages ([#4514](https://github.com/ethers-io/ethers.js/issues/4514), [#4548](https://github.com/ethers-io/ethers.js/issues/4548); [be5ec2d](https://github.com/ethers-io/ethers.js/commit/be5ec2d327a503b2e5fc0f37c47eee9e828f8e23)).
- Expand Contract sub-class to accept BaseContract super-class constructor arguments ([#4538](https://github.com/ethers-io/ethers.js/issues/4538); [98496bc](https://github.com/ethers-io/ethers.js/commit/98496bc48ec23ce0d9c21d3c6c87e5b1b796a610)).
- Allow network for default provider to be null to select mainnet ([#4501](https://github.com/ethers-io/ethers.js/issues/4501); [b6bf7ab](https://github.com/ethers-io/ethers.js/commit/b6bf7aba62fb38839cd01858432b801cc5c28a11)).
- Allow long dnsEncode names with optional length parameter ([#4543](https://github.com/ethers-io/ethers.js/issues/4543); [a136348](https://github.com/ethers-io/ethers.js/commit/a1363483a56b0dee342595c8f44ed8fcce7ecca9)).
- Fix parseLog signature when receiving read-only array for topics ([#4029](https://github.com/ethers-io/ethers.js/issues/4029), [#4459](https://github.com/ethers-io/ethers.js/issues/4459); [20cd8a2](https://github.com/ethers-io/ethers.js/commit/20cd8a23eaf8e8a14e2b51f7f64da4cb3e32fccb)).
- Use Secure endpoints for BNB on Etherscan ([#4525](https://github.com/ethers-io/ethers.js/issues/4525); [1f6e188](https://github.com/ethers-io/ethers.js/commit/1f6e1882515195bd67f0bce9fe347ec05107324b)).
- Merge: c6e6c432 9c1e82e1 Merge branch 'wip-4844' into wip-v6.11 ([561f7a0](https://github.com/ethers-io/ethers.js/commit/561f7a0f38151ea4cb8f1183ec5f1449efb28c38)).
- Added holesky network and related end-points for supporting providers ([c6e6c43](https://github.com/ethers-io/ethers.js/commit/c6e6c432574a0b7e55c300ab3e470aafdace28b3)).
- Added EIP-4844 BLOb transactions ([#4554](https://github.com/ethers-io/ethers.js/issues/4554); [9c1e82e](https://github.com/ethers-io/ethers.js/commit/9c1e82e1230526ebcd62902890c4f24b1f7f7d79)).
- tests: add tests for EIP-712 payload aliases ([a513e40](https://github.com/ethers-io/ethers.js/commit/a513e406ad0f6125acce446ff58367356130a12c)).
- Normalize EIP-712 types before computing the payload ([#4541](https://github.com/ethers-io/ethers.js/issues/4541); [56c1361](https://github.com/ethers-io/ethers.js/commit/56c1361ee83db8b68859caf0850c95ff70e7e306)).
- tests: rename test suite to follow naming convention ([ce93cb1](https://github.com/ethers-io/ethers.js/commit/ce93cb1eedc95781ee93c8d2b0de38f04d3780ef)).
- Updated thrid-part provider URLs for QuickNode ([2b4891d](https://github.com/ethers-io/ethers.js/commit/2b4891d86e72e849079cb1dc98b18e158b0c0620)).
- tests: added testing for correct thrid-party URLs ([fed28e4](https://github.com/ethers-io/ethers.js/commit/fed28e4a8ce052b7976a70747aefd5fa13e6ac9d)).
- Fixed normalization and abstracted EIP-712 Array parsing ([#4541](https://github.com/ethers-io/ethers.js/issues/4541); [8f99601](https://github.com/ethers-io/ethers.js/commit/8f99601df1f26a8ba4d6d9dea5e033e7f688107e)).
- Updated third-party provider network URLs ([#4542](https://github.com/ethers-io/ethers.js/issues/4542); [84ca14f](https://github.com/ethers-io/ethers.js/commit/84ca14f1ffc5afbdd7f4c26a9b734ec5951eee3c)).
- Added additional sepolia testnets ([4efef76](https://github.com/ethers-io/ethers.js/commit/4efef76e8cab0acaf1b2ba231a0148f9381bb1ee)).
- Fix EIP-712 type aliases for uint and int ([#4541](https://github.com/ethers-io/ethers.js/issues/4541); [43fb9c2](https://github.com/ethers-io/ethers.js/commit/43fb9c233696aeaa80b1c2b0e5fafce90e0ad508)).
- Fixed typo in Error string ([#4539](https://github.com/ethers-io/ethers.js/issues/4539); [7882905](https://github.com/ethers-io/ethers.js/commit/78829050853093bc5291ae78fc5a904044759aa0)).
- Better debugging output on fetch errors ([bee07a0](https://github.com/ethers-io/ethers.js/commit/bee07a0750b448a9d13c2d57014bcf27f43e2ed7)).

ethers/v6.11.0 (2024-02-02 04:17)
ethers/v6.11.0 (2024-02-03 00:18)
---------------------------------

- Added EIP-4844 fields to Provider classes and formatter ([#4570](https://github.com/ethers-io/ethers.js/issues/4570); [7b4f2c1](https://github.com/ethers-io/ethers.js/commit/7b4f2c1a74db411829b5e8ef758bfa2ee21e5890)).
- Assert BrowserProvider receives an EIP-1193 provider to fail early when passing undefined ethereum object ([b69f43b](https://github.com/ethers-io/ethers.js/commit/b69f43bc6f35da881ca7a0c8ccc5fda92edd076d)).
- Add timeout to ContractTransactionResponse wait ([#4497](https://github.com/ethers-io/ethers.js/issues/4497); [095de51](https://github.com/ethers-io/ethers.js/commit/095de51e605a9b88576e5e34fd55a6e32befa4eb)).
- Allow override keyword in human-readable ABI and improve error messages ([#4514](https://github.com/ethers-io/ethers.js/issues/4514), [#4548](https://github.com/ethers-io/ethers.js/issues/4548); [be5ec2d](https://github.com/ethers-io/ethers.js/commit/be5ec2d327a503b2e5fc0f37c47eee9e828f8e23)).
Expand Down
60 changes: 57 additions & 3 deletions dist/ethers.js
Expand Up @@ -13927,6 +13927,16 @@ class Block {
* The total gas used in this block.
*/
gasUsed;
/**
* The total amount of blob gas consumed by the transactions
* within the block. See [[link-eip-4844]].
*/
blobGasUsed;
/**
* The running total of blob gas consumed in excess of the
* target, prior to the block. See [[link-eip-4844]].
*/
excessBlobGas;
/**
* The miner coinbase address, wihch receives any subsidies for
* including this block.
Expand Down Expand Up @@ -13968,6 +13978,8 @@ class Block {
difficulty: block.difficulty,
gasLimit: block.gasLimit,
gasUsed: block.gasUsed,
blobGasUsed: block.blobGasUsed,
excessBlobGas: block.excessBlobGas,
miner: block.miner,
extraData: block.extraData,
baseFeePerGas: getValue(block.baseFeePerGas)
Expand Down Expand Up @@ -14017,6 +14029,8 @@ class Block {
extraData,
gasLimit: toJson(gasLimit),
gasUsed: toJson(gasUsed),
blobGasUsed: toJson(this.blobGasUsed),
excessBlobGas: toJson(this.excessBlobGas),
hash, miner, nonce, number, parentHash, timestamp,
transactions,
};
Expand Down Expand Up @@ -14320,6 +14334,10 @@ class TransactionReceipt {
* entire gas limit. After the transaction, the difference is refunded.
*/
gasUsed;
/**
* The gas used for BLObs. See [[link-eip-4844]].
*/
blobGasUsed;
/**
* The amount of gas used by all transactions within the block for this
* and all transactions with a lower ``index``.
Expand All @@ -14336,6 +14354,10 @@ class TransactionReceipt {
* fee is protocol-enforced.
*/
gasPrice;
/**
* The price paid per BLOB in gas. See [[link-eip-4844]].
*/
blobGasPrice;
/**
* The [[link-eip-2718]] transaction type.
*/
Expand Down Expand Up @@ -14383,7 +14405,9 @@ class TransactionReceipt {
logsBloom: tx.logsBloom,
gasUsed: tx.gasUsed,
cumulativeGasUsed: tx.cumulativeGasUsed,
blobGasUsed: tx.blobGasUsed,
gasPrice,
blobGasPrice: tx.blobGasPrice,
type: tx.type,
//byzantium: tx.byzantium,
status: tx.status,
Expand All @@ -14408,6 +14432,8 @@ class TransactionReceipt {
cumulativeGasUsed: toJson(this.cumulativeGasUsed),
from,
gasPrice: toJson(this.gasPrice),
blobGasUsed: toJson(this.blobGasUsed),
blobGasPrice: toJson(this.blobGasPrice),
gasUsed: toJson(this.gasUsed),
hash, index, logs, logsBloom, root, status, to
};
Expand Down Expand Up @@ -14576,6 +14602,10 @@ class TransactionResponse {
* to charge the sender.
*/
maxFeePerGas;
/**
* The [[link-eip-4844]] max fee per BLOb gas.
*/
maxFeePerBlobGas;
/**
* The data.
*/
Expand All @@ -14598,6 +14628,10 @@ class TransactionResponse {
* support it, otherwise ``null``.
*/
accessList;
/**
* The [[link-eip-4844]] BLOb versioned hashes.
*/
blobVersionedHashes;
#startBlock;
/**
* @_ignore:
Expand All @@ -14618,26 +14652,30 @@ class TransactionResponse {
this.gasPrice = tx.gasPrice;
this.maxPriorityFeePerGas = (tx.maxPriorityFeePerGas != null) ? tx.maxPriorityFeePerGas : null;
this.maxFeePerGas = (tx.maxFeePerGas != null) ? tx.maxFeePerGas : null;
this.maxFeePerBlobGas = (tx.maxFeePerBlobGas != null) ? tx.maxFeePerBlobGas : null;
this.chainId = tx.chainId;
this.signature = tx.signature;
this.accessList = (tx.accessList != null) ? tx.accessList : null;
this.blobVersionedHashes = (tx.blobVersionedHashes != null) ? tx.blobVersionedHashes : null;
this.#startBlock = -1;
}
/**
* Returns a JSON-compatible representation of this transaction.
*/
toJSON() {
const { blockNumber, blockHash, index, hash, type, to, from, nonce, data, signature, accessList } = this;
const { blockNumber, blockHash, index, hash, type, to, from, nonce, data, signature, accessList, blobVersionedHashes } = this;
return {
_type: "TransactionReceipt",
_type: "TransactionResponse",
accessList, blockNumber, blockHash,
blobVersionedHashes,
chainId: toJson(this.chainId),
data, from,
gasLimit: toJson(this.gasLimit),
gasPrice: toJson(this.gasPrice),
hash,
maxFeePerGas: toJson(this.maxFeePerGas),
maxPriorityFeePerGas: toJson(this.maxPriorityFeePerGas),
maxFeePerBlobGas: toJson(this.maxFeePerBlobGas),
nonce, signature, to, index, type,
value: toJson(this.value),
};
Expand Down Expand Up @@ -14919,6 +14957,13 @@ class TransactionResponse {
isLondon() {
return (this.type === 2);
}
/**
* Returns true if hte transaction is a Cancun (i.e. ``type == 3``)
* transaction. See [[link-eip-4844]].
*/
isCancun() {
return (this.type === 3);
}
/**
* Returns a filter which can be used to listen for orphan events
* that evict this transaction.
Expand Down Expand Up @@ -16689,8 +16734,11 @@ function allowNull(format, nullValue) {
return format(value);
});
}
function arrayOf(format) {
function arrayOf(format, allowNull) {
return ((array) => {
if (allowNull && array == null) {
return null;
}
if (!Array.isArray(array)) {
throw new Error("not an array");
}
Expand Down Expand Up @@ -16771,6 +16819,8 @@ const _formatBlock = object({
difficulty: getBigInt,
gasLimit: getBigInt,
gasUsed: getBigInt,
blobGasUsed: allowNull(getBigInt, null),
excessBlobGas: allowNull(getBigInt, null),
miner: allowNull(getAddress),
extraData: formatData,
baseFeePerGas: allowNull(getBigInt)
Expand Down Expand Up @@ -16808,6 +16858,7 @@ const _formatTransactionReceipt = object({
index: getNumber,
root: allowNull(hexlify),
gasUsed: getBigInt,
blobGasUsed: allowNull(getBigInt, null),
logsBloom: allowNull(formatData),
blockHash: formatHash,
hash: formatHash,
Expand All @@ -16816,6 +16867,7 @@ const _formatTransactionReceipt = object({
//confirmations: allowNull(getNumber, null),
cumulativeGasUsed: getBigInt,
effectiveGasPrice: allowNull(getBigInt),
blobGasPrice: allowNull(getBigInt, null),
status: allowNull(getNumber),
type: allowNull(getNumber, 0)
}, {
Expand All @@ -16841,6 +16893,7 @@ function formatTransactionResponse(value) {
return getNumber(value);
},
accessList: allowNull(accessListify, null),
blobVersionedHashes: allowNull(arrayOf(formatHash, true), null),
blockHash: allowNull(formatHash, null),
blockNumber: allowNull(getNumber, null),
transactionIndex: allowNull(getNumber, null),
Expand All @@ -16850,6 +16903,7 @@ function formatTransactionResponse(value) {
gasPrice: allowNull(getBigInt),
maxPriorityFeePerGas: allowNull(getBigInt),
maxFeePerGas: allowNull(getBigInt),
maxFeePerBlobGas: allowNull(getBigInt, null),
gasLimit: getBigInt,
to: allowNull(getAddress, null),
value: getBigInt,
Expand Down
2 changes: 1 addition & 1 deletion dist/ethers.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ethers.min.js

Large diffs are not rendered by default.

0 comments on commit cac1da1

Please sign in to comment.