Omniscia vfat Audit

NuriRouterConnector Code Style Findings

NuriRouterConnector Code Style Findings

NRC-01C: Redundant Code Duplication

Description:

The NuriRouterConnector implementation is identical to the RamsesRouterConnector with no distinguishable difference.

Example:

contracts/connectors/nuri/NuriRouterConnector.sol
20struct NuriSwapExtraData {
21 IRamsesRouter.Route[] routes;
22}

Recommendation:

We advise the code to inherit the RamsesRouterConnector, reducing the codebase's overall redundancy.

Alleviation (6ab7af3bb495b817ffec469255ea679b1813eecb):

The contract was updated to inherit the RamsesRouterConnector, significantly optimizing the project’s structure.