Skip to content

Update dependencies to stable2503#4

Closed
dimartiro wants to merge 4 commits intotanssi-polkadot-stable2503from
diego-tanssi-polkadot-stable2503
Closed

Update dependencies to stable2503#4
dimartiro wants to merge 4 commits intotanssi-polkadot-stable2503from
diego-tanssi-polkadot-stable2503

Conversation

@dimartiro
Copy link

@dimartiro dimartiro commented May 12, 2025

Description

Dependencies updated to tanssi-polkadot-stable2503

Some changes

  • DecodeWithMemTracking added for some types
  • sc_transaction_pool::Pool receive 2 generics now, so I'm using () to ignore the second one
  • sc_service::build_network returns a touple of 4 arguments instead of 5 so I had to remove the network_starter

Note: I'm temporary using my fork of evm while the changes I need are approved in upsteam

@dimartiro dimartiro self-assigned this May 12, 2025

pub use self::{execute::EstimateGasAdapter, filter::EthFilter};

type Pool<Api> = sc_transaction_pool::Pool<Api, ()>;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know what is this second param for?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! the second param is an EventHandler

commands_stream,
)?;

network_starter.start_network();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this could have further implications. Can you look into other parts of the polkadot-sdk/frontier code and check how they managed this change (if they did)?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to be automatically started now

paritytech/polkadot-sdk#6400

@dimartiro dimartiro closed this May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants