Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

chore: update scale dependency to 0.10.0 #498

Merged
merged 7 commits into from
Jan 10, 2023
Merged

Conversation

ryanleecode
Copy link
Contributor

@ryanleecode ryanleecode commented Jan 6, 2023

Resolves #497.

One minor downside to this change is that the types can no longer "catch" the optional fields. i.e. if the field is optional and we don't put it in the codec then it wont be caught by the compiler.

codegen/genCodecs.ts Outdated Show resolved Hide resolved
scale_info/Codec.ts Outdated Show resolved Hide resolved
codegen/genCodecs.ts Outdated Show resolved Hide resolved
@ryanleecode ryanleecode marked this pull request as ready for review January 10, 2023 17:22
@ryanleecode ryanleecode requested a review from tjjfvi January 10, 2023 17:22
@ryanleecode ryanleecode merged commit 2ff94e2 into main Jan 10, 2023
@ryanleecode ryanleecode deleted the chore/scale-0.10-update branch January 10, 2023 17:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

upgrade scale to v0.10.0
2 participants