Commit Graph

2316 Commits

Author SHA1 Message Date
GroovieGermanikus 1e3c0aa1fd
log fastcpy 2024-06-24 15:12:28 +02:00
godmodegalactus de5362d4bb
Returning only program id, when there are no filters and dataslice lenghth is 0 2024-04-09 14:25:00 +02:00
steve-gg b1d8e4181f
Merge branch 'groovie/v1.17.25-with-patches' into v1.17.28_optimized_gPA 2024-04-09 11:04:12 +02:00
steve-gg f6bafb1a70
fix b58 2024-04-09 09:25:34 +02:00
steve-gg 201e019319
use fd_bs58 2024-04-09 09:20:09 +02:00
Will Hickey 31e37b8bb1
Update version to v1.17.28 (#286) 2024-03-18 13:13:12 +08:00
mergify[bot] 39336359de
v1.17: vote: deprecate unused legacy vote tx plumbing (backport of #274) (#275)
* vote: deprecate unused legacy vote tx plumbing (#274)

(cherry picked from commit b27c80a920)

# Conflicts:
#	sdk/src/feature_set.rs

* fix conflicts

---------

Co-authored-by: Ashwin Sekar <ashwin@anza.xyz>
Co-authored-by: Ashwin Sekar <ashwin@solana.com>
2024-03-17 22:16:11 -05:00
steviez 74e40fb45d
V1.17.27 version bump (#231) 2024-03-13 17:15:28 -05:00
mergify[bot] 2332aee4a2
v1.17: add precompile signature metrics to cost tracker (backport of #133) (#142)
* add precompile signature metrics to cost tracker (#133)

(cherry picked from commit 9770cd9083)

# Conflicts:
#	cost-model/src/cost_model.rs
#	cost-model/src/cost_tracker.rs

* merge fix

* fmt

---------

Co-authored-by: Tao Zhu <82401714+tao-stones@users.noreply.github.com>
Co-authored-by: Tao Zhu <tao@solana.com>
2024-03-12 20:47:16 -05:00
Yihau Chen b72e64563f
Bump version to v1.17.26 (#168) 2024-03-11 23:01:07 +08:00
mergify[bot] 3cc220cb62 v1.17: [anza migration] backport of #6, #8, #9 (#13)
* [anza migration] replace binaries backend (#6)

* ci: add upload-gcs-artifact

* ci: publish release binaries to GCS

* ci: redirect github repo to anza-xyz

* ci: publish windows binaries to GCS

* replace release.solana.com with release.anza.xyz

* use a explicit name for credential

(cherry picked from commit b061cd33cb919b7c6bbd58780e0142d97df4f4b7)

* [anza migration] ci: fix path (#8)

* ci: fix windows build

* ci: publish sdk docker image with the new name

* update automerge status

* [anza migration] ci: removed unused s3 upload in Windows build (#9)

ci: removed unused s3 upload in Windows build

---------

Co-authored-by: Yihau Chen <a122092487@gmail.com>
2024-03-03 13:12:21 +08:00
Will Hickey d0ed878d57
Update version to v1.17.25 (#35406) 2024-03-02 22:52:04 -06:00
Will Hickey ee1365a96b
Update version to v1.17.24 (#35313) 2024-02-24 06:16:06 +00:00
mergify[bot] d56a08300a
v1.17: replay: reload tower if set-identity during startup (backport of #35173) (#35256)
replay: reload tower if set-identity during startup (#35173)

* replay: reload tower if set-identity during startup

* pr feedback: add unit tests

* pr feedback: use tower.node_pubkey, more descriptive names

(cherry picked from commit befe8b9d98)

Co-authored-by: Ashwin Sekar <ashwin@solana.com>
2024-02-20 14:22:30 -08:00
steviez 04941eed46
v1.17.22 ==> v1.17.23 version bump (#35188) 2024-02-13 08:34:52 -07:00
Will Hickey 113eca2fac
Update version to v1.17.22 (#35184) 2024-02-12 16:05:01 -06:00
Yihau Chen 4ae690dc5a
Bump version to v1.17.21 (#35106) 2024-02-06 22:00:38 +08:00
Yihau Chen 4f00402c90
Version bump v1.17.20 (#35105)
* Bump version to v1.17.20

* revert hashbrown bump
2024-02-06 19:15:54 +08:00
Alexander Meißner fad585eda4
Backport - feature `disable_bpf_loader_instructions` to v1.17 (#35093)
* Adds the feature disable_bpf_loader_instructions.

* Deactivates the feature in the tests and benches.
2024-02-06 10:05:07 +01:00
Will Hickey 11be41d60b
Update version to v1.17.19 (#34986) 2024-01-27 08:00:15 +00:00
Will Hickey 6c8a23a0f3
Update version to v1.17.18 (#34866) 2024-01-21 22:57:59 +08:00
mergify[bot] 3261de4cd6
v1.17: Fix versioned message json deserialization (backport of #34808) (#34824) 2024-01-21 09:24:54 +08:00
mergify[bot] 7e18276b39
v1.17: [zk-token-sdk] Restrict Edwards and Ristretto multiscalar multiplication vector length to at most 512 (backport of #34763) (#34849)
* [zk-token-sdk] Restrict Edwards and Ristretto multiscalar multiplication vector length to at most 512 (#34763)

* restrict curve25519 multiscalar multiplication vector length to 512

* add syscall tests for msm vector length

* add new feature gate `curve25519_restrict_msm_length`

* update tests for feature new gate

* Update programs/bpf_loader/src/syscalls/mod.rs

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* remove length guard on the multisicalar mult lib function

---------

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
(cherry picked from commit 73218595c6)

# Conflicts:
#	sdk/src/feature_set.rs

* resolve conflict

---------

Co-authored-by: samkim-crypto <skim13@cs.stanford.edu>
2024-01-20 09:53:28 +09:00
mergify[bot] 3eae1c4e70
v1.17: sdk: add bounds check when instantiating `Keypair` from byte array (backport of #34817) (#34822)
sdk: add bounds check when instantiating `Keypair` from byte array (#34817)

(cherry picked from commit 6dbcdc063f)

Co-authored-by: Trent Nelson <trent@solana.com>
2024-01-18 04:46:07 +00:00
Yihau Chen cb6aef7c04
Bump version to v1.17.17 (#34804) 2024-01-17 13:24:26 +08:00
Will Hickey fc778555d9
Update version to v1.17.16 (#34680) 2024-01-07 19:23:10 +08:00
Will Hickey 731d42f2a2
Update version to v1.17.15 (#34627) 2024-01-03 12:40:29 +08:00
mergify[bot] 7d41bc489a
v1.17: rekey partitioned epoch rewards (backport of #34502) (#34571)
rekey partitioned epoch rewards (#34502)

Co-authored-by: HaoranYi <haoran.yi@solana.com>
(cherry picked from commit 2fd0bae71e)

Co-authored-by: HaoranYi <haoran.yi@gmail.com>
2023-12-22 13:08:20 -06:00
mergify[bot] 7f7ad61b71
v1.17: rekey stake limit feature (backport of #34503) (#34508)
rekey stake limit feature (#34503)

Co-authored-by: HaoranYi <haoran.yi@solana.com>
(cherry picked from commit 1ac017c409)

Co-authored-by: HaoranYi <haoran.yi@gmail.com>
2023-12-22 06:41:19 -06:00
Will Hickey 6a0ac908ed
Update version to v1.17.14 (#34563) 2023-12-21 10:39:46 -06:00
mergify[bot] b9aaedba6a
v1.17: Add feature flag for LastIndex and Erasure duplicate proofs (backport of #34360) (#34541)
* Add feature flag for LastIndex and Erasure duplicate proofs (#34360)

* Add feature flag for LastIndex and Erasure duplicate proofs

* pr feedback: use root bank instead of 2 params

* pr feedback: & instead of &Arc

* pr feedback: reuse fn, remove redundant clones

* rebase: fix feature set conflict

(cherry picked from commit def3bc4c4f)

# Conflicts:
#	sdk/src/feature_set.rs

* fix feature set conflict

---------

Co-authored-by: Ashwin Sekar <ashwin@solana.com>
2023-12-20 14:21:50 -05:00
mergify[bot] f7a655fe0c
v1.17: replay: feature flag consumption of duplicate proofs from blockstore (backport of #34372) (#34515)
* replay: feature flag consumption of duplicate proofs from blockstore (#34372)

* replay: feature flag consumption of duplicate proofs from blockstore

* pr feedback: reorder check, add flag for restart logic

(cherry picked from commit 4a8d27d921)

# Conflicts:
#	sdk/src/feature_set.rs

* fix feature set conflict

---------

Co-authored-by: Ashwin Sekar <ashwin@solana.com>
2023-12-19 15:32:19 -05:00
Will Hickey aaa266eb4d
Update version to v1.17.13 (#34496) 2023-12-17 10:19:34 +00:00
Will Hickey 492eb247af
Update version to v1.17.12 (#34492) 2023-12-16 04:25:12 +00:00
steviez 28e8af4aa3
V1.17.11 version bump (#34451)
* Update version to v1.17.11

* Undo hashbrown version changes
2023-12-13 19:23:07 -06:00
Will Hickey 9f51f5d0fc
Update version to v1.17.10 (#34394) 2023-12-10 13:57:00 -07:00
Will Hickey 78e7796a02
Update version to v1.17.9 (#34378) 2023-12-09 08:58:56 -06:00
mergify[bot] 7036ea0345
v1.17: chore: Update light-poseidon to 0.2.0 (backport of #33923) (#34247)
chore: Update light-poseidon to 0.2.0 (#33923)

That new release contains an important change which prevents a
potential DDoS.

* Lightprotocol/light-poseidon#32

Invoking `from_bytes_be` function light-poseidon 0.1.1 inverts all
the inputs before performing a check whether their length exceeds
the modulus of the prime field. Therefore, it was prone to an
attack, where a mailicious user could submit long byte slices just
to DDoS the validator, being stuck on inverting large byte sequences.

The update and mentioned change fixes the same issue as #33363 aims
to address.

The new release contains also few other less important changes like:

* Lightprotocol/light-poseidon#37
* Lightprotocol/light-poseidon#38
* Lightprotocol/light-poseidon#39

(cherry picked from commit 67f8daf6e9)

Co-authored-by: vadorovsky <vadorovsky@protonmail.com>
2023-12-09 08:11:34 +09:00
mergify[bot] 4b10458b3d
v1.17: Comment sysvar and builtin lists as deprecated and remove new keys (backport of #34365) (#34369)
Comment sysvar and builtin lists as deprecated and remove new keys (#34365)

(cherry picked from commit 79739e1b78)

Co-authored-by: Justin Starry <justin.starry@icloud.com>
2023-12-08 16:34:33 -06:00
mergify[bot] fe8f77e7bd
v1.17: adds feature gated code to drop legacy shreds (backport of #34328) (#34346)
* adds feature gated code to drop legacy shreds (#34328)

(cherry picked from commit d5eee01950)

* derefrences instead of clone

---------

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2023-12-07 17:10:33 +00:00
Will Hickey fdaa4caaaf
Update version to v1.17.8 (#34293) 2023-12-01 03:02:19 +00:00
Will Hickey 89906d8d3b
Update version to v1.17.7 (#34157) 2023-11-20 10:43:19 +08:00
mergify[bot] 0a195ad3d6
v1.17: [zk-token-proof] Feature gate transfer with fee related proofs (backport of #34103) (#34129)
* [zk-token-proof] Feature gate transfer with fee related proofs (#34103)

feature gate zk-token-proof transfer with fee

(cherry picked from commit a8863bd9fe)

# Conflicts:
#	sdk/src/feature_set.rs

* resolve conflict

---------

Co-authored-by: samkim-crypto <skim13@cs.stanford.edu>
2023-11-18 05:56:09 +09:00
Yihau Chen 6418bf3097
Bump version to v1.17.6 (#34025) 2023-11-12 09:47:59 -06:00
mergify[bot] 97795881ce
v1.17: Burn fees collected into invalid accounts (backport of #33887) (#33951)
* Burn fees collected into invalid accounts (#33887)

* refactor: create bank::fee_distribution module

* feature: add checks to fee distribution

* refactor: move Bank::deposit fn into test_utils

* feedback

* feedback 2

* add datapoints

* change to datapoint_warn

* typo

(cherry picked from commit ebe8afb0c3)

# Conflicts:
#	runtime/src/bank.rs
#	runtime/src/bank/tests.rs

* resolve conflicts

---------

Co-authored-by: Justin Starry <justin.starry@icloud.com>
Co-authored-by: Justin Starry <justin@solana.com>
2023-11-07 00:49:34 +01:00
mergify[bot] e206ea95ca
v1.17: rekey stake redelegate feature (backport of #33957) (#33958)
rekey stake redelegate feature (#33957)

Co-authored-by: HaoranYi <haoran.yi@solana.com>
(cherry picked from commit 75e598ece3)

Co-authored-by: HaoranYi <haoran.yi@gmail.com>
2023-11-06 19:00:45 +00:00
Will Hickey 1d2609e9f0
Update version to v1.17.5 (#33931) 2023-10-31 14:13:22 -05:00
mergify[bot] ae7d7427be
v1.17: revert programify feature gate (backport of #33897) (#33905)
revert programify feature gate (#33897)

(cherry picked from commit ecd674bd92)

Co-authored-by: Joe C <joe.caulfield@solana.com>
2023-10-28 00:24:31 +02:00
Will Hickey a5188a4966
Update version to v1.17.4 (#33799) 2023-10-20 22:43:34 +00:00
mergify[bot] d550015e7e
v1.17: program error: add `ArithmeticOverflow` (backport of #33767) (#33779)
program error: add `ArithmeticOverflow` (#33767)

(cherry picked from commit 37d093a30e)

Co-authored-by: Joe C <joe.caulfield@solana.com>
2023-10-20 18:12:57 +02:00