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] wasm-bindgen conflict with wasm32-unknown-unknown targets #973

Closed
EmperorOrokuSaki opened this issue Jun 25, 2024 · 2 comments · Fixed by #974
Closed

[Bug] wasm-bindgen conflict with wasm32-unknown-unknown targets #973

EmperorOrokuSaki opened this issue Jun 25, 2024 · 2 comments · Fixed by #974
Labels
bug Something isn't working

Comments

@EmperorOrokuSaki
Copy link
Contributor

Component

consensus, eips, genesis

What version of Alloy are you on?

v0.1.1

Operating System

Linux

Describe the bug

Hi! When the "consensus" feature is enabled, builds and deployments for wasm32-unknown-unknown targets fail due to the presence of the wasm-bindgen crate in the dependencies. What is the best path to avoid this? Could it be made optional similar to how this was dealt with for the contract feature? I can make a PR for it if you give me a hint :)

@DaniPopes
Copy link
Member

Thanks for opening the issue, it should be fixed with #974. For now you can pin to git main, or the workaround is to use the alloy-consensus crate directly.

I'd like to ask you what are you using the wasm32-unknown target without wasm-bindgen/js for? We would like to also support this usecase in CI.

@EmperorOrokuSaki
Copy link
Contributor Author

EmperorOrokuSaki commented Jun 26, 2024

Thanks for the quick response! I'm using it for writing smart contracts on the IC network. @DaniPopes

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

Successfully merging a pull request may close this issue.

2 participants