Skip to content

Commit

Permalink
admin: updated dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Feb 9, 2024
1 parent f02211d commit 3a1d175
Show file tree
Hide file tree
Showing 14 changed files with 59 additions and 74 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +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-05 19:57)
ethers/v6.11.0 (2024-02-08 20:26)
---------------------------------

- Allow transaction encoding for inferred type transactions ([f02211d](https://github.com/ethers-io/ethers.js/commit/f02211d055567b51373b5faa2c3dc6efe0523618)).
- Added EIP-4788, receipts root and state root fields to Block ([#4570](https://github.com/ethers-io/ethers.js/issues/4570); [c5f126f](https://github.com/ethers-io/ethers.js/commit/c5f126faf7d826b6a99df0ee578ff3d0ef409381)).
- 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)).
Expand Down
28 changes: 12 additions & 16 deletions dist/ethers.js
Original file line number Diff line number Diff line change
Expand Up @@ -9709,10 +9709,9 @@ function _parseLegacy(data) {
return tx;
}
function _serializeLegacy(tx, sig) {
assertArgument(tx.isLegacy(), "internal check failed; !legacy", "tx", tx);
const fields = [
formatNumber(tx.nonce, "nonce"),
formatNumber(tx.gasPrice, "gasPrice"),
formatNumber(tx.gasPrice || 0, "gasPrice"),
formatNumber(tx.gasLimit, "gasLimit"),
(tx.to || "0x"),
formatNumber(tx.value, "value"),
Expand Down Expand Up @@ -9801,17 +9800,16 @@ function _parseEip1559(data) {
return tx;
}
function _serializeEip1559(tx, sig) {
assertArgument(tx.isLondon(), "internal check failed; !london", "tx", tx);
const fields = [
formatNumber(tx.chainId, "chainId"),
formatNumber(tx.nonce, "nonce"),
formatNumber(tx.maxPriorityFeePerGas, "maxPriorityFeePerGas"),
formatNumber(tx.maxFeePerGas, "maxFeePerGas"),
formatNumber(tx.maxPriorityFeePerGas || 0, "maxPriorityFeePerGas"),
formatNumber(tx.maxFeePerGas || 0, "maxFeePerGas"),
formatNumber(tx.gasLimit, "gasLimit"),
(tx.to || "0x"),
formatNumber(tx.value, "value"),
tx.data,
formatAccessList(tx.accessList)
formatAccessList(tx.accessList || [])
];
if (sig) {
fields.push(formatNumber(sig.yParity, "yParity"));
Expand Down Expand Up @@ -9843,16 +9841,15 @@ function _parseEip2930(data) {
return tx;
}
function _serializeEip2930(tx, sig) {
assertArgument(tx.isBerlin(), "internal check failed; !berlin", "tx", tx);
const fields = [
formatNumber(tx.chainId, "chainId"),
formatNumber(tx.nonce, "nonce"),
formatNumber(tx.gasPrice, "gasPrice"),
formatNumber(tx.gasPrice || 0, "gasPrice"),
formatNumber(tx.gasLimit, "gasLimit"),
(tx.to || "0x"),
formatNumber(tx.value, "value"),
tx.data,
formatAccessList(tx.accessList)
formatAccessList(tx.accessList || [])
];
if (sig) {
fields.push(formatNumber(sig.yParity, "recoveryParam"));
Expand Down Expand Up @@ -9893,19 +9890,18 @@ function _parseEip4844(data) {
return tx;
}
function _serializeEip4844(tx, sig) {
assertArgument(tx.isCancun(), "internal check failed; !cancun", "tx", tx);
const fields = [
formatNumber(tx.chainId, "chainId"),
formatNumber(tx.nonce, "nonce"),
formatNumber(tx.maxPriorityFeePerGas, "maxPriorityFeePerGas"),
formatNumber(tx.maxFeePerGas, "maxFeePerGas"),
formatNumber(tx.maxPriorityFeePerGas || 0, "maxPriorityFeePerGas"),
formatNumber(tx.maxFeePerGas || 0, "maxFeePerGas"),
formatNumber(tx.gasLimit, "gasLimit"),
tx.to,
(tx.to || ZeroAddress),
formatNumber(tx.value, "value"),
tx.data,
(formatAccessList(tx.accessList)),
formatNumber(tx.maxFeePerBlobGas, "maxFeePerBlobGas"),
formatHashes(tx.blobVersionedHashes, "blobVersionedHashes")
formatAccessList(tx.accessList || []),
formatNumber(tx.maxFeePerBlobGas || 0, "maxFeePerBlobGas"),
formatHashes(tx.blobVersionedHashes || [], "blobVersionedHashes")
];
if (sig) {
fields.push(formatNumber(sig.yParity, "yParity"));
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.

28 changes: 12 additions & 16 deletions dist/ethers.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -9715,10 +9715,9 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
return tx;
}
function _serializeLegacy(tx, sig) {
assertArgument(tx.isLegacy(), "internal check failed; !legacy", "tx", tx);
const fields = [
formatNumber(tx.nonce, "nonce"),
formatNumber(tx.gasPrice, "gasPrice"),
formatNumber(tx.gasPrice || 0, "gasPrice"),
formatNumber(tx.gasLimit, "gasLimit"),
(tx.to || "0x"),
formatNumber(tx.value, "value"),
Expand Down Expand Up @@ -9807,17 +9806,16 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
return tx;
}
function _serializeEip1559(tx, sig) {
assertArgument(tx.isLondon(), "internal check failed; !london", "tx", tx);
const fields = [
formatNumber(tx.chainId, "chainId"),
formatNumber(tx.nonce, "nonce"),
formatNumber(tx.maxPriorityFeePerGas, "maxPriorityFeePerGas"),
formatNumber(tx.maxFeePerGas, "maxFeePerGas"),
formatNumber(tx.maxPriorityFeePerGas || 0, "maxPriorityFeePerGas"),
formatNumber(tx.maxFeePerGas || 0, "maxFeePerGas"),
formatNumber(tx.gasLimit, "gasLimit"),
(tx.to || "0x"),
formatNumber(tx.value, "value"),
tx.data,
formatAccessList(tx.accessList)
formatAccessList(tx.accessList || [])
];
if (sig) {
fields.push(formatNumber(sig.yParity, "yParity"));
Expand Down Expand Up @@ -9849,16 +9847,15 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
return tx;
}
function _serializeEip2930(tx, sig) {
assertArgument(tx.isBerlin(), "internal check failed; !berlin", "tx", tx);
const fields = [
formatNumber(tx.chainId, "chainId"),
formatNumber(tx.nonce, "nonce"),
formatNumber(tx.gasPrice, "gasPrice"),
formatNumber(tx.gasPrice || 0, "gasPrice"),
formatNumber(tx.gasLimit, "gasLimit"),
(tx.to || "0x"),
formatNumber(tx.value, "value"),
tx.data,
formatAccessList(tx.accessList)
formatAccessList(tx.accessList || [])
];
if (sig) {
fields.push(formatNumber(sig.yParity, "recoveryParam"));
Expand Down Expand Up @@ -9899,19 +9896,18 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
return tx;
}
function _serializeEip4844(tx, sig) {
assertArgument(tx.isCancun(), "internal check failed; !cancun", "tx", tx);
const fields = [
formatNumber(tx.chainId, "chainId"),
formatNumber(tx.nonce, "nonce"),
formatNumber(tx.maxPriorityFeePerGas, "maxPriorityFeePerGas"),
formatNumber(tx.maxFeePerGas, "maxFeePerGas"),
formatNumber(tx.maxPriorityFeePerGas || 0, "maxPriorityFeePerGas"),
formatNumber(tx.maxFeePerGas || 0, "maxFeePerGas"),
formatNumber(tx.gasLimit, "gasLimit"),
tx.to,
(tx.to || ZeroAddress),
formatNumber(tx.value, "value"),
tx.data,
(formatAccessList(tx.accessList)),
formatNumber(tx.maxFeePerBlobGas, "maxFeePerBlobGas"),
formatHashes(tx.blobVersionedHashes, "blobVersionedHashes")
formatAccessList(tx.accessList || []),
formatNumber(tx.maxFeePerBlobGas || 0, "maxFeePerBlobGas"),
formatHashes(tx.blobVersionedHashes || [], "blobVersionedHashes")
];
if (sig) {
fields.push(formatNumber(sig.yParity, "yParity"));
Expand Down
2 changes: 1 addition & 1 deletion dist/ethers.umd.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib.commonjs/transaction/transaction.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 12 additions & 16 deletions lib.commonjs/transaction/transaction.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib.commonjs/transaction/transaction.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 3a1d175

Please sign in to comment.