Skip to content
This repository was archived by the owner on Oct 12, 2021. It is now read-only.

[pull] master from ethers-io:master #10

Open
wants to merge 323 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
323 commits
Select commit Hold shift + click to select a range
f0b3bc3
Updated dist files.
ricmoo Aug 18, 2021
accb852
Removed temporary code for better errors needed until Alchemy added E…
ricmoo Aug 24, 2021
017b1fe
Fix address coder to prepare non-hexdatastring addresses as hexdatast…
ricmoo Aug 24, 2021
95b87f6
docs: added BigNumber.toBigInt (#1799).
ricmoo Aug 24, 2021
32a90b6
docs: added Alchemy tutorial
ricmoo Aug 24, 2021
bdb54ac
docs: added cookbook entry to compute raw transaction (#1857).
ricmoo Aug 24, 2021
a662490
Added Deferred Error support to Description objects to extent Interfa…
ricmoo Aug 24, 2021
b6a061e
More readable errors involving Uint8Arrays.
ricmoo Aug 24, 2021
c41b89a
updated dist files.
ricmoo Aug 24, 2021
8320d53
Temporarily remove the block miner for clique-based networks from CI …
ricmoo Aug 27, 2021
5762a1f
updated dist files.
ricmoo Aug 27, 2021
f2a32d0
docs: added provider.FeeData
ricmoo Aug 27, 2021
32a6b2a
Fix parseUints with excess zeros and fix ReDoS issue (#2016, #1975, #…
ricmoo Sep 16, 2021
4166b27
Updated dist files.
ricmoo Sep 16, 2021
d1d636b
docs: fixed typo (#2125).
ricmoo Oct 4, 2021
48c9e0b
Export FallbackProviderConfig (#2121).
ricmoo Oct 4, 2021
ad87b71
docs: fixed typos in comments (#2087).
ricmoo Oct 4, 2021
45f3675
Stop allowing commas in fixed numbers; left over from legacy comma su…
ricmoo Oct 4, 2021
d67f8fb
docs: fixed capitalization of MetaMask (#2033).
ricmoo Oct 4, 2021
375627f
docs: updated signer prefix info (#2032).
ricmoo Oct 4, 2021
cc250b2
Allow any Networkish for getDefaultProvider (#2031).
ricmoo Oct 4, 2021
8fc5914
docs: fixed typo in cookbook (#2011).
ricmoo Oct 4, 2021
8395cc1
docs: fixed typo in providers README (#1979).
ricmoo Oct 4, 2021
f8adf82
Fixed randomBytes not rejecting NaN as a length (#1977).
ricmoo Oct 4, 2021
7a404fb
Fixed isBytes check for invalid length or elements (#1964).
ricmoo Oct 4, 2021
fb6d141
docs: fixed typos in comments; h/t @ly0va (#1838).
ricmoo Oct 4, 2021
d5b41ce
Removed redundant call to normalizing blockTag (1838).
ricmoo Oct 4, 2021
ab806ca
docs: fixed typo (#1770).
ricmoo Oct 4, 2021
a48552a
Added BigNumber _difficulty to Block results (#2001, #2036).
ricmoo Oct 4, 2021
0e5419e
Added some explicit null results to previously implicit null results …
ricmoo Oct 4, 2021
68095a4
Adding customData support to transactions to assist L2 chains (#1761).
ricmoo Oct 5, 2021
bee76a4
Fix compile-time error in new TypeScript version.
ricmoo Oct 5, 2021
f3c6d81
Added more information to some invalid argument errors (#1130).
ricmoo Oct 5, 2021
6582ede
Add support for Cloudflare Workers (#1886).
ricmoo Oct 5, 2021
0a8be37
Fix issue when Solidity method collises with JavaScript prototype (#1…
ricmoo Oct 16, 2021
b7e61bd
admin: use https endpoints for NPM registry
ricmoo Oct 16, 2021
cb43a99
Removed extra wordlists from the dist files (#2058, #2077).
ricmoo Oct 16, 2021
8947fd4
Use personal_sign instead of eth_sign for message signing with JsonRp…
ricmoo Oct 16, 2021
a5c6a46
Better errors when non-string address or ENS name is passed into Cont…
ricmoo Oct 16, 2021
8f3d71d
admin: fixed alias script (#1494).
ricmoo Oct 16, 2021
73a46ef
admin: updated dist files
ricmoo Oct 16, 2021
2f363da
admin: add changelog
ricmoo Oct 16, 2021
91c577b
Removed non-english tests from the browser.
ricmoo Oct 17, 2021
5b94ce2
admin: updated dist files
ricmoo Oct 17, 2021
ab319f2
Include events on ContractFactory deployment transactions (#1334).
ricmoo Oct 18, 2021
3de1b81
Fixed splitSignature logic for verifying EIP-2930 and EIP-1559 v (#20…
ricmoo Oct 18, 2021
5899c8a
admin: updated dist files
ricmoo Oct 18, 2021
ecce861
Added ENS avatar support to provider (#2185).
ricmoo Oct 19, 2021
d307974
admin: updated dist files
ricmoo Oct 19, 2021
1bd9161
Fixed abstract Provider signature issue (#2190).
ricmoo Oct 20, 2021
b145898
admin: updated dist files
ricmoo Oct 20, 2021
1e1c93e
Fixed getAvatar for unconfigured ENS names.
ricmoo Oct 31, 2021
b8391b0
Added support for data URLs for avatar metadata.
ricmoo Oct 31, 2021
caa1983
docs: Add view/pure to docs (#2336)
ricmoo Nov 30, 2021
0844de4
Added arbitrum and optimism to networks and providers (#2335).
ricmoo Nov 30, 2021
c7e9715
docs: Fixed ContractFactory.connect return type (#2224, #2257)
ricmoo Nov 30, 2021
50d712d
admin: updated dist files
ricmoo Nov 30, 2021
42784b8
Added basic redirect support.
ricmoo Dec 1, 2021
617714d
Fixed test case for getAvatar; url has moved
ricmoo Dec 1, 2021
eb432aa
admin: updated dist files
ricmoo Dec 1, 2021
0403314
docs: added note about pure/view for constant methods.
ricmoo Dec 1, 2021
d3d2953
docs: fixed and expanded explanation of fees (#2321)
ricmoo Dec 1, 2021
2f57c6a
Do not swallow ENS not supported errors (#2387).
ricmoo Dec 24, 2021
3d6a7ec
Add support for IPFS metadata imageUrl in getAvatar (#2426).
ricmoo Dec 24, 2021
4ba63ac
Fix browser random in WebWorkers (#2405).
ricmoo Dec 24, 2021
28f3833
admin: updated dist files
ricmoo Dec 24, 2021
ab13887
Added Kintsugi network (#2434).
ricmoo Jan 6, 2022
3f5bc6d
Fixed case-folding in schemes for ENS avatars (#2500).
ricmoo Jan 6, 2022
0578a88
Updated dist files.
ricmoo Jan 6, 2022
03152ea
Include trouble-shooting URLs in errors (#2489).
ricmoo Jan 24, 2022
03545aa
Support invalid but popular IPFS URI format (#2271, #2527, #2590).
ricmoo Jan 24, 2022
32c9a09
admin: update dist files
ricmoo Jan 25, 2022
813fcef
docs: added jsonRpcProvider.connection (#2611)
ricmoo Jan 31, 2022
f635af2
docs: added getAvatar (#2591).
ricmoo Jan 31, 2022
7b80ba2
docs: fixed typos (#2614).
ricmoo Feb 3, 2022
18d8d1f
docs: fixed typos (#2531).
ricmoo Feb 3, 2022
3df0e06
docs: fixed typos (#2522).
ricmoo Feb 3, 2022
4935f93
docs: add MetaMask request info (#2535).
ricmoo Feb 3, 2022
82d6dcb
docs: fix typos (#2430).
ricmoo Feb 3, 2022
9eed04a
docs: fixed typos (#2407).
ricmoo Feb 3, 2022
1be0961
docs: fixed typos (#2400).
ricmoo Feb 3, 2022
c61f3bc
docs: fixed import typo (#2397).
ricmoo Feb 3, 2022
315ecfd
docs: fixed typs (#2354).
ricmoo Feb 3, 2022
0c72e0f
docs: added effectiveGasPrice to receipts (#2311).
ricmoo Feb 3, 2022
7b0d02d
docs: fixed typos (#2289).
ricmoo Feb 3, 2022
95b2c72
docs: updated API provider supported networks (#2242).
ricmoo Feb 3, 2022
1d419b5
docs: more explicitly describe the id function (#2115).
ricmoo Feb 3, 2022
e175448
docs: added BaseProvider (#2625).
ricmoo Feb 3, 2022
7b134bd
docs: added more searchable wording.
ricmoo Feb 3, 2022
83891f9
Add EIP-2544 Wildcard support (#2477, #2582, #2583).
ricmoo Feb 18, 2022
eb91d70
Merge branch 'v5.4'
ricmoo Feb 18, 2022
f26074b
Add support for EIP-2098 compact signatures (#2246).
ricmoo Feb 18, 2022
2d98b4f
Added Cloudflare Worker support (#1886).
ricmoo Feb 19, 2022
1651389
docs: added skipFetchSetup to ConnectionInfo (#1886).
ricmoo Feb 19, 2022
9aac785
Allow raw WebSocket to be passed into WebSocketProvider (#2562, #2644).
ricmoo Feb 19, 2022
4e8f004
Remove spurious console.log from Interface (#2714).
ricmoo Feb 19, 2022
c562150
Tweaked error URLs (#2489).
ricmoo Feb 21, 2022
5f26fd5
Fixed eth_chainId response for Eip1193Bridge (#2711).
ricmoo Feb 22, 2022
6807a76
Preserve explicit chainId in JsonRpcProvider during transaction seria…
ricmoo Feb 22, 2022
c2a6a01
Fix contracts when name resolution fails without any checks (#2737).
ricmoo Feb 24, 2022
33a029e
Adjust default maxPriorityFeePerGas to 1.5 gwei.
ricmoo Mar 2, 2022
ae23bb7
Added CCIP support to provider.call (#2478).
ricmoo Mar 4, 2022
cf47ec5
docs: fixed typo (#2760).
ricmoo Mar 4, 2022
16007d4
Fixed typo in testcase string.
ricmoo Mar 4, 2022
38e825c
Updated help for errors (#2489).
ricmoo Mar 8, 2022
54e6e57
Add support for pending blocks (#2225).
ricmoo Mar 8, 2022
bae215e
Added defaultProvider option to omit specific Providers.
ricmoo Mar 8, 2022
f67a9a8
Fix missing events on certain network conditions (#1798, #1814, #1830…
ricmoo Mar 9, 2022
b8cda5d
admin: updated dist files
ricmoo Mar 9, 2022
26cdbab
admin: Updated spell check file
ricmoo Mar 9, 2022
be518c3
Enable CCIP Read for ENS resolvers (#2478).
ricmoo Mar 9, 2022
d160bac
Ignore errors when resolving ENS resolver properties.
ricmoo Mar 9, 2022
f46aa75
Fix events getting blocked from fix for missed events (#1798, #1814, …
ricmoo Mar 9, 2022
fa4a290
Tweaked test case to re-order transaction after event listeners added.
ricmoo Mar 9, 2022
dfaa8ee
admin: updated dist files
ricmoo Mar 9, 2022
5998fea
Fix issue with CCIP Read using wrong sender (#2478).
ricmoo Mar 16, 2022
dca0d14
admin: updated dist files
ricmoo Mar 16, 2022
905e98a
Update test cases for CCIP Read fix (#2478).
ricmoo Mar 16, 2022
b1c7f5c
admin: updated dist files.
ricmoo Mar 16, 2022
96de581
Added initial AnkrProvider
ricmoo Mar 19, 2022
9bff2cb
docs: updated API key info
ricmoo Mar 19, 2022
ab628c2
admin: updated dist files
ricmoo Mar 19, 2022
540a670
admin: updated spell-check dictionary
ricmoo Mar 19, 2022
7becc93
admin: update issue template
ricmoo Mar 19, 2022
7c4a908
admin: updated issue form for bugs
ricmoo Mar 19, 2022
ce85a7e
admin: updated issue form for bugs
ricmoo Mar 19, 2022
21fae9f
admin: updating issue templates
ricmoo Mar 19, 2022
774c310
admin: updated issue templates
ricmoo Mar 19, 2022
9f0967f
admin: updated issue forms
ricmoo Mar 19, 2022
ef529dc
admin: updated issue templates
ricmoo Mar 19, 2022
e70f3fe
Added IPNS support for ENS contenthash.
ricmoo Mar 25, 2022
04f7a9f
admin: updated dist files.
ricmoo Mar 25, 2022
120dcd0
admin: added enhancement tag for feature request issues.
ricmoo Mar 25, 2022
bc400c7
admin: updated spell-check dictionary
ricmoo Mar 25, 2022
9d9b14b
More robust JSON-RPC error handling for reverted executions (#2603).
ricmoo Mar 25, 2022
e192903
Fixed left-padding in arrayify (#2833).
ricmoo Mar 25, 2022
ef1b28e
admin: updated dist files
ricmoo Mar 25, 2022
47c4114
admin: added issue template for v6 beta
ricmoo Apr 12, 2022
056d7c8
Fix pocket API key not being passed in for default provider (#2890).
ricmoo Apr 12, 2022
1f6c0ab
admin: Added more environment options to bug issue to help identify n…
ricmoo Apr 12, 2022
dab6ede
Mimic Hardhard error strings in CALL_EXCEPTION for popular matchers (…
ricmoo Apr 13, 2022
9e57e71
admin: updated dist files.
ricmoo Apr 13, 2022
948f770
admin: fixed update scripts to not conflict with reticulate used in v6
ricmoo Apr 13, 2022
0855d6e
Support new OpenEthereum NONCE_EXPIRED string (#2845, #2846).
ricmoo Apr 13, 2022
7bc9c6b
admin: updated dist files
ricmoo Apr 14, 2022
7a15201
admin: silent over-zealous GitHub dependabot warning
ricmoo Apr 14, 2022
f599d6f
admin: update issue form formatting
ricmoo Apr 14, 2022
66d6aaf
admin: remove other issue form as it is heavily abused and has not ev…
ricmoo Apr 29, 2022
9bf17fa
Fixed decimal strings as value-type properties for JsonRpcSigner (#29…
ricmoo Apr 29, 2022
7b299dd
Enforce 32-byte private key length (2926).
ricmoo Apr 29, 2022
a72e404
docs: fixed typo (#2903).
ricmoo Apr 29, 2022
bebd669
Better error coalescing for OpenEthereum nodes (#2846).
ricmoo Apr 29, 2022
24c3caa
docs: fixed typos (#2834).
ricmoo Apr 29, 2022
bd152f7
docs: added info on the block._difficulty property and explain its ne…
ricmoo Apr 29, 2022
1a5af9b
docs: fixed typo in comment
ricmoo Apr 29, 2022
4467d9f
docs: fixed typo (#2780).
ricmoo Apr 29, 2022
04c0515
docs: fixed wrong Solidity function name (#2776).
ricmoo Apr 29, 2022
8770cc4
docs: fixed typo (#2680).
ricmoo Apr 29, 2022
3f631e9
docs: fixed return type for receipt.status (#2696).
ricmoo Apr 29, 2022
24bd328
docs: fixed typo in comments (#2662).
ricmoo Apr 29, 2022
8a7b5ef
docs: Fixed link typo (#2821).
ricmoo Apr 29, 2022
d9f45b3
Added testnets for AnkrProvider (#2949, #2950).
ricmoo May 1, 2022
fc1e006
admin: update dist files
ricmoo May 1, 2022
32b7373
Remove pedantic check for new keyword which broke some platforms for …
ricmoo May 12, 2022
c6eebf9
Added optimism to EtherscanProvider (#2968).
ricmoo May 12, 2022
2c3dae0
Ensure gas estimate errors are not call exceptions in disguise (#2954).
ricmoo May 12, 2022
01aea70
admin: updated dist files
ricmoo May 12, 2022
d5815cc
Pad position in JSON-RPC getStorageAt calls (#2982).
ricmoo May 14, 2022
8e31b4d
docs: fix type in comments of admin tools (#2981).
ricmoo May 14, 2022
1e6a3c2
docs: fixed typo (#2970).
ricmoo May 14, 2022
95708b9
docs: add Ankr to list of Providers (#2779).
ricmoo May 14, 2022
8b62aef
Use case-insensitive schemes for getDefaultProvider (#2320).
ricmoo May 14, 2022
a301297
Add matic and optimism support to default provider.
ricmoo May 15, 2022
ed7e6a5
Remove superfluous logging (#2995).
ricmoo May 20, 2022
d06aa26
Fix WebWorker support in rollup files (#2976).
ricmoo May 20, 2022
13dd42c
Add Skynet support (#2853, #2866).
ricmoo May 20, 2022
cf7d9da
admin: update dist files
ricmoo May 20, 2022
56fabe9
admin: updated spellcheck dictionary
ricmoo May 20, 2022
e85e32b
admin: removed React-Native testing from CI
ricmoo May 21, 2022
30b716b
Bump BN.js for hexstring bug fix (#3017).
ricmoo May 24, 2022
a27ef82
Lock versions for BigNumber fix (#3017).
ricmoo May 24, 2022
a71f518
admin: update dist files
ricmoo May 24, 2022
0078e02
Fixed topic filters for numeric types with string values (#3013).
ricmoo May 26, 2022
9668f98
docs: fixed typo (#2989).
ricmoo May 26, 2022
6873b80
admin: added CONTRIBUTORS
ricmoo Jun 16, 2022
a76c9e8
admin: updated CONTRIBUTORS.md
ricmoo Jun 17, 2022
ac0165e
admin: remove github cache from repo
ricmoo Jun 17, 2022
0a28679
Fix NonceManager for increment 0 and provided nonce (#3062, #3085).
ricmoo Jun 17, 2022
109c094
admin: update dist files
ricmoo Jun 17, 2022
3790671
Removed Ankr for Ropsten default provider; the merge seems to have br…
ricmoo Jun 17, 2022
509ff7d
test: remove Ankr from Ropsten send tests; the merge seems to have br…
ricmoo Jun 17, 2022
aaf40a1
admin: updated dist files
ricmoo Jun 17, 2022
45d3fea
docs: fixed typos (#3087).
ricmoo Jun 18, 2022
c3b5a6e
docs: fixed typo in example (#3061).
ricmoo Jun 18, 2022
3c760d0
docs: fixed type (#2997).
ricmoo Jun 18, 2022
6474499
docs: fixed typo in constant defaults (#2991).
ricmoo Jun 18, 2022
1934ad3
docs: added ConnectionInfo details (#2940).
ricmoo Jun 18, 2022
608864f
admin: updated CONTRIBUTORS
ricmoo Jun 18, 2022
d9046dd
admin: removed generated docs from repo
ricmoo Jun 30, 2022
c309df8
Allow browser fetch option overrides (#3096).
ricmoo Jun 30, 2022
ab43e7d
Forward any blockTag along in the FallbackProvider during call (#3168).
ricmoo Jul 14, 2022
4d3e586
Add optimism-kovan to EtherscanProvider (#3135).
ricmoo Jul 14, 2022
450694e
Switch to hash.js for ripemd160 on node as it was removed from the de…
ricmoo Jul 14, 2022
abdf2e3
Relaxed nameprep length requirement dropping RFC-5891 section 4.2.4 (…
ricmoo Jul 14, 2022
6f57e8b
Use updated Web3 Secret Storage format for JSON wallets (#3075).
ricmoo Jul 14, 2022
17676e9
Fix bug in EIP1193Bridge forwarding to the wrong method (#3166).
ricmoo Jul 14, 2022
c004ae5
Fixed Interface signautres missing strings as eventFragments (#3157).
ricmoo Jul 14, 2022
ea2d245
Fix old events from being emitted at the beginning of a filter (#3069…
ricmoo Jul 20, 2022
6bd13c3
Updated EtherscanProvider for new CommunityResource API throttling.
ricmoo Jul 27, 2022
7645cb0
admin: added date to contributors
ricmoo Jul 27, 2022
f1cb0d2
Added optimism-goerli to AlchemyProvider (#3246).
ricmoo Aug 9, 2022
7ce41cd
Add EIP-712 type exports (#221).
ricmoo Aug 10, 2022
e72d13e
Added arbitrum-goerli to Networks and AlchemyProvider (#3246).
ricmoo Aug 10, 2022
549168c
Added finalized and safe blockTags (#3091).
ricmoo Aug 11, 2022
14bf407
Add new ENS normalization specification for wider UTF-8 support (#42,…
ricmoo Aug 14, 2022
60da870
Expanded type for queryFitler to allow string (#2882).
ricmoo Aug 14, 2022
00114d7
Expand the definition of a WebSocketLikg (#2843).
ricmoo Aug 15, 2022
e52fbfb
Add restrictions for new UTF-8 specification ENS names (#42, #2376, #…
ricmoo Aug 16, 2022
8314236
Include current baseFee in feeData for easier custom fee calculation.
ricmoo Aug 16, 2022
d9897e0
Added ACTION_REJECTED error for UI-based Signers.
ricmoo Aug 16, 2022
fce9aaa
Relax ENS normalize for double-hyphen to only throw on punycode confl…
ricmoo Aug 16, 2022
f274104
Applied lastest changes from ens-normalize (#42, #2376, #2754).
ricmoo Aug 18, 2022
10d07ca
Update PocketProvider to newer URL format (#2980).
ricmoo Aug 18, 2022
9ccdd17
tests: updated pocket to normal API key.
ricmoo Aug 18, 2022
ec1b958
admin: updated dist files
ricmoo Aug 18, 2022
9f21b6b
tests: fix namehash matcher
ricmoo Aug 18, 2022
d3592ef
admin: update dist files
ricmoo Aug 18, 2022
7357dd2
tests: remove old Pocket tests
ricmoo Aug 18, 2022
01b5bad
admin: update dist files
ricmoo Aug 18, 2022
d083522
Added Sepolia network (#3325).
ricmoo Sep 14, 2022
4c86dc9
Add support for all data URL formats (#3341).
ricmoo Sep 14, 2022
b14cb0f
Fixed message signing errors that clobbered critical Error properties…
ricmoo Sep 14, 2022
44cbc7f
admin: updated dist files
ricmoo Sep 14, 2022
2a3a2e1
Update testnets for third-party providers (#3320, #3323, #3340, #3358…
ricmoo Oct 19, 2022
8745800
admin: update dist files
ricmoo Oct 19, 2022
74e3d98
Fixed Alchemy goerli URL. (#3320, #3323, #3340, #3358, #3423)
ricmoo Oct 19, 2022
9f990c5
Added new error strings Pocket returns.
ricmoo Oct 19, 2022
1392803
Updated tests to use goerli instead of ropsten.
ricmoo Oct 19, 2022
f5abaaf
admin: add environment to CI
ricmoo Oct 19, 2022
60248f3
admin: update dist files
ricmoo Oct 19, 2022
706d3ca
Updated tests for goerli.
ricmoo Oct 19, 2022
0bfa7f4
admin: updated dist files
ricmoo Oct 19, 2022
f3e67d2
admin: updated environment
ricmoo Oct 19, 2022
c80fcdd
admin: add env to workflow
ricmoo Oct 19, 2022
bf0b468
Update FUNDING.yml
ricmoo Jan 14, 2023
962ee4e
docs: added documentation changes
ricmoo Feb 3, 2023
3f0733c
docs: updated docs upload scripts to be compatible with v6.
ricmoo Feb 3, 2023
8dac54f
admin: added spellcheck words
ricmoo Feb 3, 2023
098d1db
admin: update admin dist files
ricmoo Feb 3, 2023
f97b92b
Merge branch 'master' of github.com:ethers-io/ethers.js
ricmoo Feb 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix address coder to prepare non-hexdatastring addresses as hexdatast…
…ring (ethers-io#1906).
ricmoo committed Aug 24, 2021
commit 017b1feba2c9dea88f078b299d211cbd58d43b49
2 changes: 1 addition & 1 deletion packages/abi/src.ts/coders/address.ts
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ export class AddressCoder extends Coder {

encode(writer: Writer, value: string): number {
try {
getAddress(value);
value = getAddress(value)
} catch (error) {
this._throwError(error.message, value);
}
11 changes: 11 additions & 0 deletions packages/tests/src.ts/test-contract-interface.ts
Original file line number Diff line number Diff line change
@@ -659,3 +659,14 @@ describe('Test EIP-838 Error Codes', function() {
}
});
});

describe("Additional test cases", function() {
// See: #1906
it("allows addresses without the 0x", function() {
const iface = new ethers.utils.Interface([
"function test(address foo) view returns (bool)"
]);
const tx = iface.encodeFunctionData("test", [ "c1912fee45d61c87cc5ea59dae31190fffff232d" ]);
console.log(tx);
});
});