Skip to content

Commit

Permalink
🧹 Update devtools-ton (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiStevenson authored Dec 13, 2024
1 parent e2cabc5 commit 1d2abff
Show file tree
Hide file tree
Showing 55 changed files with 572 additions and 227 deletions.
37 changes: 37 additions & 0 deletions .changeset/three-cups-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
"@layerzerolabs/devtools-ton": minor
"@layerzerolabs/test-setup-devtools-evm-hardhat": patch
"@layerzerolabs/ua-devtools-evm-hardhat-v1-test": patch
"@layerzerolabs/ua-devtools-evm-hardhat-test": patch
"@layerzerolabs/omnicounter-devtools-evm": patch
"@layerzerolabs/protocol-devtools-solana": patch
"@layerzerolabs/ua-devtools-evm-hardhat": patch
"@layerzerolabs/devtools-evm-hardhat-test": patch
"@layerzerolabs/mint-burn-oft-adapter-example": patch
"@layerzerolabs/protocol-devtools-evm": patch
"@layerzerolabs/devtools-evm-hardhat": patch
"@layerzerolabs/omnicounter-devtools": patch
"@layerzerolabs/native-oft-adapter-example": patch
"@layerzerolabs/ua-devtools-solana": patch
"@layerzerolabs/protocol-devtools": patch
"@layerzerolabs/oft-upgradeable-example": patch
"@layerzerolabs/devtools-solana": patch
"@layerzerolabs/toolbox-hardhat": patch
"@layerzerolabs/ua-devtools-evm": patch
"@layerzerolabs/onft721-zksync-example": patch
"@layerzerolabs/devtools-cli-test": patch
"@layerzerolabs/devtools-evm-test": patch
"@layerzerolabs/test-devtools": patch
"@layerzerolabs/uniswap-read-example": patch
"@layerzerolabs/devtools-evm": patch
"@layerzerolabs/oft-adapter-example": patch
"@layerzerolabs/ua-devtools": patch
"@layerzerolabs/oft-solana-example": patch
"@layerzerolabs/oapp-read-example": patch
"@layerzerolabs/devtools": patch
"@layerzerolabs/onft721-example": patch
"@layerzerolabs/oapp-example": patch
"@layerzerolabs/oft-example": patch
---

new SDK methods, tests in devtools-ton, upgraded lz-definitions
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ RUN apt-get install --yes \
libatomic1 libssl-dev

# Install rust
ARG RUST_TOOLCHAIN_VERSION=1.75.0
ARG RUST_TOOLCHAIN_VERSION=1.83.0
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain ${RUST_TOOLCHAIN_VERSION}

# Install docker
Expand Down
2 changes: 1 addition & 1 deletion examples/mint-burn-oft-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"devDependencies": {
"@babel/core": "^7.23.9",
"@layerzerolabs/eslint-config-next": "~2.3.39",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.12",
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.12",
"@layerzerolabs/lz-evm-v1-0.7": "^3.0.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/native-oft-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"devDependencies": {
"@babel/core": "^7.23.9",
"@layerzerolabs/eslint-config-next": "~2.3.39",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.12",
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.12",
"@layerzerolabs/lz-evm-v1-0.7": "^3.0.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/oapp-read/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"devDependencies": {
"@babel/core": "^7.23.9",
"@layerzerolabs/eslint-config-next": "~2.3.39",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.12",
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.12",
"@layerzerolabs/lz-evm-v1-0.7": "^3.0.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/oapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"devDependencies": {
"@babel/core": "^7.23.9",
"@layerzerolabs/eslint-config-next": "~2.3.39",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.12",
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.12",
"@layerzerolabs/lz-evm-v1-0.7": "^3.0.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/oft-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"devDependencies": {
"@babel/core": "^7.23.9",
"@layerzerolabs/eslint-config-next": "~2.3.39",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.12",
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.12",
"@layerzerolabs/lz-evm-v1-0.7": "^3.0.12",
Expand Down
4 changes: 2 additions & 2 deletions examples/oft-solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"@layerzerolabs/devtools-evm-hardhat": "^2.0.3",
"@layerzerolabs/devtools-solana": "~1.0.2",
"@layerzerolabs/eslint-config-next": "~2.3.39",
"@layerzerolabs/io-devtools": "~0.1.11",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.12",
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.12",
"@layerzerolabs/lz-evm-v1-0.7": "^3.0.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/oft-upgradeable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@babel/core": "^7.23.9",
"@layerzerolabs/devtools-evm-hardhat": "^2.0.3",
"@layerzerolabs/eslint-config-next": "~2.3.39",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.12",
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.12",
"@layerzerolabs/lz-evm-sdk-v2": "^3.0.21",
Expand Down
2 changes: 1 addition & 1 deletion examples/oft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@babel/core": "^7.23.9",
"@layerzerolabs/devtools-evm-hardhat": "^2.0.3",
"@layerzerolabs/eslint-config-next": "~2.3.39",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.12",
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.12",
"@layerzerolabs/lz-evm-v1-0.7": "^3.0.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/onft721-zksync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"devDependencies": {
"@babel/core": "^7.23.9",
"@layerzerolabs/eslint-config-next": "~2.3.39",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.12",
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.12",
"@layerzerolabs/lz-evm-v1-0.7": "^3.0.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/onft721/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@babel/core": "^7.23.9",
"@layerzerolabs/eslint-config-next": "~2.3.39",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.12",
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.12",
"@layerzerolabs/lz-evm-v1-0.7": "^3.0.12",
Expand Down
2 changes: 1 addition & 1 deletion examples/uniswap-read/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"devDependencies": {
"@babel/core": "^7.23.9",
"@layerzerolabs/eslint-config-next": "~2.3.39",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-messagelib-v2": "^3.0.12",
"@layerzerolabs/lz-evm-protocol-v2": "^3.0.12",
"@layerzerolabs/lz-evm-v1-0.7": "^3.0.12",
Expand Down
2 changes: 1 addition & 1 deletion packages/build-lz-options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@ethersproject/address": "~5.7.0",
"@layerzerolabs/devtools": "~0.4.0",
"@layerzerolabs/devtools-evm": "~1.0.0",
"@layerzerolabs/io-devtools": "~0.1.12",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/lz-v2-utilities": "^3.0.12",
"@types/prompts": "^2.4.9",
"@types/react": "^17.0.74",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-lz-oapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"yoga-layout-prebuilt": "^1.10.0"
},
"devDependencies": {
"@layerzerolabs/io-devtools": "~0.1.12",
"@layerzerolabs/io-devtools": "~0.1.14",
"@swc/core": "^1.4.0",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
Expand Down
2 changes: 1 addition & 1 deletion packages/decode-lz-options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@ethersproject/address": "~5.7.0",
"@layerzerolabs/devtools": "~0.4.0",
"@layerzerolabs/devtools-evm": "~1.0.0",
"@layerzerolabs/io-devtools": "~0.1.12",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/lz-v2-utilities": "^3.0.12",
"@types/prompts": "^2.4.9",
"@types/react": "^17.0.74",
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"devDependencies": {
"@layerzerolabs/devtools": "~0.4.0",
"@layerzerolabs/io-devtools": "~0.1.12",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/ua-devtools": "~3.0.0",
"@types/prompts": "^2.4.9",
"@types/react": "^17.0.74",
Expand Down
8 changes: 4 additions & 4 deletions packages/devtools-evm-hardhat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"@ethersproject/wallet": "^5.7.0",
"@layerzerolabs/devtools": "~0.4.2",
"@layerzerolabs/devtools-evm": "~1.0.1",
"@layerzerolabs/io-devtools": "~0.1.13",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-evm-sdk-v1": "^3.0.12",
"@layerzerolabs/test-devtools": "~0.4.1",
"@layerzerolabs/test-devtools-evm-hardhat": "~0.5.0",
Expand All @@ -85,8 +85,8 @@
"@ethersproject/providers": "^5.7.0",
"@layerzerolabs/devtools": "~0.4.2",
"@layerzerolabs/devtools-evm": "~1.0.1",
"@layerzerolabs/io-devtools": "~0.1.13",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"fp-ts": "^2.16.2",
"hardhat": "^2.22.10",
Expand Down
8 changes: 4 additions & 4 deletions packages/devtools-evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"@ethersproject/contracts": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@layerzerolabs/devtools": "~0.4.2",
"@layerzerolabs/io-devtools": "~0.1.12",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/test-devtools": "~0.4.1",
"@safe-global/safe-core-sdk-types": "^2.3.0",
"@swc/core": "^1.4.0",
Expand All @@ -78,8 +78,8 @@
"@ethersproject/contracts": "^5.7.0",
"@ethersproject/providers": "^5.7.0",
"@layerzerolabs/devtools": "~0.4.2",
"@layerzerolabs/io-devtools": "~0.1.12",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/lz-definitions": "^3.0.27",
"fp-ts": "^2.16.2",
"zod": "^3.22.4"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/devtools-solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
},
"devDependencies": {
"@layerzerolabs/devtools": "~0.4.2",
"@layerzerolabs/io-devtools": "~0.1.12",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/test-devtools": "~0.4.1",
"@layerzerolabs/test-devtools-solana": "~0.0.4",
"@solana/web3.js": "~1.95.8",
Expand All @@ -66,8 +66,8 @@
},
"peerDependencies": {
"@layerzerolabs/devtools": "~0.4.2",
"@layerzerolabs/io-devtools": "~0.1.12",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@solana/web3.js": "^1.95.8",
"bn.js": "^5.2.0",
"fp-ts": "^2.16.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-ton/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ const config: Config = {
cache: false,
reporters: [['github-actions', { silent: false }], 'default'],
testEnvironment: 'node',
testTimeout: 60_000,
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
},
transform: {
'^.+\\.(t|j)sx?$': '@swc/jest',
},
testTimeout: 60_000,
}

export default config
20 changes: 12 additions & 8 deletions packages/devtools-ton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,32 @@
"lint:fix": "eslint --fix '**/*.{js,ts,json}'",
"test": "jest --ci"
},
"dependencies": {
"@ton/core": "^0.59.0",
"@ton/crypto": "^3.3.0",
"@ton/ton": "^15.1.0",
"p-memoize": "~4.0.4"
},
"devDependencies": {
"@layerzerolabs/devtools": "~0.4.2",
"@layerzerolabs/io-devtools": "~0.1.13",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@layerzerolabs/lz-ton-sdk-v2": "^3.0.27",
"@swc/core": "^1.4.0",
"@swc/jest": "^0.2.36",
"@ton/core": "^0.59.0",
"@ton/crypto": "^3.3.0",
"@ton/ton": "^15.1.0",
"@types/jest": "^29.5.12",
"fast-check": "^3.16.0",
"jest": "^29.7.0",
"ton-crypto": "^3.2.0",
"ts-node": "^10.9.2",
"tslib": "~2.6.2",
"tsup": "~8.0.1",
"typescript": "^5.4.4"
"typescript": "^5.3.3"
},
"peerDependencies": {
"@layerzerolabs/devtools": "~0.4.2",
"@layerzerolabs/io-devtools": "~0.1.13",
"@layerzerolabs/lz-definitions": "^3.0.21",
"@layerzerolabs/io-devtools": "~0.1.14",
"@layerzerolabs/lz-definitions": "^3.0.27",
"@ton/core": "^0.59.0",
"@ton/crypto": "^3.3.0",
"@ton/ton": "^15.1.0"
Expand Down
Loading

0 comments on commit 1d2abff

Please sign in to comment.