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

chore: Delete unused contract tree ts code #5229

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion yarn-project/circuits.js/src/contract/contract_class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ export function getContractClassFromArtifact(
* Returns zero for consistency with Noir.
*/
function getVerificationKeyHash(_verificationKeyInBase64: string) {
// return Fr.fromBuffer(hashVKStr(verificationKeyInBase64));
// return Fr.fromBuffer(hashVK(Buffer.from(verificationKeyInBase64, 'hex')));
return Fr.ZERO;
}
109 changes: 0 additions & 109 deletions yarn-project/circuits.js/src/contract/contract_tree/contract_tree.ts

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions yarn-project/circuits.js/src/contract/contract_tree/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion yarn-project/circuits.js/src/contract/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ export * from './contract_class_id.js';
export * from './contract_class_registered_event.js';
export * from './contract_instance.js';
export * from './contract_instance_deployed_event.js';
export * from './contract_tree/index.js';
export * from './private_function.js';
export * from './public_bytecode.js';
Loading