Skip to content

Commit 852fcc7

Browse files
v0.30.0 (#2909)
1 parent f74ea64 commit 852fcc7

File tree

98 files changed

+3622
-140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+3622
-140
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ The minor version will be incremented upon a breaking change and the patch versi
1212

1313
### Features
1414

15+
### Fixes
16+
17+
### Breaking
18+
19+
## [0.30.0] - 2024-04-15
20+
21+
### Features
22+
1523
- cli: Allow force `init` and `new` ([#2698](https://github.com/coral-xyz/anchor/pull/2698)).
1624
- cli: Add verifiable option when `deploy` ([#2705](https://github.com/coral-xyz/anchor/pull/2705)).
1725
- cli: Add support for passing arguments to the underlying `solana program deploy` command with `anchor deploy` ([#2709](https://github.com/coral-xyz/anchor/pull/2709)).

Cargo.lock

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

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.29.0
1+
0.30.0

avm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "avm"
3-
version = "0.29.0"
3+
version = "0.30.0"
44
rust-version = "1.60"
55
edition = "2021"
66

bench/BINARY_SIZE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ The programs and their tests are located in [/tests/bench](https://github.com/co
1616

1717
Solana version: 1.18.8
1818

19+
| Program | Binary Size | - |
20+
| ------- | ----------- | --- |
21+
| bench | 791,008 | - |
22+
23+
### Notable changes
24+
25+
---
26+
27+
## [0.30.0]
28+
29+
Solana version: 1.18.8
30+
1931
| Program | Binary Size | - |
2032
| ------- | ----------- | ---------------------- |
2133
| bench | 791,008 | 🔴 **+47,952 (6.45%)** |

bench/COMPUTE_UNITS.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,104 @@ The programs and their tests are located in [/tests/bench](https://github.com/co
1616

1717
Solana version: 1.18.8
1818

19+
| Instruction | Compute Units | - |
20+
| --------------------------- | ------------- | --- |
21+
| accountInfo1 | 601 | - |
22+
| accountInfo2 | 923 | - |
23+
| accountInfo4 | 1,583 | - |
24+
| accountInfo8 | 2,975 | - |
25+
| accountEmptyInit1 | 5,034 | - |
26+
| accountEmpty1 | 652 | - |
27+
| accountEmptyInit2 | 9,687 | - |
28+
| accountEmpty2 | 1,016 | - |
29+
| accountEmptyInit4 | 18,501 | - |
30+
| accountEmpty4 | 1,737 | - |
31+
| accountEmptyInit8 | 36,169 | - |
32+
| accountEmpty8 | 3,186 | - |
33+
| accountSizedInit1 | 5,106 | - |
34+
| accountSized1 | 668 | - |
35+
| accountSizedInit2 | 9,828 | - |
36+
| accountSized2 | 1,046 | - |
37+
| accountSizedInit4 | 18,837 | - |
38+
| accountSized4 | 1,807 | - |
39+
| accountSizedInit8 | 36,761 | - |
40+
| accountSized8 | 3,326 | - |
41+
| accountUnsizedInit1 | 5,199 | - |
42+
| accountUnsized1 | 702 | - |
43+
| accountUnsizedInit2 | 10,078 | - |
44+
| accountUnsized2 | 1,116 | - |
45+
| accountUnsizedInit4 | 19,259 | - |
46+
| accountUnsized4 | 1,953 | - |
47+
| accountUnsizedInit8 | 37,331 | - |
48+
| accountUnsized8 | 3,626 | - |
49+
| boxedAccountEmptyInit1 | 5,064 | - |
50+
| boxedAccountEmpty1 | 671 | - |
51+
| boxedAccountEmptyInit2 | 9,721 | - |
52+
| boxedAccountEmpty2 | 1,052 | - |
53+
| boxedAccountEmptyInit4 | 18,582 | - |
54+
| boxedAccountEmpty4 | 1,811 | - |
55+
| boxedAccountEmptyInit8 | 36,329 | - |
56+
| boxedAccountEmpty8 | 3,357 | - |
57+
| boxedAccountSizedInit1 | 5,119 | - |
58+
| boxedAccountSized1 | 686 | - |
59+
| boxedAccountSizedInit2 | 9,845 | - |
60+
| boxedAccountSized2 | 1,085 | - |
61+
| boxedAccountSizedInit4 | 18,825 | - |
62+
| boxedAccountSized4 | 1,874 | - |
63+
| boxedAccountSizedInit8 | 36,824 | - |
64+
| boxedAccountSized8 | 3,490 | - |
65+
| boxedAccountUnsizedInit1 | 5,207 | - |
66+
| boxedAccountUnsized1 | 721 | - |
67+
| boxedAccountUnsizedInit2 | 10,015 | - |
68+
| boxedAccountUnsized2 | 1,157 | - |
69+
| boxedAccountUnsizedInit4 | 19,160 | - |
70+
| boxedAccountUnsized4 | 2,019 | - |
71+
| boxedAccountUnsizedInit8 | 37,496 | - |
72+
| boxedAccountUnsized8 | 3,776 | - |
73+
| boxedInterfaceAccountMint1 | 1,372 | - |
74+
| boxedInterfaceAccountMint2 | 2,293 | - |
75+
| boxedInterfaceAccountMint4 | 4,121 | - |
76+
| boxedInterfaceAccountMint8 | 7,811 | - |
77+
| boxedInterfaceAccountToken1 | 2,056 | - |
78+
| boxedInterfaceAccountToken2 | 3,660 | - |
79+
| boxedInterfaceAccountToken4 | 6,858 | - |
80+
| boxedInterfaceAccountToken8 | 13,284 | - |
81+
| interfaceAccountMint1 | 1,472 | - |
82+
| interfaceAccountMint2 | 2,631 | - |
83+
| interfaceAccountMint4 | 4,951 | - |
84+
| interfaceAccountMint8 | 9,588 | - |
85+
| interfaceAccountToken1 | 2,130 | - |
86+
| interfaceAccountToken2 | 3,928 | - |
87+
| interfaceAccountToken4 | 7,521 | - |
88+
| interface1 | 600 | - |
89+
| interface2 | 745 | - |
90+
| interface4 | 1,033 | - |
91+
| interface8 | 1,616 | - |
92+
| program1 | 596 | - |
93+
| program2 | 737 | - |
94+
| program4 | 1,019 | - |
95+
| program8 | 1,584 | - |
96+
| signer1 | 580 | - |
97+
| signer2 | 872 | - |
98+
| signer4 | 1,454 | - |
99+
| signer8 | 2,618 | - |
100+
| systemAccount1 | 592 | - |
101+
| systemAccount2 | 894 | - |
102+
| systemAccount4 | 1,497 | - |
103+
| systemAccount8 | 2,707 | - |
104+
| uncheckedAccount1 | 563 | - |
105+
| uncheckedAccount2 | 836 | - |
106+
| uncheckedAccount4 | 1,378 | - |
107+
| uncheckedAccount8 | 2,468 | - |
108+
109+
### Notable changes
110+
111+
---
112+
113+
## [0.30.0]
114+
115+
Solana version: 1.18.8
116+
19117
| Instruction | Compute Units | - |
20118
| --------------------------- | ------------- | ---------------------- |
21119
| accountInfo1 | 601 | 🟢 **-94 (13.53%)** |

bench/STACK_MEMORY.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,104 @@ The programs and their tests are located in [/tests/bench](https://github.com/co
1616

1717
Solana version: 1.18.8
1818

19+
| Instruction | Stack Memory | - |
20+
| ------------------------------ | ------------ | --- |
21+
| account_info1 | 144 | - |
22+
| account_info2 | 144 | - |
23+
| account_info4 | 144 | - |
24+
| account_info8 | 144 | - |
25+
| account_empty_init1 | 144 | - |
26+
| account_empty_init2 | 144 | - |
27+
| account_empty_init4 | 192 | - |
28+
| account_empty_init8 | 224 | - |
29+
| account_empty1 | 144 | - |
30+
| account_empty2 | 144 | - |
31+
| account_empty4 | 144 | - |
32+
| account_empty8 | 144 | - |
33+
| account_sized_init1 | 176 | - |
34+
| account_sized_init2 | 192 | - |
35+
| account_sized_init4 | 224 | - |
36+
| account_sized_init8 | 288 | - |
37+
| account_sized1 | 144 | - |
38+
| account_sized2 | 144 | - |
39+
| account_sized4 | 144 | - |
40+
| account_sized8 | 144 | - |
41+
| account_unsized_init1 | 192 | - |
42+
| account_unsized_init2 | 224 | - |
43+
| account_unsized_init4 | 288 | - |
44+
| account_unsized_init8 | 416 | - |
45+
| account_unsized1 | 144 | - |
46+
| account_unsized2 | 144 | - |
47+
| account_unsized4 | 144 | - |
48+
| account_unsized8 | 144 | - |
49+
| boxed_account_empty_init1 | 144 | - |
50+
| boxed_account_empty_init2 | 144 | - |
51+
| boxed_account_empty_init4 | 192 | - |
52+
| boxed_account_empty_init8 | 224 | - |
53+
| boxed_account_empty1 | 144 | - |
54+
| boxed_account_empty2 | 144 | - |
55+
| boxed_account_empty4 | 144 | - |
56+
| boxed_account_empty8 | 144 | - |
57+
| boxed_account_sized_init1 | 144 | - |
58+
| boxed_account_sized_init2 | 144 | - |
59+
| boxed_account_sized_init4 | 192 | - |
60+
| boxed_account_sized_init8 | 224 | - |
61+
| boxed_account_sized1 | 144 | - |
62+
| boxed_account_sized2 | 144 | - |
63+
| boxed_account_sized4 | 144 | - |
64+
| boxed_account_sized8 | 144 | - |
65+
| boxed_account_unsized_init1 | 144 | - |
66+
| boxed_account_unsized_init2 | 144 | - |
67+
| boxed_account_unsized_init4 | 192 | - |
68+
| boxed_account_unsized_init8 | 224 | - |
69+
| boxed_account_unsized1 | 144 | - |
70+
| boxed_account_unsized2 | 144 | - |
71+
| boxed_account_unsized4 | 144 | - |
72+
| boxed_account_unsized8 | 144 | - |
73+
| boxed_interface_account_mint1 | 144 | - |
74+
| boxed_interface_account_mint2 | 144 | - |
75+
| boxed_interface_account_mint4 | 144 | - |
76+
| boxed_interface_account_mint8 | 144 | - |
77+
| boxed_interface_account_token1 | 144 | - |
78+
| boxed_interface_account_token2 | 144 | - |
79+
| boxed_interface_account_token4 | 144 | - |
80+
| boxed_interface_account_token8 | 144 | - |
81+
| interface_account_mint1 | 144 | - |
82+
| interface_account_mint2 | 144 | - |
83+
| interface_account_mint4 | 144 | - |
84+
| interface_account_mint8 | 144 | - |
85+
| interface_account_token1 | 144 | - |
86+
| interface_account_token2 | 144 | - |
87+
| interface_account_token4 | 144 | - |
88+
| interface1 | 144 | - |
89+
| interface2 | 144 | - |
90+
| interface4 | 144 | - |
91+
| interface8 | 144 | - |
92+
| program1 | 144 | - |
93+
| program2 | 144 | - |
94+
| program4 | 144 | - |
95+
| program8 | 144 | - |
96+
| signer1 | 144 | - |
97+
| signer2 | 144 | - |
98+
| signer4 | 144 | - |
99+
| signer8 | 144 | - |
100+
| system_account1 | 144 | - |
101+
| system_account2 | 144 | - |
102+
| system_account4 | 144 | - |
103+
| system_account8 | 144 | - |
104+
| unchecked_account1 | 144 | - |
105+
| unchecked_account2 | 144 | - |
106+
| unchecked_account4 | 144 | - |
107+
| unchecked_account8 | 144 | - |
108+
109+
### Notable changes
110+
111+
---
112+
113+
## [0.30.0]
114+
115+
Solana version: 1.18.8
116+
19117
| Instruction | Stack Memory | - |
20118
| ------------------------------ | ------------ | ------------------- |
21119
| account_info1 | 144 | 🔴 **+16 (12.50%)** |

0 commit comments

Comments
 (0)