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

[Rust]: Extend codegen-v2 capabilities #3570

Merged
merged 21 commits into from
Nov 24, 2023
Merged

[Rust]: Extend codegen-v2 capabilities #3570

merged 21 commits into from
Nov 24, 2023

Conversation

satoshiotomakan
Copy link
Collaborator

@satoshiotomakan satoshiotomakan commented Nov 23, 2023

Description

  • Generate protobuf file on new-blockchain <coinid> command.
  • Generate C++ Entry.cpp file as well to make it straightforward for the external developers.
  • Generate C++ integration tests within tests/<chainid> dir.
  • Generate Rust Signer and Address structures on cargo run -- new-blockchain.
  • Configure codegen-v1 tool to generate only Kotlin and Swift tests.
  • Generate Kotlin, Swift integration tests.
  • Add cargo run -- newevmchain command.

How to test

Types of changes

Checklist

  • Create pull request as draft initially, unless its complete.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • If there is a related Issue, mention it in the description.

If you're adding a new blockchain

  • I have read the guidelines for adding a new blockchain.

@satoshiotomakan satoshiotomakan marked this pull request as ready for review November 24, 2023 11:35
Copy link
Contributor

@lamafab lamafab left a comment

Choose a reason for hiding this comment

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

Looks great! 👌

@satoshiotomakan satoshiotomakan merged commit 6ef3eb5 into master Nov 24, 2023
13 checks passed
@satoshiotomakan satoshiotomakan deleted the s/cpp-codegen branch November 24, 2023 13:22
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.

2 participants