Skip to content

Commit

Permalink
fix: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
tabaktoni committed Aug 29, 2022
1 parent 548cf6e commit 0c75f6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/types/api/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export namespace RPC {
gas_price: number;
};

export type getBlockWithTxHashesResponse = OPENRPC.GetBlockWithTxHashesResponse;
export type getBlockWithTxs = OPENRPC.GetBlockWithTxs;
export type GetBlockWithTxHashesResponse = OPENRPC.GetBlockWithTxHashesResponse;
export type GetBlockWithTxs = OPENRPC.GetBlockWithTxs;
export type GetStorageAtResponse = OPENRPC.GetStorageAtResponse;

export type GetTransactionReceiptResponse = {
Expand Down Expand Up @@ -133,12 +133,12 @@ export namespace RPC {
starknet_getBlockWithTxHashes: {
QUERY: never;
REQUEST: any[];
RESPONSE: getBlockWithTxHashesResponse;
RESPONSE: GetBlockWithTxHashesResponse;
};
starknet_getBlockWithTxs: {
QUERY: never;
REQUEST: any[];
RESPONSE: getBlockWithTxs;
RESPONSE: GetBlockWithTxs;
};
starknet_getNonce: {
QUERY: never;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/responseParser/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { RPC } from '../../types/api';
import { toBN } from '../number';
import { ResponseParser } from '.';

type RpcGetBlockResponse = RPC.getBlockWithTxHashesResponse & {
type RpcGetBlockResponse = RPC.GetBlockWithTxHashesResponse & {
[key: string]: any;
};

Expand Down

0 comments on commit 0c75f6f

Please sign in to comment.