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

chore: add Go code generation for IDL #52

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

chore: add Go code generation for IDL #52

wants to merge 10 commits into from

Conversation

lumtis
Copy link
Member

@lumtis lumtis commented Oct 9, 2024

Generate Go code used in node for the programs IDL.

There are limitation right now as for example not all fields of the IDL are generated.

The current idea will first be for node to import the package in this repo so it can be visualized what version is tied to the current code in ZetaClient and prevent interface breaking

@lumtis lumtis linked an issue Oct 9, 2024 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 6.53%. Comparing base (2c18683) to head (e48d82f).

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #52   +/-   ##
=====================================
  Coverage   6.53%   6.53%           
=====================================
  Files          1       1           
  Lines        398     398           
=====================================
  Hits          26      26           
  Misses       372     372           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@skosito
Copy link
Contributor

skosito commented Oct 24, 2024

@lumtis i renamed a module (it was missing zeta-chain) and generated latest gateway.go, started integrating with this PR (not yet complete): zeta-chain/node#2984

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.

Generate or produce Go binding on this repository
3 participants