-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(node): impl evm and eth #10
Conversation
fb7a9c1
to
bb83558
Compare
bb83558
to
b4ee1ae
Compare
b4ee1ae
to
b819f79
Compare
pub fn create_full<P, A, CT, CIDP>( | ||
deps: FullDeps<P, A, CT, CIDP>, | ||
subscription_task_executor: SubscriptionTaskExecutor, | ||
pubsub_notification_sinks: Arc< |
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.
use the alias
fee_history_cache: FeeHistoryCache, | ||
fee_history_cache_limit: FeeHistoryCacheLimit, | ||
sync: Arc<SyncingService<Block>>, | ||
pubsub_notification_sinks: Arc< |
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.
same here
info: Self::SignedInfo, | ||
) -> Option<DispatchResultWithInfo<PostDispatchInfoOf<Self>>> { | ||
match self { | ||
call @ RuntimeCall::Ethereum(pallet_ethereum::Call::transact { .. }) => { |
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 would use a if let here and not use the at pattern by matching the reference, but maybe match is better
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 just copied the template tbh, if let would indeed be better
Implements ETH and EVM support on both node and runtime. The default precompiles were added. Closes CHAIN-27.