Skip to content

Commit 4ea67df

Browse files
DewyerBarnabas Ratkithmzltguibescos
authored
Update deps, fix test, revamp scripts
* Updated deps, fixed test to work in the current year Plus cleanup * Fix CI * fix test clippy * Comment on time * Revamp scripts (#10) * Revamp scripts * Remove empty section from Anchor.toml * Switch to pnpm, improve multisig support, update scripts, etc. * fix: ledger send transaction logic (#11) --------- Co-authored-by: guibescos <59208140+guibescos@users.noreply.github.com> --------- Co-authored-by: Barnabas Ratki <barna@dourolabs.xyz> Co-authored-by: Thomaz Leite <7709+thmzlt@users.noreply.github.com> Co-authored-by: guibescos <59208140+guibescos@users.noreply.github.com>
1 parent d419d08 commit 4ea67df

File tree

28 files changed

+8794
-2727
lines changed

28 files changed

+8794
-2727
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ jobs:
99
pre-commit:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-python@v2
14-
- uses: actions-rs/toolchain@v1
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
14+
- uses: dtolnay/rust-toolchain@stable
1515
with:
16-
profile: minimal
17-
toolchain: nightly-2023-03-01
18-
components: rustfmt, clippy
19-
- uses: pre-commit/action@v2.0.3
16+
toolchain: 1.85.1
17+
components: clippy
18+
- uses: dtolnay/rust-toolchain@nightly
19+
with:
20+
components: rustfmt
21+
- uses: pre-commit/action@v3.0.1

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
repos:
22
- repo: local
33
hooks:
4-
- id: cargo-fmt-nightly
5-
name: Cargo Fmt Nightly
4+
- id: cargo-fmt
5+
name: Cargo Fmt
66
language: "rust"
7-
entry: cargo +nightly-2023-03-01 fmt
7+
entry: cargo +nightly fmt
88
pass_filenames: false
99
- id: cargo-clippy
1010
name: Cargo clippy
1111
language: "rust"
12-
entry : cargo +nightly-2023-03-01 clippy --tests -- -D warnings
13-
pass_filenames : false
12+
entry: cargo clippy --tests -- -D warnings
13+
pass_filenames: false

Anchor.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
[features]
2-
seeds = true
2+
resolution = true
33
skip-lint = false
4+
45
[programs.localnet]
56
program_authority_escrow = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS"
67

78
[registry]
89
url = "https://api.apr.dev"
910

1011
[provider]
11-
cluster = "Localnet"
12+
cluster = "localnet"
1213
wallet = "/home/gbescos/.config/solana/id.json"
1314

1415
[scripts]

0 commit comments

Comments
 (0)