Skip to content

Commit

Permalink
v0.30.0 (#2909)
Browse files Browse the repository at this point in the history
  • Loading branch information
acheroncrypto committed Apr 15, 2024
1 parent f74ea64 commit 852fcc7
Show file tree
Hide file tree
Showing 98 changed files with 3,622 additions and 140 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ The minor version will be incremented upon a breaking change and the patch versi

### Features

### Fixes

### Breaking

## [0.30.0] - 2024-04-15

### Features

- cli: Allow force `init` and `new` ([#2698](https://github.com/coral-xyz/anchor/pull/2698)).
- cli: Add verifiable option when `deploy` ([#2705](https://github.com/coral-xyz/anchor/pull/2705)).
- 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)).
Expand Down
30 changes: 15 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.29.0
0.30.0
2 changes: 1 addition & 1 deletion avm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "avm"
version = "0.29.0"
version = "0.30.0"
rust-version = "1.60"
edition = "2021"

Expand Down
12 changes: 12 additions & 0 deletions bench/BINARY_SIZE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ The programs and their tests are located in [/tests/bench](https://github.com/co

Solana version: 1.18.8

| Program | Binary Size | - |
| ------- | ----------- | --- |
| bench | 791,008 | - |

### Notable changes

---

## [0.30.0]

Solana version: 1.18.8

| Program | Binary Size | - |
| ------- | ----------- | ---------------------- |
| bench | 791,008 | 🔴 **+47,952 (6.45%)** |
Expand Down
98 changes: 98 additions & 0 deletions bench/COMPUTE_UNITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,104 @@ The programs and their tests are located in [/tests/bench](https://github.com/co

Solana version: 1.18.8

| Instruction | Compute Units | - |
| --------------------------- | ------------- | --- |
| accountInfo1 | 601 | - |
| accountInfo2 | 923 | - |
| accountInfo4 | 1,583 | - |
| accountInfo8 | 2,975 | - |
| accountEmptyInit1 | 5,034 | - |
| accountEmpty1 | 652 | - |
| accountEmptyInit2 | 9,687 | - |
| accountEmpty2 | 1,016 | - |
| accountEmptyInit4 | 18,501 | - |
| accountEmpty4 | 1,737 | - |
| accountEmptyInit8 | 36,169 | - |
| accountEmpty8 | 3,186 | - |
| accountSizedInit1 | 5,106 | - |
| accountSized1 | 668 | - |
| accountSizedInit2 | 9,828 | - |
| accountSized2 | 1,046 | - |
| accountSizedInit4 | 18,837 | - |
| accountSized4 | 1,807 | - |
| accountSizedInit8 | 36,761 | - |
| accountSized8 | 3,326 | - |
| accountUnsizedInit1 | 5,199 | - |
| accountUnsized1 | 702 | - |
| accountUnsizedInit2 | 10,078 | - |
| accountUnsized2 | 1,116 | - |
| accountUnsizedInit4 | 19,259 | - |
| accountUnsized4 | 1,953 | - |
| accountUnsizedInit8 | 37,331 | - |
| accountUnsized8 | 3,626 | - |
| boxedAccountEmptyInit1 | 5,064 | - |
| boxedAccountEmpty1 | 671 | - |
| boxedAccountEmptyInit2 | 9,721 | - |
| boxedAccountEmpty2 | 1,052 | - |
| boxedAccountEmptyInit4 | 18,582 | - |
| boxedAccountEmpty4 | 1,811 | - |
| boxedAccountEmptyInit8 | 36,329 | - |
| boxedAccountEmpty8 | 3,357 | - |
| boxedAccountSizedInit1 | 5,119 | - |
| boxedAccountSized1 | 686 | - |
| boxedAccountSizedInit2 | 9,845 | - |
| boxedAccountSized2 | 1,085 | - |
| boxedAccountSizedInit4 | 18,825 | - |
| boxedAccountSized4 | 1,874 | - |
| boxedAccountSizedInit8 | 36,824 | - |
| boxedAccountSized8 | 3,490 | - |
| boxedAccountUnsizedInit1 | 5,207 | - |
| boxedAccountUnsized1 | 721 | - |
| boxedAccountUnsizedInit2 | 10,015 | - |
| boxedAccountUnsized2 | 1,157 | - |
| boxedAccountUnsizedInit4 | 19,160 | - |
| boxedAccountUnsized4 | 2,019 | - |
| boxedAccountUnsizedInit8 | 37,496 | - |
| boxedAccountUnsized8 | 3,776 | - |
| boxedInterfaceAccountMint1 | 1,372 | - |
| boxedInterfaceAccountMint2 | 2,293 | - |
| boxedInterfaceAccountMint4 | 4,121 | - |
| boxedInterfaceAccountMint8 | 7,811 | - |
| boxedInterfaceAccountToken1 | 2,056 | - |
| boxedInterfaceAccountToken2 | 3,660 | - |
| boxedInterfaceAccountToken4 | 6,858 | - |
| boxedInterfaceAccountToken8 | 13,284 | - |
| interfaceAccountMint1 | 1,472 | - |
| interfaceAccountMint2 | 2,631 | - |
| interfaceAccountMint4 | 4,951 | - |
| interfaceAccountMint8 | 9,588 | - |
| interfaceAccountToken1 | 2,130 | - |
| interfaceAccountToken2 | 3,928 | - |
| interfaceAccountToken4 | 7,521 | - |
| interface1 | 600 | - |
| interface2 | 745 | - |
| interface4 | 1,033 | - |
| interface8 | 1,616 | - |
| program1 | 596 | - |
| program2 | 737 | - |
| program4 | 1,019 | - |
| program8 | 1,584 | - |
| signer1 | 580 | - |
| signer2 | 872 | - |
| signer4 | 1,454 | - |
| signer8 | 2,618 | - |
| systemAccount1 | 592 | - |
| systemAccount2 | 894 | - |
| systemAccount4 | 1,497 | - |
| systemAccount8 | 2,707 | - |
| uncheckedAccount1 | 563 | - |
| uncheckedAccount2 | 836 | - |
| uncheckedAccount4 | 1,378 | - |
| uncheckedAccount8 | 2,468 | - |

### Notable changes

---

## [0.30.0]

Solana version: 1.18.8

| Instruction | Compute Units | - |
| --------------------------- | ------------- | ---------------------- |
| accountInfo1 | 601 | 🟢 **-94 (13.53%)** |
Expand Down
98 changes: 98 additions & 0 deletions bench/STACK_MEMORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,104 @@ The programs and their tests are located in [/tests/bench](https://github.com/co

Solana version: 1.18.8

| Instruction | Stack Memory | - |
| ------------------------------ | ------------ | --- |
| account_info1 | 144 | - |
| account_info2 | 144 | - |
| account_info4 | 144 | - |
| account_info8 | 144 | - |
| account_empty_init1 | 144 | - |
| account_empty_init2 | 144 | - |
| account_empty_init4 | 192 | - |
| account_empty_init8 | 224 | - |
| account_empty1 | 144 | - |
| account_empty2 | 144 | - |
| account_empty4 | 144 | - |
| account_empty8 | 144 | - |
| account_sized_init1 | 176 | - |
| account_sized_init2 | 192 | - |
| account_sized_init4 | 224 | - |
| account_sized_init8 | 288 | - |
| account_sized1 | 144 | - |
| account_sized2 | 144 | - |
| account_sized4 | 144 | - |
| account_sized8 | 144 | - |
| account_unsized_init1 | 192 | - |
| account_unsized_init2 | 224 | - |
| account_unsized_init4 | 288 | - |
| account_unsized_init8 | 416 | - |
| account_unsized1 | 144 | - |
| account_unsized2 | 144 | - |
| account_unsized4 | 144 | - |
| account_unsized8 | 144 | - |
| boxed_account_empty_init1 | 144 | - |
| boxed_account_empty_init2 | 144 | - |
| boxed_account_empty_init4 | 192 | - |
| boxed_account_empty_init8 | 224 | - |
| boxed_account_empty1 | 144 | - |
| boxed_account_empty2 | 144 | - |
| boxed_account_empty4 | 144 | - |
| boxed_account_empty8 | 144 | - |
| boxed_account_sized_init1 | 144 | - |
| boxed_account_sized_init2 | 144 | - |
| boxed_account_sized_init4 | 192 | - |
| boxed_account_sized_init8 | 224 | - |
| boxed_account_sized1 | 144 | - |
| boxed_account_sized2 | 144 | - |
| boxed_account_sized4 | 144 | - |
| boxed_account_sized8 | 144 | - |
| boxed_account_unsized_init1 | 144 | - |
| boxed_account_unsized_init2 | 144 | - |
| boxed_account_unsized_init4 | 192 | - |
| boxed_account_unsized_init8 | 224 | - |
| boxed_account_unsized1 | 144 | - |
| boxed_account_unsized2 | 144 | - |
| boxed_account_unsized4 | 144 | - |
| boxed_account_unsized8 | 144 | - |
| boxed_interface_account_mint1 | 144 | - |
| boxed_interface_account_mint2 | 144 | - |
| boxed_interface_account_mint4 | 144 | - |
| boxed_interface_account_mint8 | 144 | - |
| boxed_interface_account_token1 | 144 | - |
| boxed_interface_account_token2 | 144 | - |
| boxed_interface_account_token4 | 144 | - |
| boxed_interface_account_token8 | 144 | - |
| interface_account_mint1 | 144 | - |
| interface_account_mint2 | 144 | - |
| interface_account_mint4 | 144 | - |
| interface_account_mint8 | 144 | - |
| interface_account_token1 | 144 | - |
| interface_account_token2 | 144 | - |
| interface_account_token4 | 144 | - |
| interface1 | 144 | - |
| interface2 | 144 | - |
| interface4 | 144 | - |
| interface8 | 144 | - |
| program1 | 144 | - |
| program2 | 144 | - |
| program4 | 144 | - |
| program8 | 144 | - |
| signer1 | 144 | - |
| signer2 | 144 | - |
| signer4 | 144 | - |
| signer8 | 144 | - |
| system_account1 | 144 | - |
| system_account2 | 144 | - |
| system_account4 | 144 | - |
| system_account8 | 144 | - |
| unchecked_account1 | 144 | - |
| unchecked_account2 | 144 | - |
| unchecked_account4 | 144 | - |
| unchecked_account8 | 144 | - |

### Notable changes

---

## [0.30.0]

Solana version: 1.18.8

| Instruction | Stack Memory | - |
| ------------------------------ | ------------ | ------------------- |
| account_info1 | 144 | 🔴 **+16 (12.50%)** |
Expand Down
Loading

0 comments on commit 852fcc7

Please sign in to comment.