paritytech/parity-bridges-common

Try to replace our custom integrity tests (explicitly callable) with similar Substrate tests

Open

#2,612 opened on Oct 11, 2023

 (0 comments) (0 reactions) (0 assignees)Rust (135 forks)auto 404
Good First IssueP-Runtime

Repository metrics

Stars
 (281 stars)
PR merge metrics
 (PR metrics pending)

Description

I've recently learned that the Substrate has its own integrity tests, which are a part of the pallet Hooks. They add an autogenerated test to the runtimes, where the pallet is used.

We have our own integrity tests, which need to be added explicitly to the runtime - types assertions, weight checks and so on. Could we possibly move all our tests (or at least some parts) to pallet hooks? It'll make integration easier - integrity tests is what is sometimes forgotten when the bridge is configured.

Contributor guide