Justin Starry
304afd42c6
Revert "Stop caching sysvars, instead load them ahead of time (backport #21108 ) ( #22466 )"
...
This reverts commit 5d3f3bc9b1
.
2022-01-14 11:13:04 +08:00
mergify[bot]
5d3f3bc9b1
Stop caching sysvars, instead load them ahead of time (backport #21108 ) ( #22466 )
...
* Stop caching sysvars, instead load them ahead of time. (#21108 )
(cherry picked from commit 29ad081555
)
# Conflicts:
# programs/bpf/tests/programs.rs
# programs/bpf_loader/src/syscalls.rs
# programs/stake/src/stake_instruction.rs
# runtime/src/bank.rs
# runtime/src/message_processor.rs
# sdk/program/src/sysvar/mod.rs
# sdk/src/process_instruction.rs
* resolve conflicts
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
Co-authored-by: Justin Starry <justin@solana.com >
2022-01-13 17:51:13 +00:00
Trent Nelson
9aa7821277
Bump version to v1.8.13
2022-01-08 12:27:11 -07:00
mergify[bot]
3b895104f3
ClusterInfoVoteListener send only missing votes to BankingStage (backport #20873 ) ( #22135 )
...
* ClusterInfoVoteListener send only missing votes to BankingStage (#20873 )
(cherry picked from commit b30c94ce55
)
# Conflicts:
# core/src/cluster_info_vote_listener.rs
# core/src/verified_vote_packets.rs
# gossip/src/cluster_info.rs
# local-cluster/tests/local_cluster.rs
# runtime/src/bank.rs
* Resolve conflicts
* Remove Select
* Fixup tests
Co-authored-by: carllin <carl@solana.com >
2021-12-30 06:38:49 +00:00
Tyera Eulberg
9f53f3455a
Revert "Revert "Reformat imports to a consistent style for imports""
...
This reverts commit d7377d4794
.
2021-12-16 19:28:48 -07:00
Tyera Eulberg
7621fa3c25
Revert "Revert "Fix more BPF alignment issues on arm64""
...
This reverts commit bdaac86f84
.
2021-12-16 19:28:48 -07:00
Tyera Eulberg
a931b3f868
Revert "Revert "Fix authority in bpf_loader_upgradeable::close_any ( #21344 ) ( #21353 )""
...
This reverts commit 3d526883e3
.
2021-12-16 19:28:48 -07:00
Michael Vines
6bc52d4d47
Bump version to v1.8.12
2021-12-15 09:25:32 -08:00
Tao Zhu
4cae58bfe9
Bump version to 1.8.11
2021-12-13 12:58:29 -08:00
Trent Nelson
16abcac802
Bump version to 1.8.10
2021-12-13 12:46:23 -06:00
Trent Nelson
a5e6a188c1
Bump version to 1.8.9
2021-12-13 12:46:23 -06:00
Trent Nelson
9f44d60a39
Bump version to 1.8.8
2021-12-13 12:46:23 -06:00
Trent Nelson
9284c6fffb
Bump version to 1.8.7
2021-12-13 12:46:23 -06:00
Trent Nelson
2c49ab1ab4
Bump version to 1.8.6
2021-12-13 12:46:23 -06:00
Trent Nelson
9832ac54a4
Revert "Bump version to v1.8.6 ( #21329 )"
...
This reverts commit 336ee01aae
.
2021-12-13 12:46:23 -06:00
Trent Nelson
3d526883e3
Revert "Fix authority in bpf_loader_upgradeable::close_any ( #21344 ) ( #21353 )"
...
This reverts commit f3ea9bc995
.
2021-12-13 12:46:23 -06:00
Trent Nelson
bdaac86f84
Revert "Fix more BPF alignment issues on arm64"
...
This reverts commit e5aa5efbac
.
2021-12-13 12:46:23 -06:00
Trent Nelson
dc633e3385
Revert "Bump version to v1.8.7"
...
This reverts commit 008139f506
.
2021-12-13 12:46:23 -06:00
Trent Nelson
d7377d4794
Revert "Reformat imports to a consistent style for imports"
...
This reverts commit 139d15cd84
.
2021-12-13 12:46:23 -06:00
Trent Nelson
3369826bd1
Revert "Bump version to v1.8.8 ( #21609 )"
...
This reverts commit b8306a99d8
.
2021-12-13 12:46:23 -06:00
Trent Nelson
c0794d6fbb
Revert "Bump version to v1.8.9 ( #21703 )"
...
This reverts commit 69027e3f7e
.
2021-12-13 12:46:23 -06:00
Trent Nelson
400418fe2f
Revert "Bump version to 1.8.10 ( #21790 )"
...
This reverts commit 73acae9b5d
.
2021-12-13 12:46:23 -06:00
Tao Zhu
73acae9b5d
Bump version to 1.8.10 ( #21790 )
2021-12-10 18:44:32 -06:00
Alexander Meißner
69027e3f7e
Bump version to v1.8.9 ( #21703 )
2021-12-08 18:33:05 +01:00
Trent Nelson
b8306a99d8
Bump version to v1.8.8 ( #21609 )
2021-12-04 10:00:35 -07:00
Michael Vines
139d15cd84
Reformat imports to a consistent style for imports
...
rustfmt.toml configuration:
imports_granularity = "One"
group_imports = "One"
2021-12-03 09:41:09 -08:00
Michael Vines
008139f506
Bump version to v1.8.7
2021-12-01 11:44:18 -08:00
Michael Vines
e5aa5efbac
Fix more BPF alignment issues on arm64
2021-11-30 17:26:01 -08:00
mergify[bot]
f3ea9bc995
Fix authority in bpf_loader_upgradeable::close_any ( #21344 ) ( #21353 )
...
(cherry picked from commit 1a7cefded7
)
Co-authored-by: Kirill Fomichev <fanatid@ya.ru >
2021-11-19 09:10:48 -08:00
Tyera Eulberg
336ee01aae
Bump version to v1.8.6 ( #21329 )
2021-11-17 17:16:20 -07:00
mergify[bot]
40c86a0605
Fix BPF parameter alignment to work regardless of target ABI ( #21271 ) ( #21299 )
...
(cherry picked from commit 7e600bd451
)
Co-authored-by: Ben Newhouse <newhouseb@gmail.com >
2021-11-16 21:06:42 +00:00
sakridge
80c3591391
Bump version to 1.8.5 ( #21295 )
2021-11-16 11:58:57 -07:00
mergify[bot]
1a0eabe340
add new macro: pubkey!
(backport #21245 ) ( #21288 )
2021-11-15 13:42:30 -08:00
Tyera Eulberg
09ef4d12f7
Bump version to 1.8.4 ( #21232 ) ( #21235 )
...
Co-authored-by: sakridge <sakridge@gmail.com >
2021-11-10 15:20:41 -07:00
Tyera Eulberg
74684a107c
Revert "Bump version to 1.8.4 ( #21232 )"
...
This reverts commit 19b3ba0442
.
2021-11-10 11:19:39 -07:00
sakridge
19b3ba0442
Bump version to 1.8.4 ( #21232 )
2021-11-10 16:38:44 +01:00
mergify[bot]
b6fe051d24
Document next_account_info(s) ( #21076 ) ( #21080 )
...
(cherry picked from commit 62c8fb4792
)
Co-authored-by: Brian Anderson <andersrb@gmail.com >
2021-10-29 22:22:09 +00:00
Tyera Eulberg
8dd3c1ece1
Bump version to v1.8.3 ( #21040 )
2021-10-28 11:17:11 -06:00
mergify[bot]
afe229a89e
Document entrypoint!
, custom_heap_default!
, and custom_panic_default!
( #21003 ) ( #21015 )
...
(cherry picked from commit ced1505b75
)
Co-authored-by: Brian Anderson <andersrb@gmail.com >
2021-10-27 07:49:14 +00:00
mergify[bot]
0a698fc48f
Instruction sysvar fixes, additions (backport #20958 ) ( #21001 )
...
* Instruction sysvar fixes, additions (#20958 )
(cherry picked from commit 4fe3354c8f
)
# Conflicts:
# programs/bpf/rust/sysvar/src/lib.rs
# programs/bpf/tests/programs.rs
# sdk/program/src/sysvar/instructions.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-10-27 01:00:01 +00:00
mergify[bot]
307cda52ac
Fixed bug in AccountInfo::serialize() ( #20923 )
...
Closes #20917
(cherry picked from commit edf5bc242c
)
Co-authored-by: Eugene Lomov <eugene.v.lomov@gmail.com >
2021-10-25 02:26:18 +00:00
Trent Nelson
23b6ce7980
Bump version to 1.8.2
2021-10-21 00:43:40 -06:00
mergify[bot]
53f4bde471
add checked instructions sysvar api (backport #20790 ) ( #20816 )
...
* add checked instructions sysvar api (#20790 )
(cherry picked from commit a8098f37d0
)
# Conflicts:
# programs/bpf/rust/sysvar/src/lib.rs
# runtime/src/accounts.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-10-20 18:11:51 +00:00
mergify[bot]
63e37b2b20
Remove @brief annotations from Rust API docs (backport #20769 ) ( #20807 )
...
* Remove @brief annotations from Rust API docs (#20769 )
(cherry picked from commit d9b0fc0e3e
)
# Conflicts:
# programs/bpf/rust/invoke/src/instructions.rs
# programs/bpf/rust/invoke/src/processor.rs
# programs/bpf/rust/realloc/src/instructions.rs
# programs/bpf/rust/realloc/src/lib.rs
# programs/bpf/rust/realloc/src/processor.rs
# programs/bpf/rust/realloc_invoke/src/instructions.rs
# programs/bpf/rust/realloc_invoke/src/lib.rs
# programs/bpf/rust/realloc_invoke/src/processor.rs
# sdk/cargo-build-bpf/tests/crates/fail/src/lib.rs
# sdk/src/precompiles.rs
* Fix conflicts
Co-authored-by: Brian Anderson <andersrb@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-10-19 19:17:33 -06:00
mergify[bot]
ece4ecb792
stake: Add BorshSerialize
trait to structs ( #20784 ) ( #20792 )
...
(cherry picked from commit dc1b8ddea1
)
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-10-19 20:23:24 +00:00
Sean Young
0a6bb84aec
feat: add ed25519 signature verify program
...
Solang requires a method for verify ed25519 signatures. Add a new
builtin program at address Ed25519SigVerify111111111111111111111111111
which takes any number of ed25519 signature, public key, and message.
If any of the signatures fails to verify, an error is returned.
The changes for the web3.js package will go into another commit, since
the tests test against a released solana node. Adding web3.js ed25519
testing will break CI.
(cherry picked from commit b491354e51
)
Conflicts:
Cargo.lock
Cargo.toml
programs/bpf/Cargo.lock
runtime/Cargo.toml
sdk/src/feature_set.rs
sdk/src/transaction.rs
sdk/src/transaction/sanitized.rs
2021-10-18 15:41:24 +01:00
Sean Young
ebe77a0985
Proposal: log binary data for Solidity
...
Rename "Program return data: " to "Program return: " since "data" is
redundant.
(cherry picked from commit b89177c8de
)
Conflicts:
programs/bpf_loader/src/syscalls.rs
sdk/bpf/c/inc/sol/log.h
sdk/program/Cargo.toml
sdk/src/feature_set.rs
sdk/src/process_instruction.rs
2021-10-13 14:34:36 +01:00
Sean Young
927d3b5e0d
Add return data implementation
...
This consists of:
- syscalls
- passing return data from invoked to invoker
- printing to stable log
- rust and C SDK changes
(cherry picked from commit 53b47b87b2
)
2021-10-12 18:31:42 +01:00
Michael Vines
ef55045724
rebase
2021-10-07 07:44:12 -07:00
Michael Vines
81d2c3261c
Derive Pod/Zeroable for Pubkey
...
(cherry picked from commit f966859829
)
# Conflicts:
# Cargo.lock
# programs/bpf/Cargo.lock
# sdk/program/Cargo.toml
2021-10-07 07:44:12 -07:00