Commit Graph

13 Commits

Author SHA1 Message Date
Matías Ignacio González
f8eca7a209 test: Hardfork (#1382)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-15 13:56:11 -08:00
Bjerg
02a6aec3fb feat: support time-based forking (#1128) 2023-02-06 12:55:41 -08:00
Georgios Konstantopoulos
e048718ea2 refactor: pull out rpc/ from net/rpc (#1147) 2023-02-02 14:17:26 -08:00
Georgios Konstantopoulos
1f64d8e9d7 refactor: pull reth/common/rlp up to reth/rlp (#1146) 2023-02-02 13:54:13 -08:00
Georgios Konstantopoulos
0c341ed9ce Revert "feat: support time-based forking" (#1090) 2023-01-30 10:58:55 -08:00
Aurélien
9cdead5646 feat: support time-based forking (#985) 2023-01-27 10:49:54 -05:00
Dan Cline
78ffd0a7c0 fix(primitives): remove Hardfork::Eip150, Eip158 (#926) 2023-01-18 19:38:25 -08:00
Dan Cline
82b10fae41 feat(primitives): add Hardfork::Eip150 and Eip158 (#925) 2023-01-18 15:04:16 -08:00
Dan Cline
9ab244f8f4 feat(primitives): impl From<Genesis> for ChainSpec (#921) 2023-01-18 13:13:59 -08:00
Aurélien
f9de425ad8 refactor: unify all chains confs (#747)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-01-17 07:47:34 -08:00
Kim, JinSan
c4bafe809b fix: clippy warnings, or_fun_call and unnecessary_lazy_evaluations (#846) 2023-01-13 11:10:02 +01:00
Matthias Seitz
864e6481da fix: set forkfilter correctly (#486)
* fix: set forkfilter correctly

* fix types

* update tests
2022-12-16 14:14:07 +02:00
Dan Cline
f1e6639374 feat(net): authenticate sessions (#178)
* Switch stream type of ActiveSession to EthStream

 * Start `StatusBuilder` for initializing the `Status` message required
   for the handshake
 * Add `Hardfork` for `Status` default forkid
 * Add `MAINNET_GENESIS` constant

* finish `StatusBuilder`

* initialize eth streams in session

 * add status, hello, and fork filter to session manager
 * fix status builder example
 * add status and hello to network config
   * will probably remove

* removing status and hello from networkconfig

* move forkid to primitives

* change imports for forkid

* add hardfork to primitives

* remove hardfork and forkid from eth-wire

* fix remaining eth-wire forkid references

* put mainnet genesis in constants, remove NodeId

* replace NodeId with PeerId

 * the only NodeId remaining is inherited from enr
 * PeerId still needs to be documented
 * also run cargo fmt

* replace loop with iter().any()

* ignore missing docs for hardforks

* use correct PeerId for Discv4::bind example test

* document PeerId as secp256k1 public key

* cargo fmt

* temporarily allow too_many_arguments

 * the authenticate and start_pending_incoming_session methods have many
   arguments, we can reconsider the lint or fix the methods at a later
   point
2022-11-14 12:03:05 -05:00