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

Get different contract-method name on codegen-verifier #974

Open
hpmaxi opened this issue May 6, 2024 · 0 comments
Open

Get different contract-method name on codegen-verifier #974

hpmaxi opened this issue May 6, 2024 · 0 comments

Comments

@hpmaxi
Copy link

hpmaxi commented May 6, 2024

Problem

When trying to deploy a contract generated by codegen-verifier, if more than one was generated for different verification tasks, the next command fails because of this

await viem.deployContract('UltraVerifier');

I think, that in case of receiving an argument, should be interpolated here.

Happy Case

Have a way to rename the target contract/method

Project Impact

Nice-to-have

Impact Context

No response

Workaround

Yes

Workaround Description

Use the fully qualified path/name

await viem.deployContract('contract/folder/plonk_vk.sol:UltraVerifier');

Additional Context

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

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