DaniPopes
da743fc8b2
ci/test: improve CI jobs and tests ( #2189 )
...
* ci: move to scripts directory
* nits
* ci: improve main CI jobs
* fix: install script
* fix
* fix: use curl for windows installation
* fix: wasm typo
* tests: move to single binary
* chore: clippy
* chore: clippy
* chore: clippy
* fix: test command
* fix: quote tests
* update script
* fix: action exclude
* fix: dev deps
* fix: only run wasm in own job
* ci: add aarch64 targets
* test: rm useless test
* ci: update security audit
* ci: add deny CI
* chore: rm unused audit.toml
* chore: update geth.rs
* ci: remove unusable targets
* fix: install script path
* fix: wasm
* improve script
* fix: failing ci
* fix: contract tests
* ci: improve install script
* update middleware tests
* move integration etherscan tests to tests/ dir
* fix: eip2930 access_list field name
* add pendingtransaction must_use
* add random anvil comment
* ci: add miri job
* ci: simplify
* fixci
* Revert "add pendingtransaction must_use"
This reverts commit 770b21b4a3
.
* fix: macos script
* fix: use curl in script
* unused ci
* update script
* fix wasm
* rm_miri
* fix: signer test
* fix: wasm ci
* fix: ipc test
* fix: live celo tests
* fix: abi online source test
* fix: windows paths in test
* chore: update serial_test
* ci: run live tests separately
* fix: provider tests
* fix: unused var
* fix: feature
* fix merge
* fix: etherscan key tests
* ci: rm duplicate audit
* fix: split etherscan test ci
* fix: etherscan test
* fix: generate multiple unused ports
* fix: source test
* fix: udeps
* rm unused
2023-02-28 17:26:27 -07:00
DaniPopes
1861b98896
chore: move etherscan api key env var matching to Chain enum ( #2204 )
...
* fix: mainnet, optimism blocktimes
* chore: move etherscan api key env var matching to Chain enum
* docs: missing exhaustiveness comment
2023-02-27 13:14:36 -07:00
DaniPopes
203e350940
docs: fix broken links, update documentation ( #2203 )
...
* docs: fix broken links
* docs: update READMEs and module-level documentation
2023-02-27 13:03:17 -07:00
James Prestwich
ee5e3e52c0
fmt: run rustfmt ( #2176 )
2023-02-21 16:52:20 -08:00
Muhammad Syahrul Nizam
33ed94851c
chore: added canto network ( #2171 )
2023-02-20 13:51:06 -08:00
Matthias Seitz
64f2ca696f
chore: add etherscan page not found error ( #2126 )
2023-02-10 11:51:13 -08:00
Matthias Seitz
56cc3e674a
chore(etherscan): add cloudflare captcha error ( #2116 )
2023-02-05 17:32:55 -08:00
Yiannis M
50ef8a78f9
feat(etherscan): Allow `ClientBuilder` to create `Client` without API key ( #2067 )
...
Etherscan allows 1 request per 5 seconds if the API key is not defined
2023-01-22 13:08:33 -08:00
Matthias Seitz
ea8c231834
fix: ensure urls have trailing / ( #2069 )
...
* fix: ensure urls have trailing /
* chore: rustfmt
2023-01-22 13:08:17 -08:00
Chris Cordle
c684220144
feat: Add arbitrum nova api and chain id 42170 ( #2020 )
...
* Add arbitrum nova api and chain id
* chore: fmt
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-06 11:32:54 +02:00
joshieDo
92e726921a
chore: add celo chain ( #1932 )
...
* add celo chain
* add missing chain case
* clippy & fmt
2022-12-07 21:37:11 -08:00
DaniPopes
debd6fec3d
chore: clippy ( #1812 )
...
* chore: clippy
* fmt
2022-11-07 15:43:11 -08:00
Alejandro Banzas
50c7ff1d8e
adding chiado support ( #1811 )
2022-10-31 09:01:34 -07:00
Matthias Seitz
676f039230
chore(clippy): make clippy happy ( #1778 )
2022-10-11 10:49:05 -07:00
DaniPopes
62beb6cf53
feat(etherscan): parse SourceCode field ( #1747 )
...
* wip
* feat(etherscan): parse SourceCode field
* feat: add project builder method
* chore: dependencies
* docs
* refactor: impls
* refactor: create verify submodule
* refactor: use untagged enum
* test: add more assertions
* docs
* feat: add more utility methods
* feat: deserialize ABI and improve SourceCode deserialization
* fix: lookup_compiler_version
* refactor: source tree methods
* docs
* chore: add solc feature
* fix: test
* chore: use only optional dependency
* chore: re-add dev-dependency
2022-09-29 08:07:50 -07:00
Matthias Seitz
d655d22125
feat: add arbitrum-goerli ( #1734 )
2022-09-24 12:39:35 -07:00
Matthias Seitz
63f1742357
feat(etherscan): add blocked by cloudflare error ( #1703 )
2022-09-15 12:44:52 -07:00
Matthias Seitz
6b4007f619
chore(etherscan): log response data on error ( #1698 )
2022-09-14 09:43:10 -07:00
Danilo Tuler
ea8bcd11be
feat: add support for Optimism Goerli ( #1641 )
2022-08-30 09:45:43 -07:00
Jacob
b71e6ad00b
ethers-etherscan: derive debug, clone and copy ( #1634 )
...
* ethers-etherscan: derive debug, clone and copy
Derive Debug, Clone and Copy on all appropriate Structs and Enums.
* Update changelog
2022-08-24 12:50:29 -07:00
Matthias Seitz
1af17deeb5
feat(etherscan): add invalid api key error type ( #1600 )
2022-08-15 10:30:30 -07:00
Matthias Seitz
8105d8be9b
chore(etherscan): add set cache helper ( #1589 )
2022-08-11 16:43:46 -07:00
Matthias Seitz
922b23fad6
feat: add etherscan urls function ( #1582 )
2022-08-09 14:50:18 -07:00
Matthias Seitz
45f8c2e9ae
chore: add aurora etherscan endpoints ( #1572 )
2022-08-08 10:30:23 -07:00
Marcelo Fornet
c7563a5f64
Add support to Aurora network ( #1535 )
...
* Add support to Aurora network
Documentation about aurora chain:
https://doc.aurora.dev/getting-started/network-endpoints
* Update changelog
* Format code using rustfmt.toml
2022-07-30 12:42:04 -07:00
sea-edge
7566c3d71e
For fix test code, Added morden to chainid as a Mock-like value. ( #1472 )
2022-07-10 14:28:39 -07:00
sea-edge
d12c98d0cc
feat: add Sepolia endpoint ( #1467 )
...
- https://docs.etherscan.io/getting-started/endpoint-urls
2022-07-09 15:20:14 -07:00
Matthias Seitz
1ce2310874
feat: add evmos support ( #1398 )
2022-06-22 13:09:05 -04:00
Matthias Seitz
c2f5a87b63
chore: add moonbase chain id ( #1397 )
2022-06-21 13:44:42 -04:00
Matthias Seitz
0abc3ca39a
feat: add anvil hardhat chain id ( #1356 )
...
* feat: add anvil hardhat chain id
* chore: cover anvil hh
2022-06-08 03:29:00 -07:00
Roman Krasiuk
f4712fa47c
feat(etherscan): additional chain apis ( #1343 )
...
* xdai
* sokol
* poa & rsk
* oasis chains
* fix test
* test
2022-06-03 09:16:35 -07:00
Tomas Tauber
991d538bd0
feat(etherscan): added Cronos testnet ( #1276 )
2022-05-17 10:57:48 -07:00
Roman Krasiuk
dc199f3b75
feat(etherscan): lookup solc build metadata ( #1242 )
...
* lookup solc version build meta
* accept Version as an arg
* add docs
* remove redundant lifetime
* rm regex
2022-05-09 10:44:32 -07:00
Matthias Seitz
c7765e1721
feat(etherscan): add moonbeam urls ( #1232 )
2022-05-06 11:34:09 -07:00
Matthias Seitz
281913b187
feat(etherscan): add ClientBuilder type ( #1193 )
...
* style: clean up order
* feat(etherscan): add client builder
* fix: set correct field
2022-04-29 04:25:52 -07:00
Matthias Seitz
2b2ec1101a
fix: proper fantom api urls ( #1170 )
...
* fix: proper fantom api urls
* Update ethers-etherscan/Cargo.toml
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
* chore: remove dbg
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-04-23 01:42:12 -07:00
James Prestwich
9206efa46c
fixes: correct etherscan url address, remove double quotes in solc error ( #1130 )
2022-04-10 09:04:43 -07:00
Bjerg
8f9832d1a6
fix: correctly check cache expiry ( #1114 )
2022-04-05 23:42:40 -07:00
Bjerg
c436d19a9c
feat(etherscan): add caching ( #1108 )
...
* feat(etherscan): add caching
* feat: write to cache if not exists
* fix: flush `BufWriter`
* fix: fix serialization
* fix: read cache without truncating the file
* chore: remove comments
* feat: rate limit errors
* test: fix tests
* test: fix tests
* fix: don't fail if cache doesn't exist
* fix: catch all rate limits
* feat: add ttl
* feat: also cache when contracts are not verified
* chore: clippy
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-04-05 19:01:44 -07:00
abigger87
33f5b7c5fa
fix(ethers-etherscan): Broken Etherscan URL Construction ( #1100 )
...
* 👷 fix etherscan url stringification
* 🎨 fmt
2022-03-31 16:42:31 -07:00
Dan Cline
842f4d260f
feat(core): add dev as a chain ( #1093 )
...
adds a new error message to etherscan if the user tries to create an
etherscan client with a 1337/ganache/dev chain
2022-03-30 11:20:23 -07:00
Matthias Seitz
916e9a7334
chore(clippy): add some deny lints ( #1064 )
...
* feat: add deny lints
* trim ethers core
* trim ethers eip712
* deny ethers contract derive
* deny ethers contract abigen
* deny ethers contract
* deny ethers providers
* chore: add denies and fix unused deps
* doc: fix links
* fix: wasm build
* doc: fix links
* doc: fix links
* doc: fix inline doc links
* docs: fix intra doc links
2022-03-19 10:05:39 -07:00
Curtis Spencer
96dd34287e
feat(etherscan): source tree support ( #990 )
...
* Create a source tree of paths and their respective contents from the
ContractMetadata.
This is useful for file level analysis or writing the resulting files to disk.
* Test writing to disk via cargo test
* Test etherscan by uncommenting the ignore on
can_fetch_contract_source_tree_for_multi_entry_contract
and can_fetch_contract_source_tree_for_singleton_contract
2022-03-06 07:21:19 -08:00
Tomas Tauber
e7befcaaa0
feat(etherscan): account endpoints ( #939 )
...
* feat(etherscan): account endpoints
* a more restricted normal transaction response
* doc fix
* extended restricted types to other functions
2022-02-26 16:35:43 +02:00
Tomas Tauber
d5a1570fa2
feat(chain): add Cronos and Cronos testnet ( #926 )
2022-02-18 16:04:11 +02:00
Meet Mangukiya
1f0eb725a7
feat(ethers-core/Chain): make to_string and from_str inverse functions ( #903 )
2022-02-12 17:41:18 +02:00
0xTomoyo
75fbec0706
feat(chain): add arbitrum support ( #869 )
...
* feat: add arbitrum chainid & block explorer
* chore: update changelog
* feat: add arbitrum to is_legacy
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-02-05 16:36:21 +02:00
Georgios Konstantopoulos
415903b1fb
chore: fmt
2022-01-28 09:06:35 +02:00
Options Eskimo
f434e0f57f
feat(chain): add BSC and BSC testnet ( #831 )
...
* feat(chain): add BSC and BSC testnet
* docs(changelog): add note about new BSC known chains
2022-01-27 16:50:11 +02:00
Meet Mangukiya
91ff71ec62
Fantom chain ( #806 )
...
* feat(core): add fantom and fantom-testnet chains
* feat(etherscan): add fantom chains support
* chore: lint
2022-01-18 13:00:27 +02:00