1

When trying to upgrade to Substrate v 0.9.26, I see this error:

the trait bound `Event: From<pallet_transaction_payment::Event<Runtime>>` is not satisfied

In my config I have the following:

impl pallet_transaction_payment::Config for Runtime {
    type Event = Event;
    ...

As you can see, the trait is implemented. Why is this error getting thrown?

1
  • 1
    Which file/line is this error occurring? What version are you upgrading from? How can I replicate this? More info would be appreciated for debugging purposes.
    – Bruno
    Aug 26, 2022 at 22:35

1 Answer 1

1

Make sure to include Event module part in your frame_support::construct_runtime! like so:

TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>}

More Info:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.