Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Broken Benchmarks after Parachain Template #676

@NachoPal

Description

@NachoPal

After Parachain Template inclusion it is not possible to compile the runtimes with --features runtime-benchmarks anymore.

error[E0432]: unresolved import `cumulus_pallet_session_benchmarking`
     --> /home/nachopal/cumulus/parachain-template/runtime/src/lib.rs:767:8
      |
  767 |             use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cumulus_pallet_session_benchmarking`

  error[E0432]: unresolved import `cumulus_pallet_session_benchmarking`
     --> /home/nachopal/cumulus/parachain-template/runtime/src/lib.rs:789:8
      |
  789 |             use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cumulus_pallet_session_benchmarking`

  error[E0433]: failed to resolve: use of undeclared crate or module `hex_literal`
     --> /home/nachopal/cumulus/parachain-template/runtime/src/lib.rs:802:5
      |
  802 |                 hex_literal::hex!("26aa394eea5630e07c48ae0c9558cef780d41e5e16056765bc8461851072c9d7").to_vec().into(),
      |                 ^^^^^^^^^^^ use of undeclared crate or module `hex_literal`
error[E0433]: failed to resolve: use of undeclared crate or module `cumulus_pallet_session_benchmarking`
     --> /home/nachopal/cumulus/parachain-template/runtime/src/lib.rs:790:9
      |
  790 |             impl cumulus_pallet_session_benchmarking::Config for Runtime {}
      |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cumulus_pallet_session_benchmarking`

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