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

skip get_constructor_signature when set wasm-file #142

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Jason-W123
Copy link
Contributor

@Jason-W123 Jason-W123 commented Feb 21, 2025

Description

Currently this tool will try to treat current projec as an rust sdk project (it will try to get Cargo.toml file and the file with export-abi) even when user set --wasm-file=xx.wasm, however, user in this case usually just want to provide one single xx.wasm file here to deploy and if users write the stylus program with other language will either not provide those files, so we should skip export_abi::get_constructor_signature() in this case.

@Jason-W123 Jason-W123 requested a review from gligneul February 21, 2025 10:34
@Jason-W123 Jason-W123 changed the title fix when set wasm-file skip get_constructor_signature when set wasm-file Feb 21, 2025
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.

1 participant