Skip to content

Commit

Permalink
chore: Delete unused contract tree ts code (#5229)
Browse files Browse the repository at this point in the history
Deletes code unused since the contract tree was removed.
  • Loading branch information
spalladino committed Mar 15, 2024
1 parent 6421a3d commit b48dd23
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 191 deletions.
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';

0 comments on commit b48dd23

Please sign in to comment.