Skip to content

Commit

Permalink
šŸ§¹remove all references to @layerzerolabs/lz-evm-oapp-v2 (#823)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Goulding <[email protected]>
  • Loading branch information
ryandgoulding authored Aug 15, 2024
1 parent 5f82713 commit ff7d418
Show file tree
Hide file tree
Showing 26 changed files with 3,428 additions and 930 deletions.
4 changes: 2 additions & 2 deletions examples/oapp/contracts/MyOApp.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
pragma solidity ^0.8.22;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { OApp, MessagingFee, Origin } from "@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/OApp.sol";
import { MessagingReceipt } from "@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/OAppSender.sol";
import { OApp, MessagingFee, Origin } from "@layerzerolabs/oapp-evm/contracts/oapp/OApp.sol";
import { MessagingReceipt } from "@layerzerolabs/oapp-evm/contracts/oapp/OAppSender.sol";

contract MyOApp is OApp {
constructor(address _endpoint, address _delegate) OApp(_endpoint, _delegate) Ownable(_delegate) {}
Expand Down
2 changes: 1 addition & 1 deletion examples/oapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"@layerzerolabs/eslint-config-next": "~2.3.34",
"@layerzerolabs/lz-definitions": "^2.3.34",
"@layerzerolabs/lz-evm-messagelib-v2": "^2.3.34",
"@layerzerolabs/lz-evm-oapp-v2": "^2.3.34",
"@layerzerolabs/lz-evm-protocol-v2": "^2.3.34",
"@layerzerolabs/lz-evm-v1-0.7": "^2.3.34",
"@layerzerolabs/lz-v2-utilities": "^2.3.34",
"@layerzerolabs/oapp-evm": "^0.0.2",
"@layerzerolabs/prettier-config-next": "^2.3.34",
"@layerzerolabs/solhint-config": "^2.3.34",
"@layerzerolabs/test-devtools-evm-foundry": "~0.2.10",
Expand Down
4 changes: 2 additions & 2 deletions examples/oapp/test/foundry/MyOApp.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ pragma solidity ^0.8.20;
import { MyOApp } from "../../contracts/MyOApp.sol";

// OApp imports
import { IOAppOptionsType3, EnforcedOptionParam } from "@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/libs/OAppOptionsType3.sol";
import { OptionsBuilder } from "@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/libs/OptionsBuilder.sol";
import { IOAppOptionsType3, EnforcedOptionParam } from "@layerzerolabs/oapp-evm/contracts/oapp/libs/OAppOptionsType3.sol";
import { OptionsBuilder } from "@layerzerolabs/oapp-evm/contracts/oapp/libs/OptionsBuilder.sol";

// OZ imports
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
Expand Down
1 change: 0 additions & 1 deletion packages/oapp-evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"@layerzerolabs/lz-evm-v1-0.7": "^2.3.34",
"@layerzerolabs/test-devtools-evm-foundry": "~0.2.10",
"@layerzerolabs/toolbox-foundry": "^0.1.9",
"@layerzerolabs/toolbox-hardhat": "~0.3.3",
"@openzeppelin/contracts": "^5.0.2",
"@openzeppelin/contracts-upgradeable": "^5.0.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/oft-evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
},
"peerDependencies": {
"@layerzerolabs/lz-evm-messagelib-v2": "^2.3.29",
"@layerzerolabs/lz-evm-oapp-v2": "^2.3.29",
"@layerzerolabs/lz-evm-protocol-v2": "^2.3.29",
"@layerzerolabs/lz-evm-v1-0.7": "^2.3.29",
"@layerzerolabs/oapp-evm": "^0.0.2",
"@openzeppelin/contracts": "^4.8.1 || ^5.0.0",
"@openzeppelin/contracts-upgradeable": "^4.8.1 || ^5.0.0"
},
Expand Down
2,915 changes: 2,914 additions & 1 deletion packages/onft-evm/artifacts/ONFT721Base.sol/ONFT721Base.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

7 changes: 3 additions & 4 deletions packages/test-devtools-evm-foundry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@
"scripts": {
"coverage": "forge coverage --ir-minimum",
"lint": "$npm_execpath eslint '**/*.{js,ts,json}'",
"lint:fix": "eslint --fix '**/*.{js,ts,json}'",
"test": "forge test"
"lint:fix": "eslint --fix '**/*.{js,ts,json}'"
},
"devDependencies": {
"@layerzerolabs/lz-evm-messagelib-v2": "^2.3.34",
"@layerzerolabs/lz-evm-oapp-v2": "^2.3.34",
"@layerzerolabs/lz-evm-protocol-v2": "^2.3.34",
"@layerzerolabs/lz-evm-v1-0.7": "^2.3.34",
"@layerzerolabs/toolbox-foundry": "^0.1.9",
Expand All @@ -33,9 +31,10 @@
},
"peerDependencies": {
"@layerzerolabs/lz-evm-messagelib-v2": "^2.3.3",
"@layerzerolabs/lz-evm-oapp-v2": "^2.3.3",
"@layerzerolabs/lz-evm-protocol-v2": "^2.3.3",
"@layerzerolabs/lz-evm-v1-0.7": "^2.3.3",
"@layerzerolabs/oapp-evm": "^0.0.2",
"@layerzerolabs/oft-evm": "^0.0.9",
"@openzeppelin/contracts": "^4.9.5 || ^5.0.0",
"@openzeppelin/contracts-upgradeable": "^4.9.5 || ^5.0.0"
},
Expand Down
86 changes: 0 additions & 86 deletions packages/test-devtools-evm-foundry/test/foundry/MyOFT.t.sol

This file was deleted.

56 changes: 0 additions & 56 deletions packages/test-devtools-evm-foundry/test/foundry/OmniCounter.t.sol

This file was deleted.

70 changes: 0 additions & 70 deletions packages/test-devtools-evm-foundry/test/foundry/mocks/OFTMock.sol

This file was deleted.

Loading

0 comments on commit ff7d418

Please sign in to comment.