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

feat: add perun types && fix: add marshal method for script group #225

Open
wants to merge 11 commits into
base: v2
Choose a base branch
from

Conversation

ravi0131
Copy link

@ravi0131 ravi0131 commented Oct 17, 2024

What does this PR do?

  • Add support for Perun types for perun-ckb-backend (feat)
  • add method for marshalling TransactionScriptWithGroups (fix)

@ravi0131 ravi0131 changed the title feat: add perun types feat: add perun types Oct 17, 2024
@ravi0131 ravi0131 changed the title feat: add perun types feat: add perun types Oct 17, 2024
@ravi0131 ravi0131 changed the title feat: add perun types feat: add perun types && fix: add marshal method for script group Oct 17, 2024
@ravi0131
Copy link
Author

ravi0131 commented Dec 5, 2024

Alright. Thanks for the feedback @code-monad, I will add the header for offchain_type.go and since perun_types.go is generated, I will add its corresponding molecule file too.

- molecule schema of perun and offchain types
- headers in offchain_type.go
@ravi0131
Copy link
Author

ravi0131 commented Dec 16, 2024

@code-monad @eval-exec I have added the header and the molecule schemas

Copy link
Contributor

@eval-exec eval-exec left a comment

Choose a reason for hiding this comment

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

Approved, invite @code-monad @quake to review.

Copy link
Collaborator

@code-monad code-monad left a comment

Choose a reason for hiding this comment

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

Tried to reproduce, the code generation seems to have no issue. and the marshal fn is okay.
But maybe better add at least one necessary test case in order to make it more clear how the data should looks like

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.

5 participants