Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

feat(acvm): add eth_contract_from_vk to `SmartContract #113

Merged
merged 2 commits into from
Feb 22, 2023

Conversation

TomAFrench
Copy link
Member

chore: deprecate eth_contract_from_cs

Related issue(s)

Resolves #102

Description

Summary of changes

eth_contract_from_cs is now deprecated and eth_contract_from_vk has been added which takes a &[u8] rather than a Circuit.

Dependency additions / changes

(If applicable.)

Test additions / changes

(If applicable.)

Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt with default settings.
  • I have linked this PR to the issue(s) that it resolves.
  • I have reviewed the changes on GitHub, line by line.
  • I have ensured all changes are covered in the description.

Additional context

(If applicable.)

@phated
Copy link
Contributor

phated commented Feb 22, 2023

Adding a deprecation shouldn't be breaking. It's just a warning that something will have a breaking change in the future.

@TomAFrench
Copy link
Member Author

Adding a deprecation shouldn't be breaking. It's just a warning that something will have a breaking change in the future.

Whoops, got a bit trigger happy with all the breaking changes recently 😅

@TomAFrench TomAFrench changed the title feat(acvm)!: add eth_contract_from_vk to `SmartContract feat(acvm): add eth_contract_from_vk to `SmartContract Feb 22, 2023
@TomAFrench TomAFrench merged commit 373c18f into master Feb 22, 2023
@TomAFrench TomAFrench deleted the eth-contract-from-vk branch February 22, 2023 15:18
@github-actions github-actions bot mentioned this pull request Feb 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch SmartContract to accept a verification key instead of a constraint system
3 participants