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

Witgen handles calls to non-existent contracts #10373

Closed
Tracked by #10044
dbanks12 opened this issue Dec 3, 2024 · 0 comments · Fixed by #10862
Closed
Tracked by #10044

Witgen handles calls to non-existent contracts #10373

dbanks12 opened this issue Dec 3, 2024 · 0 comments · Fixed by #10862
Assignees

Comments

@dbanks12
Copy link
Collaborator

dbanks12 commented Dec 3, 2024

No description provided.

@dbanks12 dbanks12 self-assigned this Dec 3, 2024
dbanks12 added a commit that referenced this issue Dec 19, 2024
Exceptionally halt & consume all gas on a call to a non-existent
contract. Should be able to prove.

Hacked this to work for top-level/enqueued-calls by adding a dummy row
(`op_add`) and then raising an exceptional halt.

Resolves #10373
Resolves #10044

Follow-up work:
- Add tests for bytecode deserialization failures (sim & witgen)
AztecBot pushed a commit to AztecProtocol/barretenberg that referenced this issue Dec 20, 2024
Exceptionally halt & consume all gas on a call to a non-existent
contract. Should be able to prove.

Hacked this to work for top-level/enqueued-calls by adding a dummy row
(`op_add`) and then raising an exceptional halt.

Resolves AztecProtocol/aztec-packages#10373
Resolves AztecProtocol/aztec-packages#10044

Follow-up work:
- Add tests for bytecode deserialization failures (sim & witgen)
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 a pull request may close this issue.

1 participant