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

Error compiling upstream repo #38

Open
glihm opened this issue Jan 11, 2024 · 0 comments
Open

Error compiling upstream repo #38

glihm opened this issue Jan 11, 2024 · 0 comments

Comments

@glihm
Copy link

glihm commented Jan 11, 2024

I'm currently unable to build main, here is the feedback:

With the last merge I can't build the cairo_client and also scarb dependencies on my end I have to bump them as follow to have it compile (or is there something missed by the merge):

scarb = { git = "https://github.com/software-mansion/scarb.git", tag="v2.4.0" }
cairo-lang-compiler = "2.4.0"
cairo-lang-sierra-generator = "2.4.0"
cairo-lang-diagnostics = "2.4.0"
cairo-lang-runner = "2.4.0"
cairo-lang-starknet = "2.4.0"
cairo-lang-utils = {version = "2.4.0", features = ["env_logger"]}
cairo-lang-sierra = "2.4.0"

And running scarb build for cairo_client/cairo I experience:

   Compiling dev_sdk v0.1.0 (/mnt/data/cgg/cairo-webauthn/cairo_client/cairo/Scarb.toml)
error: Identifier not found.
 --> /mnt/data/cgg/cairo-webauthn/cairo_client/cairo/src/lib.cairo:9:23
use webauthn_session::is_valid_signature;
                      ^****************^

error: Unexpected argument type. Expected: "core::felt252", found: "core::array::Array::<core::integer::u8>".
 --> /mnt/data/cgg/cairo-webauthn/cairo_client/cairo/src/lib.cairo:113:9
        challenge,
        ^*******^


error: could not compile `dev_sdk` due to previous error
piniom pushed a commit that referenced this issue Feb 27, 2024
Auth check `set_webauthn_pub_key`
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

No branches or pull requests

1 participant