Commit Graph

1876 Commits

Author SHA1 Message Date
DaniPopes ec0cf0e8ef
fix: contract tests 2023-02-25 15:12:16 +01:00
DaniPopes 58ce0e13e2
fix: failing ci 2023-02-25 13:37:06 +01:00
DaniPopes c3748e95ea
Merge branch 'master' into ci/improve 2023-02-25 12:50:11 +01:00
Georgios Konstantopoulos 620300f357 chore: top-up testnet wallets
stop draining it asshole; we can fix this properly by making
the goerli PK a Github Secret but this will make the experience
for 3rd party contributors worse because they won't be able to run
integration tests
2023-02-24 16:53:22 -08:00
dependabot[bot] 7d54e3099c
chore(deps): bump num_enum from 0.5.10 to 0.5.11 (#2184)
Bumps [num_enum](https://github.com/illicitonion/num_enum) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/illicitonion/num_enum/releases)
- [Commits](https://github.com/illicitonion/num_enum/compare/0.5.10...0.5.11)

---
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-24 16:45:22 -08:00
Matthias Seitz c2c1d6efa5
chore: bump svm (#2185) 2023-02-24 16:45:17 -08:00
DaniPopes f59153ba66
fix(core): i256 docs (#2187)
* fix(core): i256 docs

* add doc
2023-02-24 16:44:47 -08:00
DaniPopes 3d4820df4a
improve script 2023-02-25 00:20:42 +01:00
DaniPopes 5a1d97a16d
fix: wasm 2023-02-25 00:16:13 +01:00
DaniPopes f7e02baad8
fix: install script path 2023-02-24 23:47:46 +01:00
DaniPopes 504b77c5c3
ci: remove unusable targets 2023-02-24 23:44:45 +01:00
DaniPopes e0e7876af1
chore: update geth.rs 2023-02-24 23:44:24 +01:00
DaniPopes 5ca98643a6
chore: rm unused audit.toml 2023-02-24 23:44:15 +01:00
DaniPopes 4cee8920a4
ci: add deny CI 2023-02-24 23:14:04 +01:00
DaniPopes 2187353407
ci: update security audit 2023-02-24 22:43:04 +01:00
DaniPopes 5f32e983e9
test: rm useless test 2023-02-24 22:33:58 +01:00
DaniPopes 75f63f9d6d
ci: add aarch64 targets 2023-02-24 22:30:23 +01:00
DaniPopes 8c0cb71eb5
fix: only run wasm in own job 2023-02-24 22:29:45 +01:00
DaniPopes 017db8ba11
fix: dev deps 2023-02-24 22:17:52 +01:00
DaniPopes 49c7b24fc8
fix: action exclude 2023-02-24 22:13:47 +01:00
DaniPopes 7a88c65c16
update script 2023-02-24 22:09:39 +01:00
DaniPopes e06fcd4fd3
fix: quote tests 2023-02-24 22:07:44 +01:00
DaniPopes dcd1ef2eda
fix: test command 2023-02-24 21:57:53 +01:00
DaniPopes f8696c2b7a
chore: clippy 2023-02-24 21:43:33 +01:00
DaniPopes 9e334780d9
chore: clippy 2023-02-24 21:42:05 +01:00
DaniPopes 376b8ce5d7
chore: clippy 2023-02-24 21:39:31 +01:00
DaniPopes 5f2de7b99d
tests: move to single binary 2023-02-24 21:36:00 +01:00
DaniPopes 0d14b4c447
fix: wasm typo 2023-02-24 21:16:58 +01:00
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