Commit Graph

295 Commits

Author SHA1 Message Date
Wias Liaw 1e83b86233
feat(ethers-core): double anvil startup time (#1702)
* feat(ethers-core): double anvil startup time

* feat(ethers-core): add timeout utils

* chore: fmt

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-09-18 08:50:12 -07:00
Luke Tchang e034a8f979
docs: add comment about safety of u8 -> u64 cast in signature (#1704)
* docs: add comment about u8 -> u64 cast in signature

* fix: format

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-09-18 08:45:33 -07:00
Alexey Shekhirin 78e406b261
fix(core): GethTrace shouldn't have 0x prefix for return_value (#1705) 2022-09-15 17:18:08 -07:00
Matthias Seitz 5a18059b14
fix: geth structlog memory (#1690) 2022-09-12 14:32:01 -07:00
Matthias Seitz 162e0de27a
chore: inherit stderr (#1689) 2022-09-11 14:42:57 -07:00
Georgios Konstantopoulos fe72eb5f49 chore(core): remove unused import 2022-09-10 11:17:02 -07:00
Robin Molen-Grigull c9c22f4dfa
fix: geth trace types (#1682)
* fix: geth trace types

* update: changelog entry added
2022-09-09 16:20:25 -07:00
DaniPopes 26e74dd9cc
fix(core): add derives, impls for Units (#1683)
* fix(core): add derives, impls for Units

* feat: add some more unit aliases

* remove separators

* feat: add more impl

* chore: run clippy
2022-09-09 16:19:12 -07:00
Matthias Seitz 0e7f46b03d
feat(abigen): subsitute structs in event bindings (#1674)
* fix(abigen): handle event defaults

* feat(abigen): subsitute structs in event bindings

* update changelog

* chore: rustfmt

* fix broken tests

* chore(clippy): make clippy happy
2022-09-07 09:14:13 -07:00
Noah Citron a052ff8bd4
fix: legacy transaction rlp decoding (#1672)
* fix legacy tx rlp decoding

* add test for type 0 tx in 2718 envelopes

* update changelog

* refactor

* fmt
2022-09-06 09:08:05 -07:00
Noah Citron 744d5c055e
fix: incorrect encoding on TransactionReceipt (#1661)
* fix TransactionReceipt rlp encoding

* add tests

* update changelog
2022-09-04 10:59:53 -07:00
Clifton King de90662725
feat(core): improved debug format for Bytes (#1658)
* feat(core): improved debug format for Bytes

* update changelog
2022-09-04 10:58:06 -07:00
Matthias Seitz 6a86d4ff22
chore(clippy): make clippy happy (#1659) 2022-09-04 10:57:52 -07:00
Matthias Seitz 9bcbc6c1c8
chore: match standalone mumbai for chain (#1656) 2022-09-04 10:56:24 -07:00
Matthias Seitz 5aac82a3d7
fix: emit null transaction fields (#1654) 2022-09-04 10:55:29 -07:00
Danilo Tuler ea8bcd11be
feat: add support for Optimism Goerli (#1641) 2022-08-30 09:45:43 -07:00
Matthias Seitz 792d415845
fix: set chain id explicitly (#1647) 2022-08-30 09:45:36 -07:00
Matthias Seitz 0b04ffe787
feat: add uint8 type (#1639)
* feat: add uint8 type

* update changelog

* derive default

* fix: failing test
2022-08-28 12:17:48 -07:00
Marcelo Fornet 6c017990a1
nit: Explicitly handle all chains on match (#1635) 2022-08-25 09:09:45 -07:00
Alexey Shekhirin f3da435081
feat(core): more derives for geth trace structs (#1637)
* feat(core): more derives for geth trace structs

* derive Eq as well
2022-08-25 09:08:48 -07:00
Jacob ff66008cbe
Fix 'get_transactions' response. (#1632)
* Fix 'get_transactions' response.

* Add some explanation to GenesisOption.

* One-line-ifying

* Update changelog
2022-08-23 09:17:00 -07:00
Matthias Seitz b302ac05be
fix: dont skip null to field (#1631) 2022-08-23 09:15:29 -07:00
Alexey Shekhirin 7c26550064
fix(core): clarify Geth trace structs (#1626)
* fix(core): clarify Geth trace structs

* add geth references

* add fields matching to geth
2022-08-22 09:48:02 -07:00
Matthias Seitz 8abb9d86e2
fix: extend eth_syncing response type and serde (#1624) 2022-08-20 15:30:53 -07:00
Matthias Seitz 4f6ccf70b3
feat: add events function to set multiple event filter (#1607) 2022-08-19 08:20:44 -07:00
Matthias Seitz 3681099af3
fix: support formatting large units (#1608) 2022-08-19 08:19:16 -07:00
Matthias Seitz 2083841200
chore: make proof response fields pub (#1612) 2022-08-19 08:18:48 -07:00
Nicolas Gotchac 1bb8fae4c1
fix(ethers-core): Deserialize a Filter request with `topics == null` (#1604)
* fix(ethers-core): Deserialize a Filter request with `topics == null`

* Update ethers-core/src/types/filter.rs

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2022-08-17 14:14:42 -07:00
wren 9e48cbcb55
feat(TraceType+PartialEq): added PartialEq to TraceType (#1586)
* feat(TraceType+PartialEq): added PartialEq to TraceType

* Update ethers-core/src/types/trace/mod.rs

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2022-08-11 10:28:11 -07:00
wren 9d80d69503
feat(TraceType+Deserialize): added Deserialize to TraceType (#1585) 2022-08-10 13:08:35 -07:00
Matthias Seitz 922b23fad6
feat: add etherscan urls function (#1582) 2022-08-09 14:50:18 -07:00
Matthias Seitz 79e59eaffd
chore: skip none trace error (#1577) 2022-08-08 13:02:11 -07:00
Matthias Seitz 3040edf2ad
feat: add ProviderExt trait (#1559) 2022-08-03 09:21:55 -07:00
Matthias Seitz 71933f0d33
feat(abi): add missing str abi trait impls (#1554) 2022-08-03 09:19:33 -07:00
Matthias Seitz 550d2d86ef
chore: seal extension traits (#1553)
* chore: seal extension traits

* chore: fmt

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-08-02 15:28:02 -07:00
Matthias Seitz eb8cee0d2f
fix: use correct moonbeam (#1552) 2022-08-02 14:32:20 -07:00
Matthias Seitz 27a184db45
feat: add EthError trait and derive (#1549)
* feat: add EthError trait and derive

* update changelog
2022-08-02 11:03:52 -07:00
Matthias Seitz c75608eda1
ci: rm pinned nightly (#1541)
* ci: rm pinned nightly

* chore(clippy): make clippy happy
2022-07-31 19:00:31 -07:00
Matthias Seitz bad81a90d6
fix: add missing moonbase fromstr (#1531) 2022-07-30 12:42:16 -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
Matthias Seitz 81a2a5ed68
fix(etherscan): support stringified numbers in response (#1524)
* fix(etherscan): support stringified numbers in response

* feat: add helper function

* improve string parsing

* chore(clippy): make clippy happy
2022-07-28 11:06:56 -07:00
Matthias Seitz 2a14e5510d
chore(clippy): make clippy happy (#1525) 2022-07-28 11:06:15 -07:00
Matthias Seitz 61821cc665
fix: make compatible with edition2018 (#1522) 2022-07-27 14:36:21 -07:00
Matthias Seitz 3d76ce816a
feat: add support for EIP-712 typed data (#1510)
* feat: add support for typeddata

* change eip712 trait

* feat: impl eip712 trait

* chore(clippy): make clippy  happy

* better numeric parsing

* fix: fix a bunch of encoding bugs

* Update ethers-core/Cargo.toml

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-07-27 13:56:02 -07:00
Matthias Seitz 77033a9acd
fix: deserialize sealfields with default (#1520)
* test: add block deserialize test null sealfields

* fix: use default or non helper
2022-07-27 13:38:42 -07:00
Matthias Seitz 6b713958d1
feat: bump abi/token tuple limit (#1506) 2022-07-26 08:27:19 -07:00
wren cb7e586645
feat(debug_traceTransaction): initial commit (#1469)
* feat(debug_traceTransaction): initial commit

* chore(changelog): updated changelog

* feat(debug_traceTransaction): type adjusments

* feat(debug_traceTransaction): type adjusments

* Update ethers-providers/src/provider.rs

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

* Update ethers-providers/src/provider.rs

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

* chore(format): cargo +nightly fmt

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-07-24 14:46:38 -07:00
Matthias Seitz a5c326162a
fix: use correct model for txpool_content endpoint (#1501)
* fix: use correct model for txpool_content endpoint

* chore: update CHANGELOG

* update failing tests

* Update ethers-providers/tests/txpool.rs

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-07-24 03:21:09 +02:00
Matthias Seitz a958b4fd28
fix(eip712): improve argument parsing (#1485)
* fix(eip712): improve argument parsing

* use reexported serde_json

* chore: rustfmt

* fix: add missing salt
2022-07-20 00:09:11 -07:00
Matthias Seitz 1d4f3efe8a
chore: add Anvil::at and anvil example (#1486) 2022-07-20 00:08:25 -07:00