Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(eips): make SignedAuthorizationList arbitrary less fallible #1084

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

Rjected
Copy link
Contributor

@Rjected Rjected commented Jul 19, 2024

Motivation

This is an attempt to fix #1070

Solution

The key generation can be made infallible by instead seeding a rng, and generating a NonZeroScalar with it.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is kinda complex for "generate a random key"

@mattsse mattsse merged commit 4520b2c into alloy-rs:main Jul 19, 2024
22 checks passed
@Robbbo-T

This comment was marked as spam.

zerosnacks pushed a commit that referenced this pull request Jul 22, 2024
* Added stages to the sync info rpc type (#1079)

* added stages detail

* boxed enum

* from hashmap to vec with helper type

* serde alias and renames and dos

* Update crates/rpc-types-eth/src/syncing.rs

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

* Update crates/rpc-types-eth/src/syncing.rs

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

* property to pub

---------

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

* removing async get account (#1080)

* fix(node-bindings): backport fix from ethers-rs (#1081)

* feat(consensus): add `From<ConsolidationRequest>` for `Request` (#1083)

consensus: add From<ConsolidationRequest> for Request

* fix(eips): make SignedAuthorizationList arbitrary less fallible (#1084)

* chore: export rpc account type (#1075)

* Update debug.rs

* Update debug.rs

---------

Co-authored-by: Luca Provini <lucaprovini1989@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: StackOverflowExcept1on <109800286+StackOverflowExcept1on@users.noreply.github.com>
Co-authored-by: Thomas Coratger <60488569+tcoratger@users.noreply.github.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
@Rjected Rjected deleted the dan/fix-flaky-arb branch July 22, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants