Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat(providers): add a subset of admin namespace #1880

Merged
merged 54 commits into from
Nov 30, 2022
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
0c0a99c
tell Geth to expose the admin namespace
Rjected Nov 6, 2022
a350324
wip: add admin namespace support
Rjected Nov 17, 2022
0fce96c
add rest of chain config fields
Rjected Nov 21, 2022
4adffd4
add datadir to geth
Rjected Nov 21, 2022
0562f0b
fix data dir ref
Rjected Nov 22, 2022
26c0d66
add dev flag to geth
Rjected Nov 22, 2022
2bedcd2
set dev only if block_time is not set
Rjected Nov 22, 2022
6a237b3
put mutually exclusive options in an enum
Rjected Nov 22, 2022
d6b9687
make block_time use the devmode enum
Rjected Nov 22, 2022
fce6c40
add p2p port to geth
Rjected Nov 22, 2022
52a7a35
add basic impls for admin endpoints
Rjected Nov 22, 2022
e28d1a1
move from_int_or_hex to ethers-core utils
Rjected Nov 22, 2022
4cfaffb
fix nodeinfo protocol field
Rjected Nov 22, 2022
1033b13
add chain id and discovery toggle for Geth
Rjected Nov 22, 2022
5e3eb65
remove PeerEvent
Rjected Nov 22, 2022
2bb8b32
simplify serde options for admin responses
Rjected Nov 22, 2022
3dcacb4
change signature for peer modification apis
Rjected Nov 22, 2022
280a3d3
add note on where `ChainConfig` fields come from
Rjected Nov 22, 2022
0c1cf6d
add note on PeerInfo about the source of fields
Rjected Nov 22, 2022
23fa941
add admin namespace support to CHANGELOG
Rjected Nov 22, 2022
09c4509
update pr number in changelog
Rjected Nov 22, 2022
f9a324a
cargo fmt
Rjected Nov 22, 2022
285f037
move chainconfig to genesis in utils
Rjected Nov 22, 2022
20446a3
accept genesis file in geth
Rjected Nov 22, 2022
0052e72
add genesis writing to geth spawn
Rjected Nov 22, 2022
343fd89
finally get geth nodes to connect
Rjected Nov 23, 2022
02db1b1
import io::Read in provider tests
Rjected Nov 23, 2022
6f5b06f
fix PeerInfo and use enode id for provider test
Rjected Nov 26, 2022
037fbcf
make clippy happy
Rjected Nov 26, 2022
567cf38
improve documentation for genesis module
Rjected Nov 26, 2022
6183c87
remove not(wasm) attributes on genesis module
Rjected Nov 26, 2022
d27d0bc
remove debugging printlns
Rjected Nov 26, 2022
a345fa3
remove io::Read from provider tests
Rjected Nov 26, 2022
2c3375d
add failing post merge test case
Rjected Nov 26, 2022
7efbd36
add full mainnet nodeinfo for testing
Rjected Nov 26, 2022
51b4638
support deserializing json bignums to U256
Rjected Nov 26, 2022
302cb9c
fix from_int_or_hex_opt doc string
Rjected Nov 26, 2022
54ad70c
remove third variant from IntOrHex
Rjected Nov 26, 2022
ae22226
add comments for ids
Rjected Nov 26, 2022
cce36a6
fix enode id type in admin_peers provider test
Rjected Nov 26, 2022
20557f0
fix admin typo in Cargo.toml
Rjected Nov 28, 2022
7697f69
add method to wait on a gethinstance adding a peer
Rjected Nov 28, 2022
e92dbf6
fix dial loop and wait_to_add_peer doc comments
Rjected Nov 28, 2022
50ccfce
update geth
Rjected Nov 28, 2022
af47a31
wait for geth to exit on drop
Rjected Nov 28, 2022
f6188d3
remove unnecessary wait
Rjected Nov 28, 2022
548b360
fix mid-handshake PeerInfo deserialization
Rjected Nov 29, 2022
dbb53a9
remove println
Rjected Nov 29, 2022
96c897c
make tests less flaky
Rjected Nov 29, 2022
7c445e3
handle discovery with the rest of the non dev opts
Rjected Nov 29, 2022
a66548d
dump geth stderr to debug failing ci test
Rjected Nov 29, 2022
b71c71c
remove call_raw debug println
Rjected Nov 29, 2022
9d7e23e
use unused port when authrpc port is not specified
Rjected Nov 29, 2022
8ca864c
remove dump_stderr from GethInstance
Rjected Nov 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix admin typo in Cargo.toml
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Rjected and gakonst committed Nov 28, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 20557f0f8bc5c87a1baf505939ed9209a6b7a4fa
2 changes: 1 addition & 1 deletion ethers-providers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ futures-timer = { version = "3.0.2", default-features = false }
futures-channel = { version = "0.3.16", default-features = false, optional = true }
pin-project = { version = "1.0.11", default-features = false }

# peer-related amin namespace
# peer-related admin namespace
enr = { version = "0.7.0", default-features = false, features = ["k256", "serde"] }

# tracing