Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jan 8, 2024
1 parent 680b7af commit eeba461
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion yarn-project/circuits.js/src/structs/header.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { StateReference, AppendOnlyTreeSnapshot, Fr, GlobalVariables } from './i
/** A header of an L2 block. */
export class Header {
constructor(
/** Snapshot of archive at the end of the block. */
/** Snapshot of archive before the block is applied. */
public lastArchive: AppendOnlyTreeSnapshot,
/** Hash of the body of an L2 block. */
public bodyHash: [Fr, Fr],
Expand Down
4 changes: 2 additions & 2 deletions yarn-project/pxe/src/pxe_service/test/pxe_service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('PXEService', () => {

node.getTx.mockResolvedValue(settledTx);

const rpc = new PXEService(keyStore, node, db, config);
await expect(rpc.sendTx(duplicateTx)).rejects.toThrowError(/A settled tx with equal hash/);
const pxe = new PXEService(keyStore, node, db, config);
await expect(pxe.sendTx(duplicateTx)).rejects.toThrowError(/A settled tx with equal hash/);
});
});

0 comments on commit eeba461

Please sign in to comment.