Roger So
eb40392399
fix: get_logs_paginated fetches past latest block ( #1818 )
2022-11-07 12:43:11 -08:00
halo3mic
ba9aa7838b
Fixes : #1822 ( #1823 )
...
* Fixes : #1822
* Fixes: gakonst#1822 :: update1
* Fixes : #1822 :: Add ParseOverflow err & rm rust_decimals from ethers-core
* update changelog
2022-11-07 12:28:43 -08:00
DaniPopes
5c762c44d7
fmt: all ( #1751 )
...
* fmt: all
* fmt: eol
2022-09-28 11:58:26 -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
Trevor Porter
c568fd3934
fix(providers): don't default to "latest" block ID for `eth_estimateGas` ( #1657 )
...
* Don't default to 'latest' block ID for eth_estimateGas
* Add changelog entry
* Amend comment
2022-09-16 11:23:34 -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
c341f31fc4
chore: add abigen to default features ( #1684 )
...
* chore: add abigen to default features
* docs: update CHANGELOG.md
2022-09-09 16:19:29 -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
DaniPopes
72449c09e1
feat(contract): add extra Multicall helper methods ( #1666 )
...
* feat(contract): add extra Multicall helper methods
* docs: update CHANGELOG.md
* normalize helper methods' names
2022-09-05 09:54:49 -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
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
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
Clifton King
b1124441ec
feat(abigen): descriptive deserialization errors ( #1633 )
...
* feat(abigen): descriptive deserialization errors
* update changelog
* map_err -> wrap_err
2022-08-23 17:54:56 -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
ff754263a3
fix(solc): use cache context when determining artifact files ( #1621 )
...
* fix(solc): use cache context when determining artifact files
* update changelog
2022-08-19 14:33:28 -07:00
Matthias Seitz
e6c1927a1c
feat(abigen): add contract filter ( #1564 )
...
* feat(abigen): add contract filter
* refactor: move to top of file
* add tests
* update changelog
2022-08-04 08:22:00 -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
e62c84d650
fix(solc): convert source paths on windows ( #1540 )
...
* fix(solc): convert source paths on windows
* refactor: slash all paths
* fix: use correct import
* feat: slash compiler output
* add util function
* slash by default
* slash artifact id
* typo
* updat cfg
* unify cfg
* update changelog
2022-08-01 09:47:41 -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
Mark Tyneway
16f686df26
ethers-solc: add immutableReferences output selector ( #1523 )
...
* ethers-solc: add immutableReferences output selector
It is a property on the deployed bytecode object
on the compiler output. This is the precursor for
`forge inspect <contract-name> immutableReferences`.
* chore: update changelog
2022-07-28 11:07:24 -07:00
Clifton King
c418f4ef34
fix(abigen): abigen feature required for bindings ( #1508 )
...
* fix(abigen): abigen feature required for bindings
traits such as ethers::contract::EthDisplay require abigen
* update changelog
* abigen now uses re-exported version of serde_json
2022-07-26 08:28:39 -07:00
Hari
3766c2b47c
feat(etherscan): erc1155 token transfer events endpoint ( #1503 )
...
Added the function `get_erc1155_transfer_events` and the corresponding struct `ERC1155TokenTransferEvent`.
2022-07-26 08:28:09 -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
fb8ebd8231
feat(solc): handle conflicting artifacts properly ( #1491 )
...
* feat(solc): handle conflicting artifacts properly
* refactor(solc): update write extras function
* chore: update CHANGELOG
2022-07-24 14:39:37 -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
Clifton King
aa008727ee
fix(abigen): contract names can be reserve words ( #1498 )
...
* fix(abigen): contract names can be reserve words
* update changelog
* clippy warning
* module names consistent with other safe_*
* update refs to generated abis
* move reserved words tests to their own fn
* added note to changelog re: module name changes
2022-07-24 03:18:24 +02:00
James Prestwich
13ce18fd3b
feature: allow event builder to stream with meta ( #1483 )
...
* feature: allow event builder to stream with meta
* doc: improve rustdoc
* feature: subscribe_with_meta
* chore: fmt
2022-07-17 11:26:16 -07:00
Matthias Seitz
fb3fb161c0
chore: make ethers-solc optional ( #1463 )
...
* chore: make ethers-solc optional
* chore: update CHANGELOG
* add missing requirement
* add abigen req
2022-07-06 14:11:56 -07:00
Mark Tyneway
1efdadefc0
ethers-solc: fix build info default directory ( #1458 )
...
* ethers-solc: fix build info default directory
This commit fixes the default behavior for the `build-info`
directory when it is unconfigured. It should end up in
the configured artifacts directory, taking into account
whatever the config for the artifacts directory is.
If the build info is specifically configured, then that
will take precendence over the default.
* chore: add changelog entry
2022-07-06 11:44:47 -07:00
Mark Tyneway
3bafe5b9e4
feat(ethers-solc): configurable build-info output dir ( #1433 )
...
* feat(ethers-solc): configurable build-info output dir
* chore: update changelog
2022-06-30 09:21:46 -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
h00p30
94c7559ab5
TypedTransaction methods into builder style ( #1414 )
2022-06-25 20:44:55 -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
05864ff9ed
fix: net_version returns string ( #1376 )
...
* fix: net_version returns string
* chore: update CHANGELOG
2022-06-14 13:00:46 -07:00
Matthias Seitz
980649060a
feat(solc): emit additional raw metadata field ( #1365 )
...
* feat(solc): emit additional raw metadata field
* chore: update CHANGELOG
* test: updata test
* fix(solc): proper metadata deserialization
2022-06-10 16:49:19 +03: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
Matthias Seitz
54f1b9dee8
feat(solc): use relative paths and --base-path option ( #1317 )
...
* feat(solc): use relative paths and --base-path option
* chore: update CHANGELOG
* strip lib paths
2022-05-27 13:31:11 -07:00
oblique
526f40e88f
feat(core): Add `as_*_mut` methods on `TypedTransaction` ( #1310 )
2022-05-27 10:11:18 -04:00
Luke Tchang
4d9916570f
fix(signers): aws eip712 does not use eip155 ( #1309 )
...
* fix(signers): aws eip712 does not use eip155
* chore: update changelog
* chore: lints
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-05-25 14:15:00 -07:00
Matthias Seitz
95862bc62c
feat(solc): make cache entries relative to root dir ( #1307 )
...
* feat(solc): make cache entries relative to root dir
* chore: update CHANGELOG
2022-05-24 07:51:09 -07:00
Meet Mangukiya
a150666d54
feat: add paginated logs ( #1285 )
...
* feat: add paginated logs
* docs: add paginated_logs example
* remove unpin
2022-05-23 14:23:35 -07:00
Bryan Stitt
9ed9395c2c
return instead of ignore error ( #1287 )
...
* return error instead of swallow error
* changelog
Co-authored-by: Bryan Stitt <bryan@satoshiandkin.com>
2022-05-23 11:58:41 -07:00
Matthias Seitz
75835a9280
feat(solc): emit artifacts for standalone source files ( #1296 )
...
* feat(solc): emit artifact files for sources with no contracts
* test(solc): add tests for emitting standalone sources
* chore: update CHANGELOG
* style: check ast is some
2022-05-22 15:19:59 -07:00
Meet Mangukiya
5d604edd5c
feat(ContractDeployer): add tx builder methods ( #1289 )
2022-05-21 17:48:41 -07:00
Tomas Tauber
991d538bd0
feat(etherscan): added Cronos testnet ( #1276 )
2022-05-17 10:57:48 -07:00
oblique
75ba3f4a9a
fix(core): On pending block `miner` field is always `null` ( #1272 )
...
* fix(core): On pending block `miner` field is always `null`
* Fix formatting
2022-05-16 14:10:02 -07:00
Meet Mangukiya
b15d0f8643
feat(providers): load previous logs before subscribing ( #1264 )
...
* feat(providers): load previous logs before subscribing
Load previous logs and stream it back to the user before establishing
a new stream for streaming future logs.
Closes #988
* docs: add subscribe_logs example
* fix clippy errors
* refactor: use VecDeque and address review
2022-05-16 08:11:25 -07:00
Leo
eb94e53d1f
Add basic solc model checker options ( #1258 )
...
* Add basic solc model checker options
* Changelog entry
* review 1
* chore: fmt
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-05-13 13:29:13 -07:00