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

[bug] Using bindings as a depency fails to compile. #39

Closed
matzayonc opened this issue Aug 29, 2024 · 1 comment
Closed

[bug] Using bindings as a depency fails to compile. #39

matzayonc opened this issue Aug 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@matzayonc
Copy link

ver: ff8853f

After adding as a dependency

piltover_bindings = { package = "bindings", git = "https://github.com/keep-starknet-strange/piltover.git", rev = "ff8853fde770fac31ea071892242e12cd386a3f1" }

The whole program failes to compile.

3 | / abigen!(
4 | |     AppChain,
5 | |     "../target/dev/piltover_appchain.contract_class.json",
6 | |     output_path("src/bindings.rs")
7 | | );
  | |_^

How to reproduce:
Add a dependency to any program

Proposed solution
Include compiled json in this repository

@matzayonc matzayonc added the bug Something isn't working label Aug 29, 2024
@glihm
Copy link
Collaborator

glihm commented Sep 6, 2024

Should be solved in #32 with cainome being bumped. Don't hesitate to re-open if necessary.

@glihm glihm closed this as completed Sep 6, 2024
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