-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
It looks like @seunlanlege signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
4e46f35
to
6d8297d
Compare
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.
Overall logic is good, just some nits regarding what data needs to be exposed and how to format the result. I'm not super familiar with the RPC subsystem but where are wiring this up in the node implementation?
6d539dd
to
de99a5f
Compare
looks like faulty code was merged into master. error[E0624]: method `create_address` is private
--> frame/evm/src/lib.rs:348:34
|
348 | let create_address = executor.create_address(source, evm::CreateScheme::Dynamic);
| ^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0624`.
error: could not compile `pallet-evm`. |
842772b
to
eb1b2bc
Compare
Why is the |
@rphmeier it's using the old, no-so-git-friendly style of Cargo.lock. @seunlanlege please run |
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.
Please no test-helpers
features in Substrate. Features are broken in Cargo/Rust.
When you enable the feature, it will leak into the main build.
d881c32
to
eae1363
Compare
ee8208c
to
b27f178
Compare
@andresilva could you please take a look at this again? |
remove test-helpers from sp-keyring, bump spec_version, impl_version
2a48b6b
to
f1ef44e
Compare
Ping @tomusdrw , @andresilva This should also be ready for merging. |
I will give this another review in the afternoon. Did you test how this works in the actual node binary? (e.g. on dev chain we should get all slots). |
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.
lgtm!
Co-Authored-By: Tomasz Drwięga <[email protected]>
|
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.
lgtm. a bunch of docs/formatting nits.
Co-Authored-By: André Silva <[email protected]>
looks like all is well, cc @bkchr |
Thanks @seunlanlege! :) |
* babe_epochAuthorship remove test-helpers from sp-keyring, bump spec_version, impl_version * bump Cargo.lock * add BabeRPC to node-rpc * rename to BabeApi, remove err_derive * pass &ServiceBuilder to with_rpc_extensions callback * sc-consensus-babe-rpc * Update client/consensus/babe/src/lib.rs Co-Authored-By: Tomasz Drwięga <[email protected]> * Better docs, code style chanegs Co-Authored-By: André Silva <[email protected]> * new line at the end of Cargo.toml Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: André Silva <[email protected]>
Adds the
babe_epochAuthorship
rpc method for querying information about slots that can be claimed in the current epoch.closes #4102