Description

Cryptocurrencies like Bitcoin have developed free and decentralized tools to run currencies according to the free software way of life. They inspire the Duniter project, but Duniter adopts an egalitarian monetary creation based on The Relative Theory of Money, an article published in 2010 by Stéphane Laborde.

Challenge

The Duniter project is built on several coupled pallets. The current approach for conducting benchmarks relies on prepared identities at genesis

Solution

We have implemented various types that are only accessible when the project is compiled with runtime-benchmarks. This enables us to circumvent the coupling between pallets and prepare identities with the right set of conditions, triggering the most intensive path for each extrinsic. For more details, refer to: https://git.duniter.org/nodes/rust/duniter-v2s/-/merge_requests/185.