smartcontractkit / ccip

Cross Chain Interoperability Protocol
Other
119 stars 47 forks source link

Implement getTotalChainConfigurations #1419

Closed RayXpub closed 1 month ago

RayXpub commented 1 month ago

Motivation

The goal of this PR is to add a getter function to the CCIPConfig contract to fetch the total number of chains configured. This value is necessary to correctly call getAllChainConfigs and previously, the only way to access it was through events.

Solution

Implement getTotalChainConfigurations.

github-actions[bot] commented 1 month ago

LCOV of commit 84abb82 during Solidity Foundry #8057

Summary coverage rate:
  lines......: 97.6% (2157 of 2209 lines)
  functions..: 94.9% (409 of 431 functions)
  branches...: 93.4% (513 of 549 branches)

Files changed coverage rate: n/a
cl-sonarqube-production[bot] commented 1 month ago

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube