-
Notifications
You must be signed in to change notification settings - Fork 803
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
[pallet-revive] implement the block author API #7198
Conversation
Signed-off-by: xermicus <[email protected]>
Signed-off-by: xermicus <[email protected]>
Signed-off-by: xermicus <[email protected]>
bot fmt |
@xermicus https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/8035186 was started for your command Comment |
@xermicus Command |
Signed-off-by: xermicus <[email protected]>
Signed-off-by: xermicus <[email protected]>
Signed-off-by: xermicus <[email protected]>
Co-authored-by: Alexander Theißen <[email protected]>
digest.push(DigestItem::PreRuntime([1, 2, 3, 4], 123.encode())); | ||
digest.push(DigestItem::Seal([1, 2, 4, 4], 123.encode())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a realistic amount of messages to be expected in this Vec? Is this the worst case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see #[pallet::unbounded]
over Digest
and log
is just alloc::vec::Vec
. I don't see anything indicating this to be bounded.
Signed-off-by: xermicus <[email protected]>
Signed-off-by: xermicus <[email protected]>
Signed-off-by: xermicus <[email protected]>
Signed-off-by: xermicus <[email protected]>
You might need to add frame = { workspace = true, features = ["runtime"] } To the revive |
We use the dev weights in asset-hub-westend. This is why it is failing. Only run for dev. |
Signed-off-by: xermicus <[email protected]>
/cmd bench-omni --runtime dev --pallet pallet_revive --fail-fast --clean |
Command "bench-omni --runtime dev --pallet pallet_revive --fail-fast --clean" has started 🚀 See logs here |
…et pallet_revive --fail-fast --clean'
Command "bench-omni --runtime dev --pallet pallet_revive --fail-fast --clean" has finished ✅ See logs here Subweight results:
Command output:✅ Successful benchmarks of runtimes/pallets: |
Signed-off-by: Cyrill Leutwiler <[email protected]>
The |
All GitHub workflows were cancelled due to failure one of the required jobs. |
Signed-off-by: Cyrill Leutwiler <[email protected]>
This PR implements the block author API method. Runtimes ought to implement it such that it corresponds to the
coinbase
EVM opcode.