admin: updated dist files

This commit is contained in:
Richard Moore 2023-01-27 18:34:03 -05:00
parent 9526289f76
commit b9a2ab84d8
18 changed files with 62 additions and 13 deletions

15
dist/ethers.js vendored

@ -17265,6 +17265,14 @@ class JsonRpcApiProvider extends AbstractProvider {
getRpcError(payload, _error) {
const { method } = payload;
const { error } = _error;
if (method === "eth_estimateGas" && error.message) {
const msg = error.message;
if (!msg.match(/revert/i) && msg.match(/insufficient funds/i)) {
return makeError("insufficient funds", "INSUFFICIENT_FUNDS", {
transaction: (payload.params[0]),
});
}
}
if (method === "eth_call" || method === "eth_estimateGas") {
const result = spelunkData(error);
const e = AbiCoder.getBuiltinCallException((method === "eth_call") ? "call" : "estimateGas", (payload.params[0]), (result ? result.data : null));
@ -17970,6 +17978,13 @@ class BaseEtherscanProvider extends AbstractProvider {
catch (e) { }
}
}
if (req.method === "estimateGas") {
if (!message.match(/revert/i) && message.match(/insufficient funds/i)) {
assert$1(false, "insufficient funds", "INSUFFICIENT_FUNDS", {
transaction: req.transaction
});
}
}
if (req.method === "call" || req.method === "estimateGas") {
if (message.match(/execution reverted/i)) {
let data = "";

2
dist/ethers.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/ethers.min.js vendored

File diff suppressed because one or more lines are too long

@ -200,7 +200,9 @@ describe("Test Provider Blockchain Errors", function () {
});
console.log(tx);
}, (error) => {
return (0, index_js_1.isError)(error, "INSUFFICIENT_FUNDS");
return ((0, index_js_1.isError)(error, "INSUFFICIENT_FUNDS") &&
typeof (error.transaction.from) === "string" &&
error.transaction.from.toLowerCase() === w.address.toLowerCase());
});
});
}

File diff suppressed because one or more lines are too long

@ -215,6 +215,13 @@ class BaseEtherscanProvider extends abstract_provider_js_1.AbstractProvider {
catch (e) { }
}
}
if (req.method === "estimateGas") {
if (!message.match(/revert/i) && message.match(/insufficient funds/i)) {
(0, index_js_3.assert)(false, "insufficient funds", "INSUFFICIENT_FUNDS", {
transaction: req.transaction
});
}
}
if (req.method === "call" || req.method === "estimateGas") {
if (message.match(/execution reverted/i)) {
let data = "";

File diff suppressed because one or more lines are too long

@ -565,6 +565,14 @@ class JsonRpcApiProvider extends abstract_provider_js_1.AbstractProvider {
getRpcError(payload, _error) {
const { method } = payload;
const { error } = _error;
if (method === "eth_estimateGas" && error.message) {
const msg = error.message;
if (!msg.match(/revert/i) && msg.match(/insufficient funds/i)) {
return (0, index_js_5.makeError)("insufficient funds", "INSUFFICIENT_FUNDS", {
transaction: (payload.params[0]),
});
}
}
if (method === "eth_call" || method === "eth_estimateGas") {
const result = spelunkData(error);
const e = index_js_1.AbiCoder.getBuiltinCallException((method === "eth_call") ? "call" : "estimateGas", (payload.params[0]), (result ? result.data : null));

File diff suppressed because one or more lines are too long

@ -195,7 +195,9 @@ describe("Test Provider Blockchain Errors", function () {
});
console.log(tx);
}, (error) => {
return isError(error, "INSUFFICIENT_FUNDS");
return (isError(error, "INSUFFICIENT_FUNDS") &&
typeof (error.transaction.from) === "string" &&
error.transaction.from.toLowerCase() === w.address.toLowerCase());
});
});
}

File diff suppressed because one or more lines are too long

@ -211,6 +211,13 @@ export class BaseEtherscanProvider extends AbstractProvider {
catch (e) { }
}
}
if (req.method === "estimateGas") {
if (!message.match(/revert/i) && message.match(/insufficient funds/i)) {
assert(false, "insufficient funds", "INSUFFICIENT_FUNDS", {
transaction: req.transaction
});
}
}
if (req.method === "call" || req.method === "estimateGas") {
if (message.match(/execution reverted/i)) {
let data = "";

File diff suppressed because one or more lines are too long

@ -561,6 +561,14 @@ export class JsonRpcApiProvider extends AbstractProvider {
getRpcError(payload, _error) {
const { method } = payload;
const { error } = _error;
if (method === "eth_estimateGas" && error.message) {
const msg = error.message;
if (!msg.match(/revert/i) && msg.match(/insufficient funds/i)) {
return makeError("insufficient funds", "INSUFFICIENT_FUNDS", {
transaction: (payload.params[0]),
});
}
}
if (method === "eth_call" || method === "eth_estimateGas") {
const result = spelunkData(error);
const e = AbiCoder.getBuiltinCallException((method === "eth_call") ? "call" : "estimateGas", (payload.params[0]), (result ? result.data : null));

File diff suppressed because one or more lines are too long

@ -93,7 +93,7 @@
"types": "./types/wordlistsindex.d.ts"
}
},
"gitHead": "32f605eb7bde81a774427b297d02d5d4e6ee92cb",
"gitHead": "924cfef5de3a875f9a9635a83e34856f987906fe",
"keywords": [
"ethereum",
"ethers",

@ -1 +1 @@
{"version":3,"file":"provider-etherscan-base.d.ts","sourceRoot":"","sources":["../../src.ts/providers/provider-etherscan-base.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAIxD;;;;GAIG;AACH,oBAAY,2BAA2B,GAAG;IACtC,MAAM,EAAE,aAAa,CAAC;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B,GAAG;IACA,MAAM,EAAE,gBAAgB,CAAC;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,GAAG,CAAA;CACd,GAAG;IACA,MAAM,EAAE,cAAc,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,GAAG,CAAA;CACb,CAAC;AAIF;;;;GAIG;AACH,qBAAa,eAAgB,SAAQ,aAAa;IAC9C,QAAQ,CAAC,OAAO,EAAG,MAAM,CAAC;IAC1B,QAAQ,CAAC,eAAe,EAAG,MAAM,CAAC;gBAEtB,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM;IAMpD,KAAK,IAAI,eAAe;CAG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