-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: a helper to implement ccc base class #81
base: master
Are you sure you want to change the base?
Conversation
|
Please have a review @Hanssen0 |
@homura if use molecule in ccc, molecule-es is required for now? |
This PR introduces the
Base
class for CCC and a helper function to implement the required methods, includingstatic fromBytes
,toBytes
,clone
,hash
, andeq
. As an transition program, it works well with molecule-es and@ckb-lumos/codec
to reduce boilerplate code