Skip to content

Commit

Permalink
Fix serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Mar 1, 2024
1 parent 7032c32 commit 50d52ae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion yarn-project/archiver/src/rpc/archiver_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
L1ToL2Message,
L2Block,
L2BlockL2Logs,
NullifierMembershipWitness,
TxReceipt,
} from '@aztec/circuit-types';
import { EthAddress, Fr } from '@aztec/circuits.js';
Expand All @@ -27,7 +28,7 @@ export const createArchiverClient = (url: string, fetch = makeFetch([1, 2, 3], t
L2Block,
L2BlockL2Logs,
},
{ TxReceipt },
{ TxReceipt, NullifierMembershipWitness },
false,
'archiver',
fetch,
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/archiver/src/rpc/archiver_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
L1ToL2Message,
L2Block,
L2BlockL2Logs,
NullifierMembershipWitness,
TxEffect,
TxReceipt,
} from '@aztec/circuit-types';
Expand Down Expand Up @@ -34,7 +35,7 @@ export function createArchiverRpcServer(archiverService: Archiver): JsonRpcServe
L2BlockL2Logs,
TxEffect,
},
{ TxReceipt },
{ TxReceipt, NullifierMembershipWitness },
['start', 'stop'],
);
}
3 changes: 2 additions & 1 deletion yarn-project/aztec-node/src/aztec-node/http_rpc_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
L2Block,
L2BlockL2Logs,
LogId,
NullifierMembershipWitness,
SiblingPath,
Tx,
TxEffect,
Expand Down Expand Up @@ -43,7 +44,7 @@ export function createAztecNodeRpcServer(node: AztecNode) {
SiblingPath,
L1ToL2MessageAndIndex,
},
{ Tx, TxReceipt, L2BlockL2Logs },
{ Tx, TxReceipt, L2BlockL2Logs, NullifierMembershipWitness },
// disable methods not part of the AztecNode interface
['start', 'stop'],
);
Expand Down
3 changes: 2 additions & 1 deletion yarn-project/pxe/src/pxe_http/pxe_http_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
L2BlockL2Logs,
LogId,
Note,
NullifierMembershipWitness,
PXE,
Tx,
TxEffect,
Expand Down Expand Up @@ -51,7 +52,7 @@ export function createPXERpcServer(pxeService: PXE): JsonRpcServer {
TxEffect,
LogId,
},
{ Tx, TxReceipt, L2BlockL2Logs },
{ Tx, TxReceipt, L2BlockL2Logs, NullifierMembershipWitness },
['start', 'stop'],
);
}
Expand Down

0 comments on commit 50d52ae

Please sign in to comment.