DaniPopes
8ae67b4720
fix: use curl for windows installation
2023-02-24 21:16:51 +01:00
DaniPopes
362de60dd1
fix
2023-02-24 21:03:20 +01:00
DaniPopes
f805e8a0f5
fix: install script
2023-02-24 20:51:28 +01:00
DaniPopes
50a4b2a8a2
ci: improve main CI jobs
2023-02-24 20:45:48 +01:00
DaniPopes
f7963d0fb4
nits
2023-02-24 18:43:00 +01:00
DaniPopes
70f3b83599
ci: move to scripts directory
2023-02-24 18:42:40 +01:00
DaniPopes
7e12f3ba36
feat(core): improve I256 implementation ( #2180 )
...
* feat(core): improve I256 implementation
* chore: reorganize impls
* chore: update docs, add attributes, use Self
* fix: signum
* chore: use inline(always), update implementations
* fix: use usize for shifting, add more shift ops
* feat: make arithmetic ops generic to match U256
* chore: clippy
* chore: return
2023-02-23 16:21:41 -08:00
dependabot[bot]
48dc4b1ee2
chore(deps): bump syn from 1.0.107 to 1.0.108 ( #2178 )
2023-02-23 13:15:40 -08:00
Matthias Seitz
c679d402cb
chore: bump svm-rs ( #2179 )
2023-02-23 12:48:41 -08:00
James Prestwich
2090bf560e
Expose contract revert errors in the ContractError struct ( #2172 )
...
* feature: spelunk for revert errors
* feature: bubble up revert to contract error
* feature: bubble up reverts to multicall
* fix: correctly remove signature when deserializing EthErrors
* chore: remove redundant test
* chore: clippy
* fix: allow empty revert string
* docs: add all missing rustdoc for ethers-contract
* chore: rustfmt
* chore: Changelog
* fix: danipope test comment
2023-02-22 14:52:25 -08:00
James Prestwich
ee5e3e52c0
fmt: run rustfmt ( #2176 )
2023-02-21 16:52:20 -08:00
DaniPopes
e55b8116f3
feat(contract): improve Multicall result handling ( #2164 )
...
* nits
* clippy
* ordering
* move
* chore: edition 2021
* chore: detokenize nit
* feat(contract): improve Multicall result handling
* docs: update CHANGELOG.md
* feat: make fields public
* chore: clippy
2023-02-20 18:50:28 -08:00
DaniPopes
3732de844c
fix(abigen): builtin trait derives ( #2170 )
...
* fix(abigen): builtin trait derives
* refactor: EthDisplay
* feat(derive): improve type detection
* chore: cleanup
* chore: edition 2021
* chore: clippy
* chore: use unreachable
2023-02-20 16:27:43 -08:00
Mathis
c21362b696
Make order of types in shared_types deterministic ( #2169 )
...
* Add missing development dependencies to flake.nix
* Use BTreeMap/Set for deterministic shared types
Fixes an issue where the order of types in the generated shared_types is
not always deterministic.
2023-02-20 16:18:31 -08:00
dependabot[bot]
2f85e73049
chore(deps): bump num_enum from 0.5.9 to 0.5.10 ( #2168 )
...
Bumps [num_enum](https://github.com/illicitonion/num_enum ) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/illicitonion/num_enum/releases )
- [Commits](https://github.com/illicitonion/num_enum/compare/0.5.9...0.5.10 )
---
updated-dependencies:
- dependency-name: num_enum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 16:17:32 -08:00
dependabot[bot]
bdcf9b01b0
chore(deps): bump http from 0.2.8 to 0.2.9 ( #2167 )
...
Bumps [http](https://github.com/hyperium/http ) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/hyperium/http/releases )
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/http/compare/v0.2.8...v0.2.9 )
---
updated-dependencies:
- dependency-name: http
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 16:17:20 -08:00
James Prestwich
ef6e7f41a1
Refactor: organize ethers-providers ( #2159 )
...
* feature: bubble up jsonrpc error response via trait
* refactor: ClientError to TransportError
* refactor: FromErr to MiddlewareError
* tests: fix test with middlewareerror
* fix: doctest
* fix: fix custom middleware example
* feature: as_serde_error
* docs: for error traits
* fix: custom example and unnecessary ref
* refactor: in progress organization
* refactor: continue cleaning up
* refactor: finish changing crate layout
* refactor: fix test imports
* refactor: move convenience impl into toolbox
* chore: changelog
* docs: make them suck less
* fix: remove deprecation
* fix: DaniPopes's nits
2023-02-20 15:55:36 -08:00
Muhammad Syahrul Nizam
33ed94851c
chore: added canto network ( #2171 )
2023-02-20 13:51:06 -08:00
DaniPopes
6336e96995
refactor(abigen): derives, struct expansion ( #2160 )
...
* refactor: abigen derives
* refactor: struct expansion
* refactor: structs 2
* chore: abigen derives and visibility
* refactor: abigen docs
* refactor: structs 3
* chore: doc
* chore: structs conditional default
* refactor: method expansion
* refactor: final doc
* refactor: expansions, add docs, extra From impl
* refactor: final struct expansion
* feat(types): implement bytes::Bytes static methods
* feat: use static Bytes for bytecode
* merge artifact
* refactor: event input expansion
* refactor: common expand params
* refactor: method params expansion
* refactor: struct fields expansion
* refactor: types array expansion
* mergings
* cleanup
* flatten
* selector fmt
* chore: clippy
* refactor: common, imports
2023-02-19 16:53:29 -08:00
Georgios Konstantopoulos
8d511dbd64
chore: fmt
2023-02-18 13:22:58 -08:00
frankie
9733b16afc
Include deployed bytecode in abigen output ( #2163 )
...
* test
* sanity check
2023-02-18 12:53:39 -08:00
Dan Cline
228f944726
use Option for CliqueConfig fields ( #2162 )
2023-02-17 12:01:12 -08:00
dependabot[bot]
69edf3b49e
chore(deps): bump once_cell from 1.17.0 to 1.17.1 ( #2156 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.0...v1.17.1 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 10:55:04 -08:00
WillQ
fd83e203b4
feat: add debug for geth default api ( #2140 )
2023-02-15 10:54:58 -08:00
DaniPopes
e1b6458eb6
chore: add .git-blame-ignore-revs ( #2157 )
2023-02-15 10:54:34 -08:00
DaniPopes
a69036f07b
fix(core): block FromStr implementation ( #2155 )
2023-02-14 13:15:58 -08:00
DaniPopes
d8597202ed
refactor(contract): derive procedural macros ( #2152 )
...
* refactor: use Result<_, Error>
* fix: report both errors during parsing
* refactor: abigen derive results
* update Event derive
* refactor: derive utils
* fmt Display derive
* fmt Codec derive
* refactor: derives
* fix artifacts
* chore: clippy
2023-02-13 19:54:00 -08:00
dependabot[bot]
37acf65dae
chore(deps): bump coins-ledger from 0.7.0 to 0.7.1 ( #2139 )
...
Bumps [coins-ledger](https://github.com/summa-tx/bitcoins-rs ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/summa-tx/bitcoins-rs/releases )
- [Commits](https://github.com/summa-tx/bitcoins-rs/compare/v0.7.0...coins-ledger@0.7.1 )
---
updated-dependencies:
- dependency-name: coins-ledger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 17:15:38 -08:00
DaniPopes
f9ced12fee
refactor(abigen): solidity types expansion ( #2131 )
...
* refactor: event input expansion
* refactor: common expand params
* refactor: method params expansion
* refactor: struct fields expansion
* refactor: types array expansion
* clippy
2023-02-13 17:15:28 -08:00
James Prestwich
0c16eb971d
Prestwich/event no lifetime ( #2105 )
...
* refactor(breaking): remove lifetime from Event
* fix: example updated to use new event
2023-02-13 17:14:38 -08:00
Matthias Seitz
e970f58a8a
fix(abigen): use event name from abi attribute ( #2144 )
...
* fix(abigen): use event name from abi attribute
* rustfmt
2023-02-13 17:11:13 -08:00
Georgios Konstantopoulos
85d7c07fa8
chore: fmt
2023-02-13 17:10:01 -08:00
wiasliaw.eth
7511d22c2f
extend model checker options ( #2147 )
...
* refactor(ethers-solc): reorder the sanitized
* feat(ethers-solc): feat divModWithSlacks, showUnproved and solvers
2023-02-13 17:09:40 -08:00
Yiannis M
3141bebd78
abigen: Add human readable ABI example in documentation ( #2148 )
2023-02-13 17:09:25 -08:00
DaniPopes
fefaf7433f
fix(contract): report all errors during parsing ( #2149 )
...
* refactor: use Result<_, Error>
* fix: report both errors during parsing
2023-02-13 17:08:46 -08:00
DaniPopes
adefb6c2f6
fix: examples ( #2153 )
...
* fix: abigen example
* fix: gas oracle example
* fix: call override example
2023-02-13 17:08:08 -08:00
Georgios Konstantopoulos
5f08a2d931
chore(solc): remove unused generic
2023-02-13 17:07:20 -08:00
Dan Cline
a064657234
fix(core): test hive genesis parsing ( #2145 )
...
* add genesis tests from hive
* add another genesis from hive
* add execution-apis genesis
* add correct u64 hex decoding in GenesisAccount
* use default chainid of 1 without config
* add genesis test field asserts
* use better serde(default) settings
2023-02-13 17:06:57 -08:00
bsh98
1b08a94a85
feat(examples): add basic event filtering example ( #2137 )
2023-02-10 16:29:10 -08:00
Matthias Seitz
c7547cb1d5
perf(solc): wrap source content in Arc ( #2138 )
2023-02-10 16:17:11 -08:00
Paul Lange
bfe3ba9d5f
contracts: allow upper case acronyms lint ( #2128 )
2023-02-10 11:52:55 -08:00
Matthias Seitz
a474a95cc5
chore: use arbiscan urls for arbitrum goerli ( #2127 )
2023-02-10 11:51:32 -08:00
Matthias Seitz
64f2ca696f
chore: add etherscan page not found error ( #2126 )
2023-02-10 11:51:13 -08:00
wiasliaw.eth
060e145ea2
feat(ethers-solc): extend model checker setting field ( #2123 )
2023-02-10 11:51:01 -08:00
Jacob Turner
b08c1e29b8
[fix]: Use pascal casing for type names in structs generated by abigen ( #2130 )
...
* [fix]: Use pascal casing for type names in structs generated by abigen
* [fix]: Revert the downversioning changes
2023-02-10 11:50:09 -08:00
georgewhewell
c0fd8326f0
chore(clippy): fix bare urls in abigen ( #2133 )
2023-02-10 11:49:27 -08:00
Roman Krasiuk
6528664e8c
dep: solang-parser 0.2.2 ( #2135 )
2023-02-10 11:48:54 -08:00
Matthias Seitz
c436eae96c
fix(solc): process all imports even input files ( #2136 )
...
* fix(solc): process all imports even input files
* pin test to 0.8.17
2023-02-10 11:45:51 -08:00
dependabot[bot]
e20bb71569
chore(deps): bump fs_extra from 1.2.0 to 1.3.0 ( #2118 )
...
Bumps [fs_extra](https://github.com/webdesus/fs_extra ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/webdesus/fs_extra/releases )
- [Commits](https://github.com/webdesus/fs_extra/compare/1.2.0...1.3.0 )
---
updated-dependencies:
- dependency-name: fs_extra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 11:04:06 -08:00
dependabot[bot]
2c2ecd917c
chore(deps): bump proc-macro2 from 1.0.50 to 1.0.51 ( #2117 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.50 to 1.0.51.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.50...1.0.51 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 11:03:54 -08:00