What's Changed
- chore: use ethers 2 by default when generating bindings by @mattsse in #2317
- fix: duplicate feature declaration by @DaniPopes in #2309
- chore: ignore another rev by @DaniPopes in #2311
- perf: early return in EthCodec derive by @DaniPopes in #2314
- docs: add erc20 token transfer example by @agostbiro in #2295
- feat(core):
Transaction::decode()
sets the hash by @achillelamb in #2303 - fix(etherscan)!: change the
GasOracle
fields to bef64
by @shekohex in #2325 - fix(middleware): no need to multiply again with
GWEI_TO_WEI_U256
by @shekohex in #2326 - feat(solc): add Settings sanitize by @mattsse in #2329
- add legacy-ws feat to meta crate by @rkrasiuk in #2328
- fix: document FilecoinMainnet as EIP-1559 compatible by @agostbiro in #2336
- feat: syn 2.0, merge eip712 crate into ethers-contract-derive by @DaniPopes in #2279
- chore: update deny config by @DaniPopes in #2330
- chore: update solang-parser by @DaniPopes in #2334
- chore: dont retain errors by @mattsse in #2332
- add scroll alpha testnet by @salman01zp in #2316
- docs: update some doctest examples by @DaniPopes in #2339
- fix: poll stream until pending by @mattsse in #2340
- feature: very permissive etherscan gwei deser by @prestwich in #2327
- fix(eip712): handle fields with raw idents by @DaniPopes in #2315
- feat: add Base Goerli chain by @taycaldwell in #2338
- chore: minify test json files by @DaniPopes in #2341
- docs: fix git-cliff tag filtering by @DaniPopes in #2343
- chore: bump coins-bip39 to 0.8.6 by @0xYYY in #2342
- fix(abigen): SolStruct derives edge case by @DaniPopes in #2335
- feat(eip712): add raw_salt attribute by @DaniPopes in #2331
- test: fix tests and dev features by @DaniPopes in #2293
- chore: add viem to wasm section on readme by @jxom in #2345
- chore: Add ZKSync into the Chain type by @syahrul12345 in #2302
- fix(core): fix decimal string IntOrHex parsing by @Rjected in #2359
- fix(core): add from_x_or_hex to remaining genesis fields by @Rjected in #2360
- test: ignore windows remapping tests by @DaniPopes in #2361
- Polygon zkevm support by @Oighty in #2367
- fix: don't panic if hex str too short by @mattsse in #2363
- feat(solc): color when formatting Error and OutputDiagnostics by @DaniPopes in #2368
- fix bug 2370 by @elizabethdinella in #2371
- fix: correctly handle Trezor One support by @prusnak in #2350
- fix: ethers_providers::is_local_endpoint with rust matching pattern on URL::parse by @lucaprov1989 in #2351
- test: add deserialize test by @mattsse in #2354
- Feat/add withdrawals root by @merklefruit in #2348
- docs: update docs and examples on derive macros by @DaniPopes in #2375
- feat: add metis support by @sakulstra in #2365
- lint: couple clippies by @prestwich in #2378
- Jepsen/mdbook by @0xJepsen in #2297
- fix: add back
ethers-solc
feature forethers
by @DaniPopes in #2376 - feat: add fn parse_checksummed by @izayl in #2372
- lint: clippy return statements by @prestwich in #2379
- Add nameless decode to BaseContract by @halo3mic in #2355
- Fix
wast
field is missing by @wtdcode in #2380 - feat: add geth debug_traceBlock methods by @bsh98 in #2366
- fix: specify sum type in abigen to avoid ambiguity by @prestwich in #2383
- feat(solc): add support for Paris and Shanghai EVM versions by @DaniPopes in #2385
- test: remove eip712 tests for ethers-signers by @DaniPopes in #2387
- chore(deps): bump all dependencies by @DaniPopes in #2388
- chore: remove unused dev dependencies on ethers by @DaniPopes in #2386
- feat: add ZkSync testnet by @agostbiro in #2391
- docs: update README.md and book ethers versions by @DaniPopes in #2403
- add mock response to test json rpc errors by @mdtanrikulu in #2396
- feat(core): export geth trace pre state types by @yahengsu in #2393
- Misc ws fixes by @jordy25519 in #2389
- chore: update examples script by @DaniPopes in #2404
- fix(types): make Arbitrum, Arbitrum Goerli, Arbitrum Nova EIP1559 comp by @fulminmaxi in #2410
- Added linea testnet by @syahrul12345 in #2407
- add ccip-read middleware into readme by @mdtanrikulu in #2402
- Remove the eip712 feature flag and have it enabled by default by @dbelv in #2409
- chore: make
abigen
offline by default, fixethers-solc
features by @DaniPopes in #2416 - test: reduce (circular) dev dependencies by @DaniPopes in #2415
- feat(ws): add methods taking in a tungstenite config by @fulminmaxi in #2373
- fix(ethers-solc): Error instead of panic when checking if the checksum was found by @Evalir in #2421
- feat(solc): set default EVM version to Shanghai by @DaniPopes in #2414
- chore: update tokio-tungstenite by @DaniPopes in #2423
- fix(
ethers-etherscan
): make typo on verify constructor arguments an alias by @Evalir in #2425 - fix: fix re-subscription on websocket reconnect by @gbrew in #2419
- feat(etherscan): Add get_block_by_timestamp to ethers-etherscan by @0xrainbowtrout in #2349
- feat: move
spoof
module toethers_core
, add stateoverrides toGethDebugTracingCallOptions
by @georgewhewell in #2406 - fix: examples tokio feature by @DaniPopes in #2427
- fix(
verify
): make verification result an option to handle blockscout's format by @Evalir in #2426 - add subscribe_full_pending_txs() by @rya0x in #2424
- chore: bump trezor-client to 0.1.0 by @DaniPopes in #2428
- feat: allow for Authorization header override with raw parameter by @kristian1108 in #2432
- feat(core): Utility to detect Shanghai-enabled chains by @Evalir in #2431
- feat: add nonce helper function by @dennohpeter in #2429
- fix: remove "js" feature from getrandom by @DaniPopes in #2433
- feat: added Optimism deposited transaction support by @merklefruit in #2390
- ci: add more feature tests and checks by @DaniPopes in #2436
- ethers::utils::format_ether should show decimal places by @0xAndoroid in #2435
- feat: Optimism deposited transactions (2nd part) by @merklefruit in #2434
- chore: remove Cargo.lock by @DaniPopes in #2443
- chore: bump criterion, solang-parser by @DaniPopes in #2447
- chore: update CI and fix clippy by @DaniPopes in #2446
- feat(abigen): emit cargo build script directives by @DaniPopes in #2449
- fix: remove deprecated mining threads arg by @Rjected in #2452
- fix(
verification
): bubble up error properly if using blockscout by @Evalir in #2453 - improve
ContractInstance
impls by @yjhmelody in #2458 - chore: clippy by @DaniPopes in #2462
- feat(ethers-core): OP Bedrock Upgrade by @clabby in #2461
- ethers-core: update optimism blocktime hint by @tynes in #2463
- fix(
verification
): re-introduce etherscan typo and populate properly-spelled field as backup by @Evalir in #2468 - fix: allow arrays in abigen 'methods' by @teddav in #2465
- feat: verification and status check for proxy contracts by @nasadorian in #2466
- fix: avoid payload moving by @imotai in #2460
- fix: prevent panics decoding too short input by @WestXu in #2470
- chore: clippy by @DaniPopes in #2472
- get_transaction_by_block_and_index by @ArielTM in #2473
- ci: add timeout to all jobs by @DaniPopes in #2476
- refactor: replace unused ports with unused port by @mattsse in #2475
- Add bundler to README.md by @Vid201 in #2477
- fix(middleware): polygon gas stations by @DaniPopes in #2479
- feat(abigen): do not re-parse ABI at runtime by @DaniPopes in #2482
- chore(deps): update strum requirement from 0.24 to 0.25 by @dependabot in #2481
- chore: rustfmt by @mattsse in #2490
- doc: fix doc example by @mattsse in #2489
- fix: let geth chose ports by default by @mattsse in #2488
- Etherscan could also have a plain source mapping by @wtdcode in #2491
- fix(etherscan):
SourceCode
deserialization by @DaniPopes in #2492 - chore: clippy by @DaniPopes in #2493
- chore(deps): update solang-parser requirement from =0.3.0 to =0.3.1 by @dependabot in #2496
- chore(deps): bump semver from 5.7.1 to 5.7.2 in /examples/wasm by @dependabot in #2505
- feat(ethers-solc): add with_via_ir_minimum_optimization by @spockP in #2504
- Make AggregatedCompilerOutput DeSerialize/Serialize by @wtdcode in #2495
- chore: clippy by @DaniPopes in #2506
- fix(providers):
ens::namehash
with Unicode characters by @Sabnock01 in #2510 - feat: support remapping contexts by @onbjerg in #2509
New Contributors
- @achillelamb made their first contribution in #2303
- @shekohex made their first contribution in #2325
- @taycaldwell made their first contribution in #2338
- @jxom made their first contribution in #2345
- @Oighty made their first contribution in #2367
- @prusnak made their first contribution in #2350
- @lucaprov1989 made their first contribution in #2351
- @merklefruit made their first contribution in #2348
- @sakulstra made their first contribution in #2365
- @izayl made their first contribution in #2372
- @wtdcode made their first contribution in #2380
- @mdtanrikulu made their first contribution in #2396
- @yahengsu made their first contribution in #2393
- @jordy25519 made their first contribution in #2389
- @fulminmaxi made their first contribution in #2410
- @Evalir made their first contribution in #2421
- @gbrew made their first contribution in #2419
- @0xrainbowtrout made their first contribution in #2349
- @rya0x made their first contribution in #2424
- @dennohpeter made their first contribution in #2429
- @0xAndoroid made their first contribution in #2435
- @yjhmelody made their first contribution in #2458
- @clabby made their first contribution in #2461
- @teddav made their first contribution in #2465
- @nasadorian made their first contribution in #2466
- @imotai made their first contribution in #2460
- @WestXu made their first contribution in #2470
- @ArielTM made their first contribution in #2473
- @spockP made their first contribution in #2504
- @Sabnock01 made their first contribution in #2510
Full Changelog: ethers-v2.0.6...ethers-v2.0.8