Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,6 @@ export class BlockService implements IBlockService {
throw predefined.RESOURCE_NOT_FOUND(`Block: ${blockHashOrBlockNumber}`);
}

const blockNumber = block.number;
const cacheKey = `${constants.CACHE_KEY.ETH_GET_BLOCK_RECEIPTS}_${blockNumber}`;
const cachedResponse = await this.cacheService.getAsync(cacheKey, constants.ETH_GET_BLOCK_RECEIPTS, requestDetails);
if (cachedResponse) {
return cachedResponse;
}

const paramTimestamp: IContractResultsParams = {
timestamp: [`lte:${block.timestamp.to}`, `gte:${block.timestamp.from}`],
};
Expand Down
Loading