Skip to content

Issue with bounds #691

Closed
Closed
@gui1117

Description

@gui1117

compiling polkadot-sdk with the latest version fails with:

error[E0277]: the trait bound `parity_scale_codec::Compact<Balance>: MaxEncodedLen` is not satisfied
   --> substrate/primitives/staking/src/lib.rs:451:2
    |
451 |     MaxEncodedLen,
    |     ^^^^^^^^^^^^^ the trait `MaxEncodedLen` is not implemented for `parity_scale_codec::Compact<Balance>`

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions