Skip to content

[pallet-revive]: Cleanup eth-rpc types from pallet-revive #12045

@0xOmarA

Description

@0xOmarA

Currently, a lot of the types used by the eth-rpc are defined in pallet-revive. For example, types such as BlockNumberOrTag, TracingConfig, SubscriptionKind, and many other types are defined in pallet-revive but never used in there in any of the execution paths. They're purely being used by the eth-rpc.

This makes some of the versioning work more difficult as the types are tangled together and the boundaries between them are hard to distinguish.

If a type is only being used by the eth-rpc then it should be defined in the eth-rpc and not in pallet-revive.

Metadata

Metadata

Assignees

Labels

T7-smart_contractsThis PR/Issue is related to smart contracts.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions