Skip to content

Commit cd3524b

Browse files
committed
Cleanup merge
1 parent 7abf165 commit cd3524b

File tree

5 files changed

+7
-45
lines changed

5 files changed

+7
-45
lines changed

.github/workflows/pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install Cargo toolchain
2929
uses: actions-rs/toolchain@v1
3030
with:
31-
toolchain: nightly-2025-04-01
31+
toolchain: nightly
3232
profile: minimal
3333
components: rustc, rustfmt
3434
- name: Install packages
@@ -69,7 +69,7 @@ jobs:
6969
- name: Install Cargo toolchain
7070
uses: actions-rs/toolchain@v1
7171
with:
72-
toolchain: nightly-2025-04-01
72+
toolchain: stable
7373
profile: minimal
7474
components: rustc
7575
- name: Cache Cargo dependencies

package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,24 @@
2222
"lint": "yarn lint-solidity && yarn lint-js && yarn lint-rust",
2323
"lint-solidity": "yarn solhint ./contracts/**/*.sol",
2424
"lint-js": "yarn prettier --list-different **/*.js **/*.ts",
25-
"lint-rust": "cargo +nightly-2025-04-01 fmt --all -- --check && cargo clippy",
26-
"lint-fix": "yarn prettier --write **/*.js **/*.ts ./programs/**/*.rs ./contracts**/*.sol && cargo +nightly-2025-04-01 fmt --all && cargo clippy",
25+
"lint-rust": "cargo +nightly fmt --all -- --check && cargo clippy",
26+
"lint-fix": "yarn prettier --write **/*.js **/*.ts ./programs/**/*.rs ./contracts**/*.sol && cargo +nightly fmt --all && cargo clippy",
2727
"clean-fast": "for dir in node_modules cache cache-zk artifacts artifacts-zk dist typechain; do mv \"${dir}\" \"_${dir}\"; rm -rf \"_${dir}\" &; done",
2828
"clean": "rm -rf node_modules cache cache-zk artifacts artifacts-zk dist typechain",
2929
"generate-svm-assets": "sh ./scripts/generate-svm-assets.sh && yarn generate-svm-clients",
3030
"generate-svm-clients": "yarn ts-node ./scripts/svm/utils/generate-svm-clients.ts && yarn ts-node ./scripts/svm/utils/rename-clients-imports.ts",
3131
"build-evm": "hardhat compile",
32-
"build-svm": "echo 'Generating IDLs...' && yarn anchor-build > /dev/null 2>&1 || true && anchor run generateExternalTypes && yarn anchor-build",
32+
"build-svm": "echo 'Generating IDLs...' && anchor build > /dev/null 2>&1 || true && anchor run generateExternalTypes && anchor build",
3333
"build-ts": "rm -rf ./dist && tsc && rsync -a --include '*/' --include '*.d.ts' --exclude '*' ./typechain ./dist/",
3434
"copy-idl": "mkdir -p dist/src/svm/assets/idl && cp src/svm/assets/idl/*.json dist/src/svm/assets/idl/",
3535
"build": "yarn build-evm && yarn build-svm && yarn generate-svm-assets && yarn build-ts && yarn copy-idl",
3636
"test-evm": "IS_TEST=true hardhat test",
37-
"test-svm": "sh ./scripts/anchor-test.sh",
37+
"test-svm": "anchor test -- --features test",
3838
"test": "yarn test-evm && yarn test-svm",
3939
"test:report-gas": "IS_TEST=true REPORT_GAS=true hardhat test",
4040
"generate-evm-assets": "rm -rf typechain && TYPECHAIN=ethers yarn hardhat typechain",
4141
"prepublish": "yarn build && hardhat export --export-all ./cache/massExport.json && ts-node ./scripts/processHardhatExport.ts && prettier --write ./deployments/deployments.json && yarn generate-evm-assets",
42-
"pre-commit-hook": "sh scripts/preCommitHook.sh",
43-
"anchor-build": "sh ./scripts/anchor-build.sh"
42+
"pre-commit-hook": "sh scripts/preCommitHook.sh"
4443
},
4544
"dependencies": {
4645
"@across-protocol/constants": "^3.1.46",

rust-toolchain.toml

-2
This file was deleted.

scripts/anchor-build.sh

-16
This file was deleted.

scripts/anchor-test.sh

-19
This file was deleted.

0 commit comments

Comments
 (0)