Skip to content

🐛 Fix benchmarks#243

Merged
JuaniRios merged 2 commits into
mainfrom
fix-benchmarks
Apr 17, 2024
Merged

🐛 Fix benchmarks#243
JuaniRios merged 2 commits into
mainfrom
fix-benchmarks

Conversation

@JuaniRios

@JuaniRios JuaniRios commented Apr 17, 2024

Copy link
Copy Markdown
Contributor

What?

  • fix all benchmarks that errored out when running just dry-run-benchmarks

How?

  • Pallet funding required funding the ct treasury account with ed on the chain spec
  • Linear release required using config types in the benchmark code instead of hardcoded values

Testing?

  • Run just dry-run-benchmarks and see if no errors pops up

@JuaniRios JuaniRios requested review from lrazovic and vstam1 April 17, 2024 14:37
@JuaniRios JuaniRios self-assigned this Apr 17, 2024

@lrazovic lrazovic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Approved with one minor question

//! Polimec Testnet chain specification

use cumulus_primitives_core::ParaId;
use frame_benchmarking::__private::traits::fungible::Inspect;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why Inspect is coming from frame_benchmarking and not from frame_support::traits::tokens::fungible::Inspect?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oops, auto import crapped out

@JuaniRios JuaniRios merged commit a56721b into main Apr 17, 2024
@JuaniRios JuaniRios deleted the fix-benchmarks branch April 17, 2024 14:59
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.

3 participants