Skip to content

Commit

Permalink
Clear old TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikugogoi committed Nov 9, 2023
1 parent 024b224 commit 9aab30b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ipld-eth-client/src/eth-queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ query allEthHeaderCids($blockNumber: BigInt, $blockHash: String) {
}
`;

// TODO: Get size from ipld-eth-server
// TODO: Get block size from ipld-eth-server
export const getFullBlocks = gql`
query allEthHeaderCids($blockNumber: BigInt, $blockHash: String) {
allEthHeaderCids(condition: { blockNumber: $blockNumber, blockHash: $blockHash }) {
Expand Down
1 change: 0 additions & 1 deletion packages/rpc-eth-client/src/eth-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ export class EthClient implements EthClientInterface {
return acc;
}, new Set<string>());

// TODO: Get tx receipt in job-runner when fetching blocks and txs
const txReceipts = await Promise.all(Array.from(txHashesSet).map(txHash => this._provider.getTransactionReceipt(txHash)));

const txReceiptMap = txReceipts.reduce((acc, txReceipt) => {
Expand Down
1 change: 0 additions & 1 deletion packages/util/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ export const fetchBlocksAtHeight = async (
while (!blocks.length) {
try {
console.time('time:common#_fetchBlocks-eth-server');
// TODO: Get full block and set in blockEventsMap
blocks = await indexer.getBlocks({ blockNumber });

if (!blocks.length) {
Expand Down

0 comments on commit 9aab30b

Please sign in to comment.