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
Matthias Seitz
ba00f549dd
fix: parse constructor as function ( #1479 )
...
* fix: parse constructor as function
* parse constructor separatly
2022-07-14 12:15:15 -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
Matthias Seitz
1ff4be74f9
feat: add --fork-block-number setter for anvil bindings ( #1468 )
2022-07-09 15:19:57 -07:00
Matthias Seitz
0b88e4246d
deps: bump crypto deps ( #1465 )
2022-07-06 14:11:23 -07:00
Dan Cline
bc9d4b48b6
impl fastrlp traits for AccessList ( #1456 )
...
* impl fastrlp traits for AccessListItem
* impl Hash for AccessListItem
* impl Hash for AccessList
2022-07-06 11:44:07 -07:00
Dan Cline
b232afaabc
Implement fastrlp traits for Bytes ( #1443 )
...
* implement fastrlp traits for Bytes
* cargo fmt
* bump fastrlp to 0.1.2
2022-07-04 11:47:00 -07:00
Dan Cline
c077a633c1
impl fastrlp traits for Signature ( #1444 )
2022-07-04 11:13:30 -07:00
Matthias Seitz
1992c9176a
feat(core): impl Ord for receipt ( #1434 )
2022-06-30 09:20:33 -07:00
Matthias Seitz
7e85b33167
chore: add gas_mut function ( #1427 )
2022-06-29 08:54:07 -07:00
Matthias Seitz
f5793525f2
feat: capture unknown fields ( #1423 )
...
* feat(core): add OtherFields type
* feat: capture unknown fields
* chore: update CHANGELOG
* test: update tests
* docs: fix doc tests
* fix: make docs compile on stable
2022-06-28 15:18:15 -07:00
Matthias Seitz
7c6462be02
chore(core): convenience impls for Bytes ( #1421 )
...
* chore(core): convenience impls for Bytes
* update asserts
2022-06-28 09:30:59 -07:00
Matthias Seitz
659ac061b2
refactor(abigen): replace ethabi::Reader ( #1417 )
...
* feat: add human readable function parser
* clippy fix
* revert bad clippy
* refactor(abigen): replace ethabi::Reader
* fix: add token to tuple token parsing
2022-06-26 17:26:43 -07:00
h00p30
94c7559ab5
TypedTransaction methods into builder style ( #1414 )
2022-06-25 20:44:55 -04:00
Matthias Seitz
c7e1237a6b
fix: add missing chain id match arms ( #1411 )
2022-06-23 11:02:52 -04:00
Julian Popescu
ec379da527
Use H64 for Block Nonce ( #1396 )
...
* Use H64 for Block Nonce
Signed-off-by: Julian Popescu <hi@julian.dev>
* Update changelog
Signed-off-by: Julian Popescu <hi@julian.dev>
2022-06-23 11:02:29 -04: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
69095c15cf
feat: add eth filter deserialization and matching ( #1389 )
...
* feat: add eth filter deserialization and matching
* chore: rustfmt
* extend test
* add missing conversion
2022-06-17 09:34:16 -07:00
Matthias Seitz
cce841f21c
test: add tx roundtrip test ( #1383 )
2022-06-15 11:41:29 -07:00
Georgios Konstantopoulos
ae63b57106
fix(core): chainId 31337 corresponds to Anvil/Hardhat not Dev
...
fixes: https://github.com/foundry-rs/foundry/issues/1866 , because
previously we'd read chain id 31337, parse it as Dev, and then when
convert it to the wrong number (1337) which would make the transaction's
chain id not match the signer's
2022-06-14 13:41:47 +03:00
Matthias Seitz
c96f6ba616
chore: add blocknumber convenience impls ( #1368 )
2022-06-10 16:45:46 +03:00
Matthias Seitz
295f86ef89
chore: reexport ethabi module ( #1362 )
2022-06-08 13:15:55 -07:00
Matthias Seitz
c7a8a1ea5a
test: add tx receipt roundtrip test ( #1360 )
2022-06-08 05:13:36 -07: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
DeGatchi
d6d76c6024
fix: `Transfered` -> `Transferred* ( #1357 )
2022-06-08 03:28:32 -07:00
Matthias Seitz
1dfe6d0cd2
feat: add display impl for BlockNumber ( #1346 )
2022-06-04 11:37:37 -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
Matthias Seitz
89bc6420bb
test: replace ganache with anvil ( #1286 )
...
* ci: install anvil
* test: use anvil instead of ganache
* ci: fix anvil ver
* ci: re-enable example tests
* test: remove unnecessary assertions
* test: enable anvil launch test
* docs: typo
* test: fix anvil chain id
* ci: install ganache
Ganache is needed for the Ganache tests
* chore: remove legacy feature from some examples
* ci: correctly build examples
* test: use correct account balance for anvil
* chore: remove sub_id == 1 check
this was only possible in ganache because it gives serial
sub ids, but in every other reasonable client the ids are generated
randomly, so we cannot test for its value
* test: ensure txs are different
There is a bug in Ganache's mempool which accepts duplicate transactions (here with the same nonce), whereas here we pre-set all the nonces so that they end up having a different transaction hash.
* test: ignore ganache tests
* fix: terzor api changes
* ci(examples): install Anvil, remove geth/ganache
* test(provider): Anvil instead of Geth
some tests start to fail now
* fix: revert usage of Anvil in ipc tests
Anvil does not support IPC yet
* fix: update examples script
* ci: use anvil for wasm example
* replace last ganache usage
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-06-01 08:22:39 -07:00
Matthias Seitz
6a45a93685
fix: use decimal crate for parsing units ( #1330 )
2022-05-31 09:43:44 -07:00
Dave Belvedere
6b6c511583
Add Arithmetic Shift Right operation for I256 ( #1324 )
...
Update the changelog for https://github.com/gakonst/ethers-rs/issues/1323
Format the file correctly
2022-05-29 19:03:03 -04:00
Meet Mangukiya
e3e810cef9
feat(abi): impl AbiEncode, AbiDecode for I256 ( #1311 )
2022-05-27 10:12:24 -04:00
oblique
526f40e88f
feat(core): Add `as_*_mut` methods on `TypedTransaction` ( #1310 )
2022-05-27 10:11:18 -04:00