Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(metadata-hash): use original token symbol (DEV) in moonbase runtime #3015

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

RomarQ
Copy link
Contributor

@RomarQ RomarQ commented Oct 16, 2024

What does it do?

Uses the original moonbase token symbol when using metadata-hash transaction extension.

The original token symbol used in moonbase is DEV and not UNIT. When leveraging metadata hash, the token symbol is included in the metadata digest and would cause the transaction to fail.

image

What important points reviewers should know?

Is there something left for follow-up PRs?

What alternative implementations were considered?

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

What value does it bring to the blockchain users?

@RomarQ RomarQ self-assigned this Oct 16, 2024
@RomarQ RomarQ added B0-silent Changes should not be mentioned in any release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit not-breaking Does not need to be mentioned in breaking changes labels Oct 16, 2024
Copy link
Contributor

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) ⚠️

Copy link
Contributor

Coverage Report

@@                       Coverage Diff                        @@
##           master   rq/fix-moonbase-metadata-hash     +/-   ##
================================================================
  Coverage   79.01%                          79.01%   0.00%     
  Files         305                             305             
  Lines       88446                           88446             
================================================================
  Hits        69878                           69878             
  Misses      18568                           18568             
Files Changed Coverage

Coverage generated Wed Oct 16 15:26:09 UTC 2024

@RomarQ RomarQ merged commit 30fbc0a into master Oct 17, 2024
46 of 48 checks passed
@RomarQ RomarQ deleted the rq/fix-moonbase-metadata-hash branch October 17, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B0-silent Changes should not be mentioned in any release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants