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

Fake VRF for ethereum pending blocks #2576

Merged
merged 16 commits into from
Nov 28, 2023
Merged

Conversation

librelois
Copy link
Collaborator

What does it do?

Create a fake VRF mechanism for ethereum pending blocks.

The main changes are in frontier and moonkit.

Frontier changes

Add a new runtime api initialize_pending_block and use it in pending_runtime_api

moonbeam-foundation/frontier@3388642

Moonkit changes

Add a new fake VRF functionality in pallet randomness thought an environmental

Moonsong-Labs/moonkit@6c6cfed

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

What value does it bring to the blockchain users?

@librelois librelois added B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Nov 24, 2023
@librelois librelois added the not-breaking Does not need to be mentioned in breaking changes label Nov 24, 2023
Copy link
Contributor

github-actions bot commented Nov 24, 2023

Coverage Report

@@                       Coverage Diff                        @@
##           master   elois-fake-vrf-pending-blocks     +/-   ##
================================================================
  Coverage   81.90%                          81.90%   0.00%     
  Files         286                             286             
+ Lines       95242                           95246      +4     
================================================================
+ Hits        78001                           78003      +2     
+ Misses      17241                           17243      +2     
Files Changed Coverage
/runtime/common/src/apis.rs 85.25% (-0.17%) 🔽

Coverage generated Tue Nov 28 10:14:04 UTC 2023

@librelois librelois force-pushed the elois-fake-vrf-pending-blocks branch from 4f3d9cd to c696386 Compare November 27, 2023 13:04
@librelois librelois merged commit 17033e8 into master Nov 28, 2023
@librelois librelois deleted the elois-fake-vrf-pending-blocks branch November 28, 2023 10:32
librelois added a commit that referenced this pull request Nov 28, 2023
* upgrade moonkit

* upgrade frontier

* implement new runtime api initialize_pending_block

* update frontier pin

* add zombi test with an RPC node that is not a collator

* update frontier pin

* fix zombi rpc tests for moonbase

* add zombi rpc tests for moonbeam

* Execute zombi RPC tests on CI

* typo

* lint

* typo

* zombi RPC tests: add moonbeam

* lints

* min gas price is higher on moonbeam

* fix typo in moonwall config zombie_moonbeam_rpc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B5-clientnoteworthy Changes should be mentioned in any downstream projects' release notes B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants