admin: updated dist files
This commit is contained in:
parent
62c798ce33
commit
d661f70f3f
@ -3,11 +3,14 @@ Change Log
|
|||||||
|
|
||||||
This change log is maintained by `src.ts/_admin/update-changelog.ts` but may also be manually updated.
|
This change log is maintained by `src.ts/_admin/update-changelog.ts` but may also be manually updated.
|
||||||
|
|
||||||
ethers/v6.2.0 (2023-03-20 13:33)
|
ethers/v6.2.0 (2023-03-20 15:53)
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
|
- Added extra details in the error info field for RPC errors ([30ffa78](https://github.com/ethers-io/ethers.js/commit/30ffa78d1441fa033677fa09237fc135a314f373)).
|
||||||
|
- Remove Ankr as a deafult for now as the provided API key is failing ([6e01e54](https://github.com/ethers-io/ethers.js/commit/6e01e5448f4a3e2d30288d4c8447db295c3a2e7a)).
|
||||||
|
- Fixed deferred filters after unsafe-eval changes ([#3749](https://github.com/ethers-io/ethers.js/issues/3749), [#3763](https://github.com/ethers-io/ethers.js/issues/3763); [2e3802a](https://github.com/ethers-io/ethers.js/commit/2e3802a83b8ad2f5a6269d79fbd1c83c9f2d1047)).
|
||||||
- tests: updated ENS normalization tests to latest standard ([0a9e4cd](https://github.com/ethers-io/ethers.js/commit/0a9e4cd67dd0187445930cdb9d75d548590af9b2)).
|
- tests: updated ENS normalization tests to latest standard ([0a9e4cd](https://github.com/ethers-io/ethers.js/commit/0a9e4cd67dd0187445930cdb9d75d548590af9b2)).
|
||||||
- Remove use of Function sub-class to address unsafe-eval issues ([#3749](https://github.com/ethers-io/ethers.js/issues/3749), [#3763](https://github.com/ethers-io/ethers.js/issues/3763); [7d3af51](https://github.com/ethers-io/ethers.js/commit/7d3af512c75b4c24027ec2daef1e9f4c1064194a), [2e3802a](https://github.com/ethers-io/ethers.js/commit/2e3802a83b8ad2f5a6269d79fbd1c83c9f2d1047)).
|
- Remove use of Function sub-class to address unsafe-eval issues ([#3749](https://github.com/ethers-io/ethers.js/issues/3749), [#3763](https://github.com/ethers-io/ethers.js/issues/3763); [7d3af51](https://github.com/ethers-io/ethers.js/commit/7d3af512c75b4c24027ec2daef1e9f4c1064194a)).
|
||||||
- tests: added contract integration tests and llocal Geth ([5318b93](https://github.com/ethers-io/ethers.js/commit/5318b939fdfe8f58cdea4bdff7923f18afbea3a2)).
|
- tests: added contract integration tests and llocal Geth ([5318b93](https://github.com/ethers-io/ethers.js/commit/5318b939fdfe8f58cdea4bdff7923f18afbea3a2)).
|
||||||
- Added verifyTypedData utility (reported on Farcaster) ([f06a445](https://github.com/ethers-io/ethers.js/commit/f06a445247f3b294f9fc805cc8fe0752accb8edc)).
|
- Added verifyTypedData utility (reported on Farcaster) ([f06a445](https://github.com/ethers-io/ethers.js/commit/f06a445247f3b294f9fc805cc8fe0752accb8edc)).
|
||||||
- Removed stray logging in IpcProvider ([#3908](https://github.com/ethers-io/ethers.js/issues/3908), [#3909](https://github.com/ethers-io/ethers.js/issues/3909); [e11d4c1](https://github.com/ethers-io/ethers.js/commit/e11d4c1c20cc5b6fd5803cf9636c4f5bc082dab7)).
|
- Removed stray logging in IpcProvider ([#3908](https://github.com/ethers-io/ethers.js/issues/3908), [#3909](https://github.com/ethers-io/ethers.js/issues/3909); [e11d4c1](https://github.com/ethers-io/ethers.js/commit/e11d4c1c20cc5b6fd5803cf9636c4f5bc082dab7)).
|
||||||
|
11
dist/ethers.js
vendored
11
dist/ethers.js
vendored
@ -17485,7 +17485,7 @@ class JsonRpcApiProvider extends AbstractProvider {
|
|||||||
const resp = result.filter((r) => (r.id === payload.id))[0];
|
const resp = result.filter((r) => (r.id === payload.id))[0];
|
||||||
// No result; the node failed us in unexpected ways
|
// No result; the node failed us in unexpected ways
|
||||||
if (resp == null) {
|
if (resp == null) {
|
||||||
return reject(new Error("@TODO: no result"));
|
return reject(makeError("no response from server", "BAD_DATA", { value: result, info: { payload } }));
|
||||||
}
|
}
|
||||||
// The response is an error
|
// The response is an error
|
||||||
if ("error" in resp) {
|
if ("error" in resp) {
|
||||||
@ -17816,6 +17816,7 @@ class JsonRpcApiProvider extends AbstractProvider {
|
|||||||
if (!msg.match(/revert/i) && msg.match(/insufficient funds/i)) {
|
if (!msg.match(/revert/i) && msg.match(/insufficient funds/i)) {
|
||||||
return makeError("insufficient funds", "INSUFFICIENT_FUNDS", {
|
return makeError("insufficient funds", "INSUFFICIENT_FUNDS", {
|
||||||
transaction: (payload.params[0]),
|
transaction: (payload.params[0]),
|
||||||
|
info: { payload, error }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -17852,15 +17853,15 @@ class JsonRpcApiProvider extends AbstractProvider {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (message.match(/nonce/i) && message.match(/too low/i)) {
|
if (message.match(/nonce/i) && message.match(/too low/i)) {
|
||||||
return makeError("nonce has already been used", "NONCE_EXPIRED", { transaction });
|
return makeError("nonce has already been used", "NONCE_EXPIRED", { transaction, info: { error } });
|
||||||
}
|
}
|
||||||
// "replacement transaction underpriced"
|
// "replacement transaction underpriced"
|
||||||
if (message.match(/replacement transaction/i) && message.match(/underpriced/i)) {
|
if (message.match(/replacement transaction/i) && message.match(/underpriced/i)) {
|
||||||
return makeError("replacement fee too low", "REPLACEMENT_UNDERPRICED", { transaction });
|
return makeError("replacement fee too low", "REPLACEMENT_UNDERPRICED", { transaction, info: { error } });
|
||||||
}
|
}
|
||||||
if (message.match(/only replay-protected/i)) {
|
if (message.match(/only replay-protected/i)) {
|
||||||
return makeError("legacy pre-eip-155 transactions not supported", "UNSUPPORTED_OPERATION", {
|
return makeError("legacy pre-eip-155 transactions not supported", "UNSUPPORTED_OPERATION", {
|
||||||
operation: method, info: { transaction }
|
operation: method, info: { transaction, info: { error } }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -19907,7 +19908,7 @@ function getDefaultProvider(network, options) {
|
|||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (options.ankr !== "-") {
|
if (options.ankr !== "-" && options.ankr != null) {
|
||||||
try {
|
try {
|
||||||
providers.push(new AnkrProvider(network, options.ankr));
|
providers.push(new AnkrProvider(network, options.ankr));
|
||||||
}
|
}
|
||||||
|
2
dist/ethers.js.map
vendored
2
dist/ethers.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/ethers.min.js
vendored
2
dist/ethers.min.js
vendored
File diff suppressed because one or more lines are too long
11
dist/ethers.umd.js
vendored
11
dist/ethers.umd.js
vendored
@ -17491,7 +17491,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
|||||||
const resp = result.filter((r) => (r.id === payload.id))[0];
|
const resp = result.filter((r) => (r.id === payload.id))[0];
|
||||||
// No result; the node failed us in unexpected ways
|
// No result; the node failed us in unexpected ways
|
||||||
if (resp == null) {
|
if (resp == null) {
|
||||||
return reject(new Error("@TODO: no result"));
|
return reject(makeError("no response from server", "BAD_DATA", { value: result, info: { payload } }));
|
||||||
}
|
}
|
||||||
// The response is an error
|
// The response is an error
|
||||||
if ("error" in resp) {
|
if ("error" in resp) {
|
||||||
@ -17822,6 +17822,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
|||||||
if (!msg.match(/revert/i) && msg.match(/insufficient funds/i)) {
|
if (!msg.match(/revert/i) && msg.match(/insufficient funds/i)) {
|
||||||
return makeError("insufficient funds", "INSUFFICIENT_FUNDS", {
|
return makeError("insufficient funds", "INSUFFICIENT_FUNDS", {
|
||||||
transaction: (payload.params[0]),
|
transaction: (payload.params[0]),
|
||||||
|
info: { payload, error }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -17858,15 +17859,15 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (message.match(/nonce/i) && message.match(/too low/i)) {
|
if (message.match(/nonce/i) && message.match(/too low/i)) {
|
||||||
return makeError("nonce has already been used", "NONCE_EXPIRED", { transaction });
|
return makeError("nonce has already been used", "NONCE_EXPIRED", { transaction, info: { error } });
|
||||||
}
|
}
|
||||||
// "replacement transaction underpriced"
|
// "replacement transaction underpriced"
|
||||||
if (message.match(/replacement transaction/i) && message.match(/underpriced/i)) {
|
if (message.match(/replacement transaction/i) && message.match(/underpriced/i)) {
|
||||||
return makeError("replacement fee too low", "REPLACEMENT_UNDERPRICED", { transaction });
|
return makeError("replacement fee too low", "REPLACEMENT_UNDERPRICED", { transaction, info: { error } });
|
||||||
}
|
}
|
||||||
if (message.match(/only replay-protected/i)) {
|
if (message.match(/only replay-protected/i)) {
|
||||||
return makeError("legacy pre-eip-155 transactions not supported", "UNSUPPORTED_OPERATION", {
|
return makeError("legacy pre-eip-155 transactions not supported", "UNSUPPORTED_OPERATION", {
|
||||||
operation: method, info: { transaction }
|
operation: method, info: { transaction, info: { error } }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -19913,7 +19914,7 @@ const __$G = (typeof globalThis !== 'undefined' ? globalThis: typeof window !==
|
|||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (options.ankr !== "-") {
|
if (options.ankr !== "-" && options.ankr != null) {
|
||||||
try {
|
try {
|
||||||
providers.push(new AnkrProvider(network, options.ankr));
|
providers.push(new AnkrProvider(network, options.ankr));
|
||||||
}
|
}
|
||||||
|
2
dist/ethers.umd.js.map
vendored
2
dist/ethers.umd.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/ethers.umd.min.js
vendored
2
dist/ethers.umd.min.js
vendored
File diff suppressed because one or more lines are too long
@ -13,13 +13,15 @@ const ProviderCreators = [
|
|||||||
return new index_js_1.AlchemyProvider(network, "YrPw6SWb20vJDRFkhWq8aKnTQ8JRNRHM");
|
return new index_js_1.AlchemyProvider(network, "YrPw6SWb20vJDRFkhWq8aKnTQ8JRNRHM");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
{
|
{
|
||||||
name: "AnkrProvider",
|
name: "AnkrProvider",
|
||||||
networks: ethNetworks.concat(["matic", "arbitrum"]),
|
networks: ethNetworks.concat([ "matic", "arbitrum" ]),
|
||||||
create: function (network) {
|
create: function(network: string) {
|
||||||
return new index_js_1.AnkrProvider(network);
|
return new AnkrProvider(network);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
{
|
{
|
||||||
name: "CloudflareProvider",
|
name: "CloudflareProvider",
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"create-provider.js","sourceRoot":"","sources":["../../src.ts/_tests/create-provider.ts"],"names":[],"mappings":";;;AAAA,0CAWqB;AAQpB,CAAC;AAEF,MAAM,WAAW,GAAG,CAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAE,CAAC;AACvD,gDAAgD;AAEhD,MAAM,gBAAgB,GAA2B;IAC7C;QACI,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,UAAS,OAAe;YAC5B,OAAO,IAAI,0BAAe,CAAC,OAAO,EAAE,kCAAkC,CAAC,CAAC;QAC5E,CAAC;KACJ;IACD;QACI,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAE,OAAO,EAAE,UAAU,CAAE,CAAC;QACrD,MAAM,EAAE,UAAS,OAAe;YAC5B,OAAO,IAAI,uBAAY,CAAC,OAAO,CAAC,CAAC;QACrC,CAAC;KACJ;IACD;;;;;;;;MAQE;IACF;QACI,IAAI,EAAE,mBAAmB;QACzB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,UAAS,OAAe;YAC5B,OAAO,IAAI,4BAAiB,CAAC,OAAO,EAAE,oCAAoC,CAAC,CAAC;QAChF,CAAC;KACJ;IACD;QACI,IAAI,EAAE,gBAAgB;QACtB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,UAAS,OAAe;YAC5B,OAAO,IAAI,yBAAc,CAAC,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;YACzC,IAAI,QAAQ,EAAE;gBACV,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;aAC/C;YACD,OAAO,QAAQ,CAAC;SACnB;KACJ;IAAC,OAAO,KAAK,EAAE;QACZ,IAAI,CAAC,IAAA,kBAAO,EAAC,KAAK,EAAE,kBAAkB,CAAC,EAAE;YAAE,MAAM,KAAK,CAAC;SAAE;KAC5D;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAhBD,kCAgBC;AAED,SAAgB,aAAa,CAAC,QAAgB,EAAE,OAAe;IAC3D,MAAM,OAAO,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACrC,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC;AAC7B,CAAC;AAHD,sCAGC;AAED,SAAgB,OAAO,CAAC,OAAe;IACnC,MAAM,QAAQ,GAAG,WAAW,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACxD,IAAI,QAAQ,IAAI,IAAI,EAAE;QAAE,MAAM,IAAI,KAAK,CAAC,wBAAyB,OAAQ,EAAE,CAAC,CAAC;KAAE;IAC/E,OAAO,QAAQ,CAAC;AACpB,CAAC;AAJD,0BAIC"}
|
@ -36,6 +36,7 @@ describe("Tests Provider Call Exception", function () {
|
|||||||
(0, index_js_1.dataSlice)((0, index_js_1.id)("testPanic(uint256)"), 0, 4),
|
(0, index_js_1.dataSlice)((0, index_js_1.id)("testPanic(uint256)"), 0, 4),
|
||||||
(0, index_js_1.zeroPadValue)((0, index_js_1.toBeArray)(code), 32)
|
(0, index_js_1.zeroPadValue)((0, index_js_1.toBeArray)(code), 32)
|
||||||
]);
|
]);
|
||||||
|
await (0, utils_js_1.stall)(1000);
|
||||||
const tx = { to: testAddr, data };
|
const tx = { to: testAddr, data };
|
||||||
try {
|
try {
|
||||||
const result = await (method === "call" ? provider.call(tx) : provider.estimateGas(tx));
|
const result = await (method === "call" ? provider.call(tx) : provider.estimateGas(tx));
|
||||||
|
File diff suppressed because one or more lines are too long
@ -35,7 +35,7 @@ function getDefaultProvider(network, options) {
|
|||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (options.ankr !== "-") {
|
if (options.ankr !== "-" && options.ankr != null) {
|
||||||
try {
|
try {
|
||||||
providers.push(new provider_ankr_js_1.AnkrProvider(network, options.ankr));
|
providers.push(new provider_ankr_js_1.AnkrProvider(network, options.ankr));
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"default-provider.js","sourceRoot":"","sources":["../../src.ts/providers/default-provider.ts"],"names":[],"mappings":";;;AACA,gDAA2C;AAE3C,yDAAkD;AAClD,+DAAwD;AACxD,qEAA8D;AAC9D,mEAA4D;AAC5D,6DAAsD;AACtD,wDAAwD;AACxD,mEAA4D;AAE5D,iEAA0D;AAC1D,+DAAwD;AACxD,mEAA4D;AAM5D,SAAS,eAAe,CAAC,KAAU;IAC/B,OAAO,CAAC,KAAK,IAAI,OAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,UAAU;QAC9C,OAAM,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,UAAU,CAAC,CAAC;AAC5C,CAAC;AAED,SAAgB,kBAAkB,CAAC,OAA4C,EAAE,OAAa;IAC1F,IAAI,OAAO,IAAI,IAAI,EAAE;QAAE,OAAO,GAAG,EAAG,CAAC;KAAE;IAEvC,IAAI,OAAM,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE;QAC3D,OAAO,IAAI,qCAAe,CAAC,OAAO,CAAC,CAAC;KACvC;IAED,IAAI,OAAM,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,eAAe,CAAC,OAAO,CAAC,EAAE;QACrF,OAAO,IAAI,yCAAiB,CAAC,OAAO,CA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,SAAS,EAAE,oBAAoB;KAClC,CAAC,CAAC;IAEH,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE;QAAE,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;KAAE;IAEpD,OAAO,IAAI,uCAAgB,CAAC,SAAS,CAAC,CAAC;AAC3C,CAAC;AA7ED,gDA6EC"}
|
@ -244,7 +244,7 @@ class JsonRpcApiProvider extends abstract_provider_js_1.AbstractProvider {
|
|||||||
const resp = result.filter((r) => (r.id === payload.id))[0];
|
const resp = result.filter((r) => (r.id === payload.id))[0];
|
||||||
// No result; the node failed us in unexpected ways
|
// No result; the node failed us in unexpected ways
|
||||||
if (resp == null) {
|
if (resp == null) {
|
||||||
return reject(new Error("@TODO: no result"));
|
return reject((0, index_js_5.makeError)("no response from server", "BAD_DATA", { value: result, info: { payload } }));
|
||||||
}
|
}
|
||||||
// The response is an error
|
// The response is an error
|
||||||
if ("error" in resp) {
|
if ("error" in resp) {
|
||||||
@ -575,6 +575,7 @@ class JsonRpcApiProvider extends abstract_provider_js_1.AbstractProvider {
|
|||||||
if (!msg.match(/revert/i) && msg.match(/insufficient funds/i)) {
|
if (!msg.match(/revert/i) && msg.match(/insufficient funds/i)) {
|
||||||
return (0, index_js_5.makeError)("insufficient funds", "INSUFFICIENT_FUNDS", {
|
return (0, index_js_5.makeError)("insufficient funds", "INSUFFICIENT_FUNDS", {
|
||||||
transaction: (payload.params[0]),
|
transaction: (payload.params[0]),
|
||||||
|
info: { payload, error }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -611,15 +612,15 @@ class JsonRpcApiProvider extends abstract_provider_js_1.AbstractProvider {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (message.match(/nonce/i) && message.match(/too low/i)) {
|
if (message.match(/nonce/i) && message.match(/too low/i)) {
|
||||||
return (0, index_js_5.makeError)("nonce has already been used", "NONCE_EXPIRED", { transaction });
|
return (0, index_js_5.makeError)("nonce has already been used", "NONCE_EXPIRED", { transaction, info: { error } });
|
||||||
}
|
}
|
||||||
// "replacement transaction underpriced"
|
// "replacement transaction underpriced"
|
||||||
if (message.match(/replacement transaction/i) && message.match(/underpriced/i)) {
|
if (message.match(/replacement transaction/i) && message.match(/underpriced/i)) {
|
||||||
return (0, index_js_5.makeError)("replacement fee too low", "REPLACEMENT_UNDERPRICED", { transaction });
|
return (0, index_js_5.makeError)("replacement fee too low", "REPLACEMENT_UNDERPRICED", { transaction, info: { error } });
|
||||||
}
|
}
|
||||||
if (message.match(/only replay-protected/i)) {
|
if (message.match(/only replay-protected/i)) {
|
||||||
return (0, index_js_5.makeError)("legacy pre-eip-155 transactions not supported", "UNSUPPORTED_OPERATION", {
|
return (0, index_js_5.makeError)("legacy pre-eip-155 transactions not supported", "UNSUPPORTED_OPERATION", {
|
||||||
operation: method, info: { transaction }
|
operation: method, info: { transaction, info: { error } }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,4 +1,5 @@
|
|||||||
import { AlchemyProvider, AnkrProvider,
|
import { AlchemyProvider,
|
||||||
|
// AnkrProvider,
|
||||||
// CloudflareProvider,
|
// CloudflareProvider,
|
||||||
EtherscanProvider, InfuraProvider, PocketProvider, QuickNodeProvider, FallbackProvider, isError, } from "../index.js";
|
EtherscanProvider, InfuraProvider, PocketProvider, QuickNodeProvider, FallbackProvider, isError, } from "../index.js";
|
||||||
;
|
;
|
||||||
@ -12,13 +13,15 @@ const ProviderCreators = [
|
|||||||
return new AlchemyProvider(network, "YrPw6SWb20vJDRFkhWq8aKnTQ8JRNRHM");
|
return new AlchemyProvider(network, "YrPw6SWb20vJDRFkhWq8aKnTQ8JRNRHM");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
{
|
{
|
||||||
name: "AnkrProvider",
|
name: "AnkrProvider",
|
||||||
networks: ethNetworks.concat(["matic", "arbitrum"]),
|
networks: ethNetworks.concat([ "matic", "arbitrum" ]),
|
||||||
create: function (network) {
|
create: function(network: string) {
|
||||||
return new AnkrProvider(network);
|
return new AnkrProvider(network);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
{
|
{
|
||||||
name: "CloudflareProvider",
|
name: "CloudflareProvider",
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"create-provider.js","sourceRoot":"","sources":["../../src.ts/_tests/create-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,eAAe,EACf,YAAY;AAChB,yBAAyB;AACrB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,iBAAiB,EAEjB,gBAAgB,EAChB,OAAO,GACV,MAAM,aAAa,CAAC;AAQpB,CAAC;AAEF,MAAM,WAAW,GAAG,CAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAE,CAAC;AACvD,gDAAgD;AAEhD,MAAM,gBAAgB,GAA2B;IAC7C;QACI,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,UAAS,OAAe;YAC5B,OAAO,IAAI,eAAe,CAAC,OAAO,EAAE,kCAAkC,CAAC,CAAC;QAC5E,CAAC;KACJ;IACD;QACI,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAE,OAAO,EAAE,UAAU,CAAE,CAAC;QACrD,MAAM,EAAE,UAAS,OAAe;YAC5B,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,CAAC;QACrC,CAAC;KACJ;IACD;;;;;;;;MAQE;IACF;QACI,IAAI,EAAE,mBAAmB;QACzB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,UAAS,OAAe;YAC5B,OAAO,IAAI,iBAAiB,CAAC,OAAO,EAAE,oCAAoC,CAAC,CAAC;QAChF,CAAC;KACJ;IACD;QACI,IAAI,EAAE,gBAAgB;QACtB,QAAQ,EAAE,WAAW;QACrB,MAAM,EAAE,UAAS,OAAe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C,QAAQ,CAAC,CAAC;IACrC,IAAI;QACA,IAAI,OAAO,EAAE;YACT,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;YACzC,IAAI,QAAQ,EAAE;gBACV,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;aAC/C;YACD,OAAO,QAAQ,CAAC;SACnB;KACJ;IAAC,OAAO,KAAK,EAAE;QACZ,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,kBAAkB,CAAC,EAAE;YAAE,MAAM,KAAK,CAAC;SAAE;KAC5D;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,QAAgB,EAAE,OAAe;IAC3D,MAAM,OAAO,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACrC,OAAO,CAAC,OAAO,IAAI,IAAI,CAAC,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,OAAe;IACnC,MAAM,QAAQ,GAAG,WAAW,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACxD,IAAI,QAAQ,IAAI,IAAI,EAAE;QAAE,MAAM,IAAI,KAAK,CAAC,wBAAyB,OAAQ,EAAE,CAAC,CAAC;KAAE;IAC/E,OAAO,QAAQ,CAAC;AACpB,CAAC"}
|
@ -31,6 +31,7 @@ describe("Tests Provider Call Exception", function () {
|
|||||||
dataSlice(id("testPanic(uint256)"), 0, 4),
|
dataSlice(id("testPanic(uint256)"), 0, 4),
|
||||||
zeroPadValue(toBeArray(code), 32)
|
zeroPadValue(toBeArray(code), 32)
|
||||||
]);
|
]);
|
||||||
|
await stall(1000);
|
||||||
const tx = { to: testAddr, data };
|
const tx = { to: testAddr, data };
|
||||||
try {
|
try {
|
||||||
const result = await (method === "call" ? provider.call(tx) : provider.estimateGas(tx));
|
const result = await (method === "call" ? provider.call(tx) : provider.estimateGas(tx));
|
||||||
|
File diff suppressed because one or more lines are too long
@ -32,7 +32,7 @@ export function getDefaultProvider(network, options) {
|
|||||||
console.log(error);
|
console.log(error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (options.ankr !== "-") {
|
if (options.ankr !== "-" && options.ankr != null) {
|
||||||
try {
|
try {
|
||||||
providers.push(new AnkrProvider(network, options.ankr));
|
providers.push(new AnkrProvider(network, options.ankr));
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"default-provider.js","sourceRoot":"","sources":["../../src.ts/providers/default-provider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,wDAAwD;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAM5D,SAAS,eAAe,CAAC,KAAU;IAC/B,OAAO,CAAC,KAAK,IAAI,OAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,UAAU;QAC9C,OAAM,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,UAAU,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,OAA4C,EAAE,OAAa;IAC1F,IAAI,OAAO,IAAI,IAAI,EAAE;QAAE,OAAO,GAAG,EAAG,CAAC;KA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C,aAAa,GAAG,SAAS,CAAC,aAAa,CAAC;gBACxC,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;aACnC;YACD,SAAS,CAAC,IAAI,CAAC,IAAI,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC;SACzE;QAAC,OAAO,KAAK,EAAE;YAAE,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;SAAE;KAC1C;IACL;;;;;;;;;;;;;;MAcE;IACE,IAAI,OAAO,CAAC,SAAS,KAAK,GAAG,EAAE;QAC3B,IAAI;YACA,IAAI,KAAK,GAAG,OAAO,CAAC,SAAS,CAAC;YAC9B,SAAS,CAAC,IAAI,CAAC,IAAI,iBAAiB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;SACzD;QAAC,OAAO,KAAK,EAAE;YAAE,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;SAAE;KAC1C;IAED,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,6BAA6B,EAAE,uBAAuB,EAAE;QAC7E,SAAS,EAAE,oBAAoB;KAClC,CAAC,CAAC;IAEH,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE;QAAE,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;KAAE;IAEpD,OAAO,IAAI,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAC3C,CAAC"}
|
@ -240,7 +240,7 @@ export class JsonRpcApiProvider extends AbstractProvider {
|
|||||||
const resp = result.filter((r) => (r.id === payload.id))[0];
|
const resp = result.filter((r) => (r.id === payload.id))[0];
|
||||||
// No result; the node failed us in unexpected ways
|
// No result; the node failed us in unexpected ways
|
||||||
if (resp == null) {
|
if (resp == null) {
|
||||||
return reject(new Error("@TODO: no result"));
|
return reject(makeError("no response from server", "BAD_DATA", { value: result, info: { payload } }));
|
||||||
}
|
}
|
||||||
// The response is an error
|
// The response is an error
|
||||||
if ("error" in resp) {
|
if ("error" in resp) {
|
||||||
@ -571,6 +571,7 @@ export class JsonRpcApiProvider extends AbstractProvider {
|
|||||||
if (!msg.match(/revert/i) && msg.match(/insufficient funds/i)) {
|
if (!msg.match(/revert/i) && msg.match(/insufficient funds/i)) {
|
||||||
return makeError("insufficient funds", "INSUFFICIENT_FUNDS", {
|
return makeError("insufficient funds", "INSUFFICIENT_FUNDS", {
|
||||||
transaction: (payload.params[0]),
|
transaction: (payload.params[0]),
|
||||||
|
info: { payload, error }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -607,15 +608,15 @@ export class JsonRpcApiProvider extends AbstractProvider {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (message.match(/nonce/i) && message.match(/too low/i)) {
|
if (message.match(/nonce/i) && message.match(/too low/i)) {
|
||||||
return makeError("nonce has already been used", "NONCE_EXPIRED", { transaction });
|
return makeError("nonce has already been used", "NONCE_EXPIRED", { transaction, info: { error } });
|
||||||
}
|
}
|
||||||
// "replacement transaction underpriced"
|
// "replacement transaction underpriced"
|
||||||
if (message.match(/replacement transaction/i) && message.match(/underpriced/i)) {
|
if (message.match(/replacement transaction/i) && message.match(/underpriced/i)) {
|
||||||
return makeError("replacement fee too low", "REPLACEMENT_UNDERPRICED", { transaction });
|
return makeError("replacement fee too low", "REPLACEMENT_UNDERPRICED", { transaction, info: { error } });
|
||||||
}
|
}
|
||||||
if (message.match(/only replay-protected/i)) {
|
if (message.match(/only replay-protected/i)) {
|
||||||
return makeError("legacy pre-eip-155 transactions not supported", "UNSUPPORTED_OPERATION", {
|
return makeError("legacy pre-eip-155 transactions not supported", "UNSUPPORTED_OPERATION", {
|
||||||
operation: method, info: { transaction }
|
operation: method, info: { transaction, info: { error } }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
@ -104,7 +104,7 @@
|
|||||||
"url": "https://www.buymeacoffee.com/ricmoo"
|
"url": "https://www.buymeacoffee.com/ricmoo"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"gitHead": "2e3802a83b8ad2f5a6269d79fbd1c83c9f2d1047",
|
"gitHead": "30ffa78d1441fa033677fa09237fc135a314f373",
|
||||||
"homepage": "https://ethers.org",
|
"homepage": "https://ethers.org",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"ethereum",
|
"ethereum",
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"provider-jsonrpc.d.ts","sourceRoot":"","sources":["../../src.ts/providers/provider-jsonrpc.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAWH,OAAO,EAGH,YAAY,EACf,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gBAAgB,EAAuB,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAIvC,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,OAAO,KAAK,EAAE,oBAAoB,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACvF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AA8C1C;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACzC,OAAO,EAAE,KAAK,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GA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