Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing Layerzero Smart contracts #9019

Open
2 tasks done
0xtomoon opened this issue Oct 3, 2024 · 1 comment
Open
2 tasks done

Importing Layerzero Smart contracts #9019

0xtomoon opened this issue Oct 3, 2024 · 1 comment
Labels
A-config Area: config T-bug Type: bug T-question Type: question

Comments

@0xtomoon
Copy link

0xtomoon commented Oct 3, 2024

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0

What command(s) is the bug in?

forge test -vvv

Operating System

macOS (Intel)

Describe the bug

I use openzeppelin library with version 5.0.2, but when I import @layerzerolabs/lz-evm-messagelib-v2 it uses version 4.8.1 inside

How can I handle remapping in this case?

@0xtomoon 0xtomoon added T-bug Type: bug T-needs-triage Type: this issue needs to be labelled labels Oct 3, 2024
@mattsse
Copy link
Member

mattsse commented Oct 3, 2024

can you take a look at your remappings forge re

this is likely a problem with autodetection, you can disable that with auto_detect_remappings = false

@zerosnacks zerosnacks added T-question Type: question A-config Area: config and removed T-needs-triage Type: this issue needs to be labelled labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-config Area: config T-bug Type: bug T-question Type: question
Projects
Status: Todo
Development

No branches or pull requests

3 participants