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

Unable to import types #15

Closed
jrwbabylonlab opened this issue Oct 31, 2024 · 6 comments
Closed

Unable to import types #15

jrwbabylonlab opened this issue Oct 31, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@jrwbabylonlab
Copy link
Collaborator

jrwbabylonlab commented Oct 31, 2024

npm install this lib in simple-staking, try import any of the types, error will be throw.

@jrwbabylonlab jrwbabylonlab added the bug Something isn't working label Oct 31, 2024
@gbarkhatov
Copy link
Collaborator

Dirty solution
simple-staking next.config.mjs:

  transpilePackages: ["@babylonlabs-io/babylon-proto-ts"],

@jrwbabylonlab
Copy link
Collaborator Author

@gbarkhatov could you try resolve this when u have time? Although we currently stuck on the EOI issues, this change will be required once blocker are resolved.

Apart from the dirty solution you mentioned, is there a better, cleaner, proper solution available?

@gbarkhatov
Copy link
Collaborator

gbarkhatov commented Nov 3, 2024

Apart from the dirty solution you mentioned, is there a better, cleaner, proper solution available?

Yep, we need to play around with the expected types in our lib

@jrwbabylonlab
Copy link
Collaborator Author

Put this ticket on hold as we discovered the protobuf might not needed at all

@gbarkhatov
Copy link
Collaborator

@jrwbabylonlab just to confirm - we do need them now, right?

@jrwbabylonlab
Copy link
Collaborator Author

yes. i will deal with it. will let you focus on the UI stuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants