Skip to content

Commit

Permalink
Fixes after another rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Nov 8, 2024
1 parent d9d94e3 commit 16b649c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion yarn-project/circuit-types/src/interfaces/aztec-node.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,10 @@ class MockAztecNode implements AztecNode {
expect(leafIndex).toBe(1n);
return Promise.resolve(SiblingPath.random(NULLIFIER_TREE_HEIGHT));
}
getNoteHashSiblingPath(blockNumber: number | 'latest', leafIndex: bigint): Promise<SiblingPath<32>> {
getNoteHashSiblingPath(
blockNumber: number | 'latest',
leafIndex: bigint,
): Promise<SiblingPath<typeof NOTE_HASH_TREE_HEIGHT>> {
expect(leafIndex).toBe(1n);
return Promise.resolve(SiblingPath.random(NOTE_HASH_TREE_HEIGHT));
}
Expand Down
12 changes: 6 additions & 6 deletions yarn-project/protocol-contracts/src/protocol_contract_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ export const ProtocolContractAddress: Record<ProtocolContractName, AztecAddress>
};

export const ProtocolContractLeaf = {
AuthRegistry: Fr.fromString('0x1a129d5eeeb6eed1139d24c108050f941a6cc4cbe91a844dc10c40f4c1513b14'),
ContractInstanceDeployer: Fr.fromString('0x01314b6c482a9d8f5418cd0d43c17a1c5899ae7c2e1d2f82817baaf3f3b45bd9'),
AuthRegistry: Fr.fromString('0x295f52c40413b660d817ceea60d07154322a035d28d18927b2ca84e8ec3b2115'),
ContractInstanceDeployer: Fr.fromString('0x00113ad28d270a493266484d733f73a56b98c74b4e2cdf9fc040b5d3a6560f2d'),
ContractClassRegisterer: Fr.fromString('0x1d591819cccc4031cc18a7865321c54f6344ae42a205782874d1f72648df2034'),
MultiCallEntrypoint: Fr.fromString('0x239e24a3edecc2a3cbc1b887f5c81410ed0b5586a6a02fdfa170ebab1db730f5'),
FeeJuice: Fr.fromString('0x14c62d13cca830462ea77bb787878cca3fb8fbb44ffe4d1662c5ffdf98889d5b'),
Router: Fr.fromString('0x05fa1b40b9addbd853af7577676ad31b8b4472eb15c0ac30e784b65b66c40172'),
MultiCallEntrypoint: Fr.fromString('0x2b8848426e8142d658de233943cf5092d5a265bb69be51760e26827b806558a5'),
FeeJuice: Fr.fromString('0x2ed38c200a958d2364c9a8c6f7475cb53e75f602bb7a873b81668c5e431baeb7'),
Router: Fr.fromString('0x22ec69dd15cc4f9d7272fa362aa86212797ff2c73f33975f78f9d0289322d401'),
};

export const protocolContractTreeRoot = Fr.fromString(
'0x098b4e6982a6797616854cb7c92b9f9f32e943bc0033cff2ad7e211ea1eeee97',
'0x076133fdf0e7944b748650bbc5f5d154ddbe6b97fa93219f09e42c7d00b03532',
);

0 comments on commit 16b649c

Please sign in to comment.