• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hicommonwealth / commonwealth / 22145292825

18 Feb 2026 03:09PM UTC coverage: 38.186%. First build
22145292825

Pull #13371

github

web-flow
Merge ba97a54fb into 3e9d56804
Pull Request #13371: Merge beta → production

2107 of 6006 branches covered (35.08%)

Branch coverage included in aggregate %.

208 of 265 new or added lines in 19 files covered. (78.49%)

3774 of 9395 relevant lines covered (40.17%)

52.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/libs/model/src/utils/chainNodeUtils.ts
1
import { CustomRetryStrategyError } from '@hicommonwealth/core';
2
import { models } from '../database';
3

4
export async function chainNodeMustExist(ethChainId: number) {
5
  const chainNode = await models.ChainNode.scope('withPrivateData').findOne({
1✔
6
    where: {
7
      eth_chain_id: ethChainId,
8
    },
9
  });
10

11
  if (!chainNode) {
1!
12
    // dead-letter with no retries -- should never happen
NEW
13
    throw new CustomRetryStrategyError(
×
14
      `Chain node with eth_chain_id ${ethChainId} not found!`,
15
      { strategy: 'nack' },
16
    );
17
  }
18

19
  return chainNode;
1✔
20
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc