moonbeam-foundation / moonbeam

An Ethereum-compatible smart contract parachain on Polkadot
https://moonbeam.network
GNU General Public License v3.0
916 stars 321 forks source link

Fixes dynamic fees change smoke test #2831

Closed crystalin closed 1 month ago

crystalin commented 1 month ago

Fixes the dynamic fees change, broken due to RT3000 fee threshold being changed.

This PR also introduce a new class for test RuntimeConstant which can contain different value per runtime and provide a getter retrieve the right value for a given runtime.

note: I only update the value(s) that are requiring multiple values at the moment, not all runtime constants as it would be too disruptive

github-actions[bot] commented 1 month ago

Coverage Report

@@                         Coverage Diff                         @@
##           master   crystalin-test-runtime-constants     +/-   ##
===================================================================
  Coverage   72.88%                             72.88%   0.00%     
  Files         229                                229             
  Lines       70024                              70024             
===================================================================
  Hits        51031                              51031             
  Misses      18993                              18993             
Files Changed Coverage

Coverage generated Fri May 31 09:26:42 UTC 2024