Skip to content

Foundry compatibility can be improved by reducing npm/js dependency #7

@0xsuryansh

Description

@0xsuryansh

Thinking about simplifying our repo's dependency management, particularly in the oapp subdirectory, by replacing npm dependencies with direct path mappings like so:

remappings = [
    '@openzeppelin/contracts/=../lib/openzeppelin-contracts/contracts/',
    '@openzeppelin/contracts-upgradeable/=../lib/openzeppelin-contracts-upgradeable/contracts/',
    'solidity-bytes-utils/=../lib/solidity-bytes-utils',
    'hardhat-deploy/=../lib/hardhat-deploy/',
]

This could make integration easier for Foundry users but might have trade-offs, such as compatibility issues with tools like pnp-berry. I'm considering implementing this refactor unless there are significant downsides. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions