Skip to content

Commit

Permalink
1938 - addressing ludamad feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmon committed Sep 6, 2023
1 parent 4e3b394 commit 43b6a1f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
12 changes: 4 additions & 8 deletions yarn-project/aztec-rpc/src/kernel_prover/proof_creator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,9 @@ export class KernelProofCreator implements ProofCreator {
const proof = makeEmptyProof();
this.log('Kernel Prover Init Completed!');

const publicInputs = result as KernelCircuitPublicInputs;

return {
publicInputs,
proof,
publicInputs: result,
proof: proof,
};
}

Expand All @@ -138,11 +136,9 @@ export class KernelProofCreator implements ProofCreator {
const proof = makeEmptyProof();
this.log('Kernel Prover Inner Completed!');

const publicInputs = result as KernelCircuitPublicInputs;

return {
publicInputs,
proof,
publicInputs: result,
proof: proof,
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ sibling_path: [ 0x1075 0x1076 0x1077 0x1078 0x1079 0x107a 0x107b 0x107c 0x107d 0
is_transient: 0
hint_to_commitment: 0x0
]
portal_contract_address: 0x1041
portal_contract_address: 0x4141414141414141414141414141414141414141
acir_hash: 0x1061
"
Expand Down Expand Up @@ -1306,7 +1306,7 @@ sibling_path: [ 0x1075 0x1076 0x1077 0x1078 0x1079 0x107a 0x107b 0x107c 0x107d 0
is_transient: 0
hint_to_commitment: 0x0
]
portal_contract_address: 0x1041
portal_contract_address: 0x4141414141414141414141414141414141414141
acir_hash: 0x1061
"
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/circuits.js/src/tests/factories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ export function makePrivateCallData(seed = 1): PrivateCallData {
makeReadRequestMembershipWitness,
seed + 0x70,
),
portalContractAddress: new Fr(seed + 0x40),
portalContractAddress: makeEthAddress(seed + 0x40).toField(),
acirHash: fr(seed + 0x60),
});
}
Expand Down

0 comments on commit 43b6a1f

Please sign in to comment.