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

Missing error signature in ILayerZeroPriceFeed #978

Open
0xdcota opened this issue Nov 6, 2024 · 0 comments
Open

Missing error signature in ILayerZeroPriceFeed #978

0xdcota opened this issue Nov 6, 2024 · 0 comments

Comments

@0xdcota
Copy link

0xdcota commented Nov 6, 2024

I appears that PriceFeedMock.sol in LayerZero-Labs/devtools/packages/test-devtools-evm-foundry/contracts/mocks/PriceFeedMock.sol

Is missing the error LZ_PriceFeed_NotAnOPStack(uint32) in the interface.

revert LZ_PriceFeed_NotAnOPStack(l2Eid);

Interface is defined in LayerZero-Labs/LayerZero-v2/packages/layerzero-v2/evm/messagelib/contracts/interfaces/ILayerZeroPriceFeed.sol

https://github.com/LayerZero-Labs/LayerZero-v2/blob/2d4d177d017d525bfe11892a98f2c511155d2160/packages/layerzero-v2/evm/messagelib/contracts/interfaces/ILayerZeroPriceFeed.sol#L37-L41

Or the dependencies are broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant