Skip to content

Commit 928703a

Browse files
committed
Create workspace for e2e tests
1 parent c2cc799 commit 928703a

File tree

9 files changed

+6874
-91
lines changed

9 files changed

+6874
-91
lines changed

Cargo.lock

Lines changed: 6746 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[workspace]
2+
members = ["e2e/*"]
3+
resolver = "2"
4+
5+
[workspace.dependencies]
6+
anchor-lang = "~0.31"
7+
borsh = "^0.10"
8+
kaigan = "0.2.6"
9+
num-derive = "^0.4"
10+
num-traits = "^0.2"
11+
serde = "^1.0"
12+
serde-big-array = "^0.5"
13+
serde_with = "^3.0"
14+
solana-account = "~2.2"
15+
solana-account-info = "~2.3"
16+
solana-client = "~2.2"
17+
solana-cpi = "~2.2"
18+
solana-decode-error = "~2.3"
19+
solana-instruction = "~2.3"
20+
solana-program-error = "~2.2"
21+
solana-pubkey = "~2.3"
22+
solana-sdk = "~2.3"
23+
thiserror = "^1.0"
24+
assert_matches = "1.5.0"

e2e/anchor/Cargo.toml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,25 @@ test-sbf = []
1111
fetch = ["dep:solana-client", "dep:solana-sdk"]
1212

1313
[dependencies]
14-
anchor-lang = { version = "~0.31", optional = true }
15-
borsh = "^0.10"
16-
kaigan = "0.2.5"
17-
num-derive = "^0.4"
18-
num-traits = "^0.2"
19-
serde = { version = "^1.0", features = ["derive"], optional = true }
20-
serde_with = { version = "^3.0", optional = true }
21-
solana-account = "~2.2"
22-
solana-account-info = "~2.3"
23-
solana-client = { version = "~2.2", optional = true }
24-
solana-cpi = "~2.2"
25-
solana-decode-error = "~2.2"
26-
solana-instruction = "~2.3"
27-
solana-program-error = "~2.2"
28-
solana-pubkey = { version = "~2.3", features = ["curve25519", "borsh"] }
29-
solana-sdk = { version = "~2.3", optional = true }
30-
thiserror = "^1.0"
14+
anchor-lang = { workspace = true, optional = true }
15+
borsh = { workspace = true }
16+
kaigan = { workspace = true }
17+
num-derive = { workspace = true }
18+
num-traits = { workspace = true }
19+
serde = { workspace = true, features = ["derive"], optional = true }
20+
serde-big-array = { workspace = true, optional = true }
21+
serde_with = { workspace = true, optional = true }
22+
solana-account = { workspace = true }
23+
solana-account-info = { workspace = true }
24+
solana-client = { workspace = true, optional = true }
25+
solana-cpi = { workspace = true }
26+
solana-decode-error = { workspace = true }
27+
solana-instruction = { workspace = true }
28+
solana-program-error = { workspace = true }
29+
solana-pubkey = { workspace = true, features = ["curve25519", "borsh"] }
30+
solana-sdk = { workspace = true, optional = true }
31+
thiserror = { workspace = true }
3132

3233
[dev-dependencies]
33-
assert_matches = "1.5.0"
34-
solana-sdk = "~2.3"
34+
assert_matches = { workspace = true }
35+
solana-sdk = { workspace = true }

e2e/dummy/Cargo.toml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,24 @@ serde = ["dep:serde", "dep:serde_with", "dep:serde-big-array"]
1010
test-sbf = []
1111

1212
[dependencies]
13-
anchor-lang = { version = "~0.31", optional = true }
14-
borsh = "^0.10"
15-
kaigan = "0.2.5"
16-
num-derive = "^0.4"
17-
num-traits = "^0.2"
18-
serde = { version = "^1.0", features = ["derive"], optional = true }
19-
serde-big-array = { version = "^0.5", optional = true }
20-
serde_with = { version = "^3.0", optional = true }
21-
solana-account-info = "~2.3"
22-
solana-cpi = "~2.2"
23-
solana-decode-error = "~2.3"
24-
solana-instruction = "~2.3"
25-
solana-program-error = "~2.2"
26-
solana-pubkey = { version = "~2.3", features = ["curve25519"] }
27-
thiserror = "^1.0"
13+
anchor-lang = { workspace = true, optional = true }
14+
borsh = { workspace = true }
15+
kaigan = { workspace = true }
16+
num-derive = { workspace = true }
17+
num-traits = { workspace = true }
18+
serde = { workspace = true, features = ["derive"], optional = true }
19+
serde-big-array = { workspace = true, optional = true }
20+
serde_with = { workspace = true, optional = true }
21+
solana-account = { workspace = true }
22+
solana-account-info = { workspace = true }
23+
solana-client = { workspace = true, optional = true }
24+
solana-cpi = { workspace = true }
25+
solana-decode-error = { workspace = true }
26+
solana-instruction = { workspace = true }
27+
solana-program-error = { workspace = true }
28+
solana-pubkey = { workspace = true, features = ["curve25519", "borsh"] }
29+
thiserror = { workspace = true }
2830

2931
[dev-dependencies]
30-
assert_matches = "1.5.0"
31-
solana-sdk = "~2.3"
32+
assert_matches = { workspace = true }
33+
solana-sdk = { workspace = true }

e2e/memo/Cargo.toml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,25 @@ serde = ["dep:serde", "dep:serde_with", "dep:serde-big-array"]
1010
test-sbf = []
1111

1212
[dependencies]
13-
anchor-lang = { version = "~0.31", optional = true }
14-
borsh = "^0.10"
15-
kaigan = { version = "0.2.6", features = ["serde"] }
16-
num-derive = "^0.4"
17-
num-traits = "^0.2"
18-
serde = { version = "^1.0", features = ["derive"], optional = true }
19-
serde-big-array = { version = "^0.5", optional = true }
20-
serde_with = { version = "^3.0", optional = true }
21-
solana-account-info = "~2.3"
22-
solana-cpi = "~2.2"
23-
solana-decode-error = "~2.3"
24-
solana-instruction = "~2.3"
25-
solana-program-error = "~2.2"
26-
solana-pubkey = { version = "~2.3", features = ["curve25519", "borsh"] }
27-
thiserror = "^1.0"
13+
anchor-lang = { workspace = true, optional = true }
14+
borsh = { workspace = true }
15+
kaigan = { workspace = true, features = ["serde"] }
16+
num-derive = { workspace = true }
17+
num-traits = { workspace = true }
18+
serde = { workspace = true, features = ["derive"], optional = true }
19+
serde-big-array = { workspace = true, optional = true }
20+
serde_with = { workspace = true, optional = true }
21+
solana-account = { workspace = true }
22+
solana-account-info = { workspace = true }
23+
solana-client = { workspace = true, optional = true }
24+
solana-cpi = { workspace = true }
25+
solana-decode-error = { workspace = true }
26+
solana-instruction = { workspace = true }
27+
solana-program-error = { workspace = true }
28+
solana-pubkey = { workspace = true, features = ["curve25519", "borsh"] }
29+
solana-sdk = { workspace = true, optional = true }
30+
thiserror = { workspace = true }
2831

2932
[dev-dependencies]
30-
assert_matches = "1.5.0"
31-
solana-sdk = "~2.3"
33+
assert_matches = { workspace = true }
34+
solana-sdk = { workspace = true }

e2e/meteora/Cargo.toml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,25 @@ test-sbf = []
1111
fetch = ["dep:solana-client", "dep:solana-sdk"]
1212

1313
[dependencies]
14-
anchor-lang = { version = "~0.30", optional = true }
15-
borsh = "^0.10"
16-
kaigan = "0.2.5"
17-
num-derive = "^0.3"
18-
num-traits = "^0.2"
19-
serde = { version = "^1.0", features = ["derive"], optional = true }
20-
serde_with = { version = "^3.0", optional = true }
21-
solana-account = { version = "~2.2", optional = true }
22-
solana-account-info = "~2.2"
23-
solana-client = { version = "~2.2", optional = true }
24-
solana-cpi = "~2.2"
25-
solana-decode-error = "~2.3"
26-
solana-instruction = "~2.3"
27-
solana-program-error = "~2.2"
28-
solana-pubkey = { version = "~2.2", features = ["curve25519"] }
29-
solana-sdk = { version = "~2.3", optional = true }
30-
thiserror = "^1.0"
14+
anchor-lang = { workspace = true, optional = true }
15+
borsh = { workspace = true }
16+
kaigan = { workspace = true }
17+
num-derive = { workspace = true }
18+
num-traits = { workspace = true }
19+
serde = { workspace = true, features = ["derive"], optional = true }
20+
serde-big-array = { workspace = true, optional = true }
21+
serde_with = { workspace = true, optional = true }
22+
solana-account = { workspace = true }
23+
solana-account-info = { workspace = true }
24+
solana-client = { workspace = true, optional = true }
25+
solana-cpi = { workspace = true }
26+
solana-decode-error = { workspace = true }
27+
solana-instruction = { workspace = true }
28+
solana-program-error = { workspace = true }
29+
solana-pubkey = { workspace = true, features = ["curve25519", "borsh"] }
30+
solana-sdk = { workspace = true, optional = true }
31+
thiserror = { workspace = true }
3132

3233
[dev-dependencies]
33-
assert_matches = "1.5.0"
34-
solana-sdk = "~2.3"
34+
assert_matches = { workspace = true }
35+
solana-sdk = { workspace = true }

e2e/system/Cargo.toml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,25 @@ test-sbf = []
1111
fetch = ["dep:solana-client", "dep:solana-sdk"]
1212

1313
[dependencies]
14-
anchor-lang = { version = "~0.31", optional = true }
15-
borsh = "^0.10"
16-
num-derive = "^0.4"
17-
num-traits = "^0.2"
18-
serde = { version = "^1.0", features = ["derive"], optional = true }
19-
serde-big-array = { version = "^0.5", optional = true }
20-
serde_with = { version = "^3.0", optional = true }
21-
solana-account = "~2.2"
22-
solana-account-info = "~2.3"
23-
solana-client = { version = "~2.2", optional = true }
24-
solana-cpi = "~2.2"
25-
solana-decode-error = "~2.3"
26-
solana-instruction = "~2.3"
27-
solana-program-error = "~2.2"
28-
solana-pubkey = { version = "~2.3", features = ["curve25519", "borsh"] }
29-
solana-sdk = { version = "~2.3", optional = true }
30-
thiserror = "^1.0"
14+
anchor-lang = { workspace = true, optional = true }
15+
borsh = { workspace = true }
16+
kaigan = { workspace = true }
17+
num-derive = { workspace = true }
18+
num-traits = { workspace = true }
19+
serde = { workspace = true, features = ["derive"], optional = true }
20+
serde-big-array = { workspace = true, optional = true }
21+
serde_with = { workspace = true, optional = true }
22+
solana-account = { workspace = true }
23+
solana-account-info = { workspace = true }
24+
solana-client = { workspace = true, optional = true }
25+
solana-cpi = { workspace = true }
26+
solana-decode-error = { workspace = true }
27+
solana-instruction = { workspace = true }
28+
solana-program-error = { workspace = true }
29+
solana-pubkey = { workspace = true, features = ["curve25519", "borsh"] }
30+
solana-sdk = { workspace = true, optional = true }
31+
thiserror = { workspace = true }
3132

3233
[dev-dependencies]
33-
assert_matches = "1.5.0"
34-
solana-sdk = "~2.3"
34+
assert_matches = { workspace = true }
35+
solana-sdk = { workspace = true }

rust-toolchain.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[toolchain]
2+
channel = "1.86.0"

rustfmt.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
max_width = 100
2+
reorder_imports = true
3+
reorder_modules = true

0 commit comments

Comments
 (0)