AcalaNetwork / Acala

Acala - cross-chain DeFi hub and stablecoin based on Substrate for Polkadot and Kusama.
https://acala.network
GNU General Public License v3.0
741 stars 456 forks source link

Use parameter_types instead of thread_local #2719

Closed zjb0807 closed 6 months ago

zjb0807 commented 6 months ago

https://github.com/paritytech/substrate/issues/10479 https://github.com/paritytech/substrate/pull/12036

should fix tarpaulin issue

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 9.67742% with 28 lines in your changes are missing coverage. Please review.

Project coverage is 66.71%. Comparing base (89ef1e5) to head (aa9813b). Report is 1 commits behind head on master.

Files Patch % Lines
modules/evm/src/runner/state.rs 13.04% 20 Missing :warning:
modules/evm/src/runner/tracing.rs 0.00% 8 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2719 +/- ## ========================================== - Coverage 67.21% 66.71% -0.50% ========================================== Files 68 67 -1 Lines 9567 8500 -1067 ========================================== - Hits 6430 5671 -759 + Misses 3137 2829 -308 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

zjb0807 commented 6 months ago

fix #2716