Skip to content

Commit 2df32a6

Browse files
authored
[remote-executor] Move overflow check (#837)
* Move overflow check * Modify workflow
1 parent 8eba51d commit 2df32a6

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/remote-executor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ jobs:
1515
- uses: actions-rs/toolchain@v1
1616
with:
1717
profile: minimal
18-
toolchain: nightly
18+
toolchain: 1.66.1
1919
components: rustfmt, clippy
20+
override: true
2021
- name: Install Solana
2122
run: |
2223
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"

governance/remote_executor/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ members = [
33
"programs/*",
44
"cli/"
55
]
6+
7+
[profile.release]
8+
overflow-checks = true

governance/remote_executor/programs/remote-executor/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ cpi = ["no-entrypoint"]
1616
default = []
1717
pythtest = []
1818

19-
[profile.release]
20-
overflow-checks = true
21-
2219
[dependencies]
2320
anchor-lang = {version = "0.25.0", features = ["init-if-needed"]}
2421
wormhole-solana = { git = "https://github.com/guibescos/wormhole", branch = "reisen/sdk-solana"}

0 commit comments

Comments
 (0)