Eitan Seri-Levi
01ec42e75a
Fix Rust beta compiler errors 1.78.0-beta.1 ( #5439 )
...
* remove redundant imports
* fix test
* contains key
* fmt
* Merge branch 'unstable' into fix-beta-compiler
2024-03-20 05:17:02 +00:00
realbigsean
4555e33048
Remove serde derive references ( #4830 )
...
* remove remaining uses of serde_derive
* fix lockfile
---------
Co-authored-by: João Oliveira <hello@jxs.pt >
2023-10-11 13:01:30 -04:00
Michael Sproul
c11638c36c
Split common crates out into their own repos ( #3890 )
...
## Proposed Changes
Split out several crates which now exist in separate repos under `sigp`.
- [`ssz` and `ssz_derive`](https://github.com/sigp/ethereum_ssz )
- [`tree_hash` and `tree_hash_derive`](https://github.com/sigp/tree_hash )
- [`ethereum_hashing`](https://github.com/sigp/ethereum_hashing )
- [`ethereum_serde_utils`](https://github.com/sigp/ethereum_serde_utils )
- [`ssz_types`](https://github.com/sigp/ssz_types )
For the published crates see: https://crates.io/teams/github:sigp:crates-io?sort=recent-updates .
## Additional Info
- [x] Need to work out how to handle versioning. I was hoping to do 1.0 versions of several crates, but if they depend on `ethereum-types 0.x` that is not going to work. EDIT: decided to go with 0.5.x versions.
- [x] Need to port several changes from `tree-states`, `capella`, `eip4844` branches to the external repos.
2023-04-28 01:15:40 +00:00
blacktemplar
d8cda2d86e
Fix new clippy lints ( #2036 )
...
## Issue Addressed
NA
## Proposed Changes
Fixes new clippy lints in the whole project (mainly [manual_strip](https://rust-lang.github.io/rust-clippy/master/index.html#manual_strip ) and [unnecessary_lazy_evaluations](https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations )). Furthermore, removes `to_string()` calls on literals when used with the `?`-operator.
2020-12-03 01:10:26 +00:00
Paul Hauner
b73c497be2
Support multiple BLS implementations ( #1335 )
...
## Issue Addressed
NA
## Proposed Changes
- Refactor the `bls` crate to support multiple BLS "backends" (e.g., milagro, blst, etc).
- Removes some duplicate, unused code in `common/rest_types/src/validator.rs`.
- Removes the old "upgrade legacy keypairs" functionality (these were unencrypted keys that haven't been supported for a few testnets, no one should be using them anymore).
## Additional Info
Most of the files changed are just inconsequential changes to function names.
## TODO
- [x] Optimization levels
- [x] Infinity point: https://github.com/supranational/blst/issues/11
- [x] Ensure milagro *and* blst are tested via CI
- [x] What to do with unsafe code?
- [x] Test infinity point in signature sets
2020-07-25 02:03:18 +00:00
Paul Hauner
4331834003
Directory Restructure ( #1163 )
...
* Move tests -> testing
* Directory restructure
* Update Cargo.toml during restructure
* Update Makefile during restructure
* Fix arbitrary path
2020-05-18 21:24:23 +10:00