Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
fix compilation issues
update snapshots
  • Loading branch information
just-mitch authored and alexghr committed Feb 22, 2024
1 parent b8305bf commit a78ea0d
Show file tree
Hide file tree
Showing 7 changed files with 23,838 additions and 23,844 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ contract GasToken {
let content_hash = get_bridge_gas_msg_hash(to, amount, canceller);

// Consume message and emit nullifier
context.consume_l1_to_l2_message(msg_key, content_hash, secret);
context.consume_l1_to_l2_message(msg_key, content_hash, secret, context.this_portal_address());

let new_balance = storage.balances.at(to).read().add(SafeU120::new(amount));
storage.balances.at(to).write(new_balance);
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/entrypoints/src/dapp_entrypoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class DefaultDappEntrypoint implements EntrypointInterface {
GeneratorIndex.SIGNATURE_PAYLOAD,
);

const authWitness = await this.userAuthWitnessProvider.createAuthWitness(Fr.fromBuffer(hash));
const authWitness = await this.userAuthWitnessProvider.createAuthWitness(hash);

const txRequest = TxExecutionRequest.from({
argsHash: entrypointPackedArgs.hash,
Expand Down
Loading

0 comments on commit a78ea0d

Please sign in to comment.