Skip to content

Commit

Permalink
fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Feb 29, 2024
1 parent 2884182 commit 29348d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 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,8 @@ import {
L1ToL2Message,
L2Block,
L2BlockL2Logs,
TxEffect,
TxReceipt,
} from '@aztec/circuit-types';
import { EthAddress, Fr } from '@aztec/circuits.js';
import { JsonRpcServer } from '@aztec/foundation/json-rpc/server';
Expand All @@ -30,8 +32,9 @@ export function createArchiverRpcServer(archiverService: Archiver): JsonRpcServe
L1ToL2Message,
L2Block,
L2BlockL2Logs,
TxEffect,
},
{},
{ TxReceipt },
['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 @@ -11,6 +11,7 @@ import {
Tx,
TxEffect,
TxHash,
TxReceipt,
} from '@aztec/circuit-types';
import { FunctionSelector, Header } from '@aztec/circuits.js';
import { AztecAddress } from '@aztec/foundation/aztec-address';
Expand Down Expand Up @@ -42,7 +43,7 @@ export function createAztecNodeRpcServer(node: AztecNode) {
SiblingPath,
L1ToL2MessageAndIndex,
},
{ Tx, L2BlockL2Logs },
{ Tx, TxReceipt, L2BlockL2Logs },
// disable methods not part of the AztecNode interface
['start', 'stop'],
);
Expand Down

0 comments on commit 29348d6

Please sign in to comment.