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

Add bytes::Bytes implementation #309

Merged
merged 5 commits into from
Jan 23, 2022
Merged

Add bytes::Bytes implementation #309

merged 5 commits into from
Jan 23, 2022

Conversation

vorot93
Copy link
Contributor

@vorot93 vorot93 commented Jan 11, 2022

Fixes #259

polkadot address: 15rc4P2NQ3zuzk2r3RYyYtYmCV7aeMGbRdEHxrT2UNdJQpfr

@vorot93 vorot93 requested a review from a team as a code owner January 11, 2022 08:51
@vorot93 vorot93 force-pushed the bytes branch 3 times, most recently from de64dd7 to ba5a2e5 Compare January 11, 2022 13:13
src/bytes.rs Outdated Show resolved Hide resolved
@vorot93
Copy link
Contributor Author

vorot93 commented Jan 12, 2022

@bkchr I reworked the PR to make use of WrapperTypeEncode and EncodeLike, just the way SCALE is implemented for String and memory containers. Also added tests.

@vorot93 vorot93 requested review from bkchr and removed request for a team January 13, 2022 07:43
@vorot93
Copy link
Contributor Author

vorot93 commented Jan 22, 2022

Any chance this could be merged soon? @bkchr

Copy link
Member

@bkchr bkchr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay

Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
src/codec.rs Outdated Show resolved Hide resolved
src/codec.rs Outdated Show resolved Hide resolved
src/codec.rs Outdated Show resolved Hide resolved
src/codec.rs Outdated Show resolved Hide resolved
@bkchr
Copy link
Member

bkchr commented Jan 23, 2022

Ty for fixing the ui test!

@bkchr bkchr merged commit eb37d20 into paritytech:master Jan 23, 2022
@vorot93 vorot93 deleted the bytes branch January 23, 2022 17:52
@shawntabrizi
Copy link
Member

@vorot93 if you post your polkadot or kusama address, I will open a treasury tip for you

@vorot93
Copy link
Contributor Author

vorot93 commented Jan 24, 2022

@shawntabrizi Sure

15rc4P2NQ3zuzk2r3RYyYtYmCV7aeMGbRdEHxrT2UNdJQpfr on Polkadot

Thanks!

@shawntabrizi
Copy link
Member

Done: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.polkadot.io#/treasury/tips

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include support for bytes::Bytes
3 participants