-
Notifications
You must be signed in to change notification settings - Fork 337
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
Unified client for regular and tracing nodes #791
Conversation
# Conflicts: # .github/workflows/build.yml # Cargo.lock # node/Cargo.toml # node/cli/src/command.rs # node/service/Cargo.toml # node/service/src/chain_spec/mod.rs # node/service/src/lib.rs # node/service/src/rpc.rs # primitives/ext/Cargo.toml # primitives/rpc/debug/Cargo.toml # primitives/rpc/evm-tracing-events/src/runtime.rs # runtime/common/src/apis.rs # runtime/evm_tracer/Cargo.toml # runtime/evm_tracer/src/lib.rs # runtime/moonbase/Cargo.toml # runtime/moonbeam/Cargo.toml # runtime/moonriver/Cargo.toml
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.
Only checked the CI, looks good to me.
Is the runtime changed for that ? |
a2fcc67
to
695b082
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.
Sorry for my late review but I couldn't before. I just have some small remarks related to the IC and cargo features, that can be the subject of a new small PR.
@@ -101,26 +102,26 @@ pub struct RawStepLog { | |||
|
|||
#[derive(Clone, Eq, PartialEq, Debug, Encode, Decode)] | |||
#[cfg_attr(feature = "std", derive(Serialize))] | |||
#[cfg_attr(feature = "std", serde(rename_all = "camelCase", tag = "type"))] | |||
#[cfg_attr(feature = "std", serde(rename_all = "lowercase", tag = "type"))] | |||
pub enum CallInner { | |||
#[cfg_attr(feature = "std", serde(rename_all = "camelCase"))] |
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.
It is not readable to mix lowercase and camelCase. It is better to use neither of them and to rename specifically the only 2 fields to rename (call_type and SelfDestruct).
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 will sneak this in #847
What does it do?
This is a follow-up on substitute branches for tracing and removes
evm-tracing
feature from the client. Instead we now will use the same client for all nodes, and use substitute runtimes built with theevm-tracing
enabled.What important points reviewers should know?
DebugRuntimeApi
versions are now removed from the client, and this Api is expected to be accessed only through substitutes.