diff --git a/CHANGELOG.md b/CHANGELOG.md index 410c6553a..653b1e3fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,34 @@ 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 03:28) +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) --------------------------------- - 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)). diff --git a/lib.commonjs/_tests/test-providers-wildcard.js b/lib.commonjs/_tests/test-providers-wildcard.js index c0172b7eb..bd4226cb6 100644 --- a/lib.commonjs/_tests/test-providers-wildcard.js +++ b/lib.commonjs/_tests/test-providers-wildcard.js @@ -7,6 +7,7 @@ const create_provider_js_1 = require("./create-provider.js"); describe("Test EIP-2544 ENS wildcards", function () { const provider = (0, create_provider_js_1.connect)("goerli"); it("Resolves recursively", async function () { + this.timeout(10000); const resolver = await provider.getResolver("ricmoose.hatch.eth"); assert_1.default.ok(resolver, "failed to get resolver"); assert_1.default.equal(resolver.address, "0x15abA1fa74Bfdecd63A71218DC632d4328Db8168", "address"); @@ -16,4 +17,12 @@ describe("Test EIP-2544 ENS wildcards", function () { assert_1.default.equal(await resolver.getAddress(), "0x4B711A377B1b3534749FBe5e59Bcf7F94d92EA98", "getAddress()"); }); }); +describe("Test ENS-DNS gasless resolver", function () { + it("Resolved almonit.org", async function () { + this.timeout(10000); + const provider = (0, create_provider_js_1.connect)("mainnet"); + const addr = await provider.resolveName("almonit.org"); + assert_1.default.equal(addr, "0x0D59d0f7DcC0fBF0A3305cE0261863aAf7Ab685c", "addr"); + }); +}); //# sourceMappingURL=test-providers-wildcard.js.map \ No newline at end of file diff --git a/lib.commonjs/_tests/test-providers-wildcard.js.map b/lib.commonjs/_tests/test-providers-wildcard.js.map index a1805af47..5cbd7ba08 100644 --- a/lib.commonjs/_tests/test-providers-wildcard.js.map +++ b/lib.commonjs/_tests/test-providers-wildcard.js.map @@ -1 +1 @@ -{"version":3,"file":"test-providers-wildcard.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-wildcard.ts"],"names":[],"mappings":";;;AAAA,4DAA4B;AAE5B,6DAA+D;AAE/D,IAAA,mCAAc,GAAE,CAAC;AAEjB,QAAQ,CAAC,6BAA6B,EAAE;IACpC,MAAM,QAAQ,GAAG,IAAA,4BAAO,EAAC,QAAQ,CAAC,CAAC;IAEnC,EAAE,CAAC,sBAAsB,EAAE,KAAK;QAC5B,MAAM,QAAQ,GAAG,MAAM,QAAQ,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;QAClE,gBAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,wBAAwB,CAAC,CAAC;QAE9C,gBAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,EAAE,4CAA4C,EAAE,SAAS,CAAC,CAAC;QACxF,gBAAM,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,oBAAoB,CAAC,CAAC;QAE5E,2BAA2B;QAC3B,gBAAM,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,SAAS,EAAE,EAAE,6DAA6D,EAAE,aAAa,CAAC,CAAC;QAEvH,gBAAM,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,UAAU,EAAE,EAAE,4CAA4C,EAAE,cAAc,CAAC,CAAC;IAC5G,CAAC,CAAC,CAAC;AACP,CAA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vD,gBAAM,CAAC,KAAK,CAAC,IAAI,EAAE,4CAA4C,EAAE,MAAM,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-wildcard.js b/lib.esm/_tests/test-providers-wildcard.js index 5dc89bc9b..c2793061d 100644 --- a/lib.esm/_tests/test-providers-wildcard.js +++ b/lib.esm/_tests/test-providers-wildcard.js @@ -4,6 +4,7 @@ setupProviders(); describe("Test EIP-2544 ENS wildcards", function () { const provider = connect("goerli"); it("Resolves recursively", async function () { + this.timeout(10000); const resolver = await provider.getResolver("ricmoose.hatch.eth"); assert.ok(resolver, "failed to get resolver"); assert.equal(resolver.address, "0x15abA1fa74Bfdecd63A71218DC632d4328Db8168", "address"); @@ -13,4 +14,12 @@ describe("Test EIP-2544 ENS wildcards", function () { assert.equal(await resolver.getAddress(), "0x4B711A377B1b3534749FBe5e59Bcf7F94d92EA98", "getAddress()"); }); }); +describe("Test ENS-DNS gasless resolver", function () { + it("Resolved almonit.org", async function () { + this.timeout(10000); + const provider = connect("mainnet"); + const addr = await provider.resolveName("almonit.org"); + assert.equal(addr, "0x0D59d0f7DcC0fBF0A3305cE0261863aAf7Ab685c", "addr"); + }); +}); //# sourceMappingURL=test-providers-wildcard.js.map \ No newline at end of file diff --git a/lib.esm/_tests/test-providers-wildcard.js.map b/lib.esm/_tests/test-providers-wildcard.js.map index e99745109..5766f20ab 100644 --- a/lib.esm/_tests/test-providers-wildcard.js.map +++ b/lib.esm/_tests/test-providers-wildcard.js.map @@ -1 +1 @@ -{"version":3,"file":"test-providers-wildcard.js","sourceRoot":"","sources":["../../src.ts/_tests/test-providers-wildcard.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE/D,cAAc,EAAE,CAAC;AAEjB,QAAQ,CAAC,6BAA6B,E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