Closed sandreae closed 1 year ago
Patch coverage: 96.00%
and no project coverage change.
Comparison is base (
27c5069
) 92.40% compared to head (7fee3dd
) 92.41%. Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The methods for generation test data which were imported from
p2panda_rs
used methods from theapi
module to publish data to a test node. These methods include validation and retrieving next args (both bring extra db queries) which aren't required when generating test data. This PR refactors the test methodspopulate_node
andpopulate_and_materialize
to generate test data in a more performant manner.I took the opportunity to make one more change to the test generation api which is that a vec of key pairs is passed in manually to be used for generating the test data. Previously these were generated internally.
📋 Checklist
CHANGELOG.md