moonbeam-foundation / moonbeam

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

Fixes wrong runtime import with native flags #3041

Closed crystalin closed 2 weeks ago

crystalin commented 2 weeks ago

Fixes inconsistent import/use of wrong runtime.

This should fix the follow aliases: cargo moonbase cargo moonriver cargo moonbeam

There are still some warnings to investigate

github-actions[bot] commented 2 weeks ago

WASM runtime size check:

Compared to target branch

Moonbase runtime: 2260 KB (no changes) ✅

Moonbeam runtime: 2228 KB (no changes) ✅

Moonriver runtime: 2232 KB (no changes) ✅

Compared to latest release (runtime-3300)

Moonbase runtime: 2260 KB (+232 KB compared to latest release) ⚠️

Moonbeam runtime: 2228 KB (+232 KB compared to latest release) ⚠️

Moonriver runtime: 2232 KB (+240 KB compared to latest release) ⚠️

github-actions[bot] commented 2 weeks ago

Coverage Report

@@                  Coverage Diff                   @@
##           master   crystalin-fix-flags     +/-   ##
======================================================
  Coverage   79.00%                79.00%   0.00%     
  Files         305                   305             
  Lines       88458                 88458             
======================================================
  Hits        69878                 69878             
  Misses      18580                 18580             
Files Changed Coverage

Coverage generated Mon Nov 11 21:42:43 UTC 2024