mergify[bot]
ad9fceec8e
Update syscall base costs ( #22930 )
...
(cherry picked from commit 2aa113fd8c
)
Co-authored-by: Dmitri Makarov <dmakarov@alumni.stanford.edu >
2022-02-07 05:11:14 +00:00
Justin Starry
4b7450e89e
Perf: Store deserialized sysvars in the sysvars cache (backport #22455 ) ( #22627 )
...
* Perf: Store deserialized sysvars in the sysvars cache (#22455 )
* resolve conflicts
* remove bench
2022-01-22 14:09:05 +08:00
Justin Starry
2d5957a4b4
Refactor: move sysvar cache to new module ( #22586 )
2022-01-20 03:27:03 +00:00
Justin Starry
db942269f0
Stop caching sysvars, instead load them ahead of time (backport #21108 ) ( #22572 )
...
* Bump version to v1.8.14
* Stop caching sysvars, instead load them ahead of time (backport #21108 )
Co-authored-by: Trent Nelson <trent@solana.com >
2022-01-19 17:42:43 +08:00
mergify[bot]
4706aa4900
wrap create executor timings datapoint in a module ( #22397 )
...
Co-authored-by: Trent Nelson <trent@solana.com >
2022-01-19 00:33:36 +00:00
mergify[bot]
aabcdcf8fb
Add execute metrics (backport #22296 ) ( #22334 )
...
* consolidate execute timings to a common module
* Add execute metrics
* Add metrics for executor creation
* Use saturating_add_assign macro
Co-authored-by: Trent Nelson <trent@solana.com >
Co-authored-by: Carl Lin <carl@solana.com >
2022-01-18 19:18:24 +00:00
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
8a470d3ae8
add excutor creation trace timings
2022-01-08 04:46:31 -07:00
mergify[bot]
cad0e7f04f
cache executors on failed transactions (backport #22308 ) ( #22327 )
...
* cache executors on failed transactions (#22308 )
(cherry picked from commit 12e160269e
)
# Conflicts:
# program-runtime/src/invoke_context.rs
# programs/bpf_loader/src/lib.rs
# runtime/src/bank.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2022-01-06 15:38:39 -08:00
mergify[bot]
1babd07faf
Increment execution timings on errors as well (backport #22053 ) ( #22071 )
...
* Increment execution timings on errors as well (#22053 )
(cherry picked from commit 37f6777ceb
)
# Conflicts:
# programs/bpf_loader/src/lib.rs
* Fix conflicts
Co-authored-by: carllin <carl@solana.com >
2022-01-01 13:04:34 +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
feef0ea478
Revert "Revert "Spit log data charge into two ( #21349 ) ( #21352 )""
...
This reverts commit 03db11eb3a
.
2021-12-16 19:28:48 -07:00
Tyera Eulberg
548c0afac2
Revert "Revert "Charge for sol_log_data translates ( #21328 ) ( #21335 )""
...
This reverts commit fbf93f89a9
.
2021-12-16 19:28:48 -07:00
Alexander Meißner
423a4d6546
Bumps solana_rbpf to v0.2.19 ( #21880 )
2021-12-14 14:06:08 -08:00
Alexander Meißner
2d93db9dec
Feature gates for rbpf v0.2.16 ( #21590 )
...
- Adds feature reject_section_virtual_address_file_offset_mismatch.
- Adds feature start_verify_shift32_imm.
- Enables enable_symbol_and_section_labels only in the rbpf-cli.
2021-12-14 14:06:08 -08:00
Alexander Meißner
558a52d5cb
Bumps solana_rbpf to v0.2.16 ( #21492 )
2021-12-14 14:06:08 -08:00
Alexander Meißner
e2850c84d2
Adds a feature gate to reject the deployment of programs with unresolved syscall symbols. ( #21298 )
2021-12-14 14:06:08 -08:00
Alexander Meißner
f9b7e24846
Bump solana_rbpf to version v0.2.14 ( #18869 )
...
* Feature gate for verify_mul64_imm_nonzero as discussed in #17520 .
2021-12-14 14:06:08 -08:00
Alexander Meißner
843f26c2de
Bump solana_rbpf to version 0.2.13 ( #18068 )
...
* Moves syscall_registry into the rbpf Executable constructor.
* Adds the reject_unresolved_syscalls flag which is only set when deploying programs via the CLI.
2021-12-14 14:06:08 -08:00
Alexander Meißner
a09e8397fb
Bump solana_rbpf to version 0.2.12 ( #17585 )
...
Unify BPF verifiers.
2021-12-14 14:06:08 -08:00
Trent Nelson
fbf93f89a9
Revert "Charge for sol_log_data translates ( #21328 ) ( #21335 )"
...
This reverts commit 0565fe3320
.
2021-12-13 12:46:23 -06:00
Trent Nelson
03db11eb3a
Revert "Spit log data charge into two ( #21349 ) ( #21352 )"
...
This reverts commit b63617a3e1
.
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
d7377d4794
Revert "Reformat imports to a consistent style for imports"
...
This reverts commit 139d15cd84
.
2021-12-13 12:46:23 -06:00
Trent Nelson
6aaff6183d
Revert "Bump solana_rbpf to version 0.2.12 ( #17585 )"
...
This reverts commit 231a3bda8e
.
2021-12-13 12:46:23 -06:00
Trent Nelson
de8dc27ecf
Revert "Bump solana_rbpf to version 0.2.13 ( #18068 )"
...
This reverts commit 765fbc9a8c
.
2021-12-13 12:46:23 -06:00
Trent Nelson
cc75f576e2
Revert "Bump solana_rbpf to version v0.2.14 ( #18869 )"
...
This reverts commit 9d66458a40
.
2021-12-13 12:46:23 -06:00
Trent Nelson
4a186c5834
Revert "Adds a feature gate to reject the deployment of programs with unresolved syscall symbols. ( #21298 )"
...
This reverts commit 06a3e9b178
.
2021-12-13 12:46:23 -06:00
Trent Nelson
c6141925a9
Revert "Bumps solana_rbpf to v0.2.16 ( #21492 )"
...
This reverts commit f04e06e0c2
.
2021-12-13 12:46:23 -06:00
Trent Nelson
e68cd335d5
Revert "Feature gates for rbpf v0.2.16 ( #21590 )"
...
This reverts commit 6777ca244f
.
2021-12-13 12:46:23 -06:00
Alexander Meißner
6777ca244f
Feature gates for rbpf v0.2.16 ( #21590 )
...
- Adds feature reject_section_virtual_address_file_offset_mismatch.
- Adds feature start_verify_shift32_imm.
- Enables enable_symbol_and_section_labels only in the rbpf-cli.
2021-12-04 00:41:04 -07:00
Alexander Meißner
f04e06e0c2
Bumps solana_rbpf to v0.2.16 ( #21492 )
2021-12-04 00:41:04 -07:00
Alexander Meißner
06a3e9b178
Adds a feature gate to reject the deployment of programs with unresolved syscall symbols. ( #21298 )
2021-12-04 00:41:04 -07:00
Alexander Meißner
9d66458a40
Bump solana_rbpf to version v0.2.14 ( #18869 )
...
* Feature gate for verify_mul64_imm_nonzero as discussed in #17520 .
2021-12-04 00:41:04 -07:00
Alexander Meißner
765fbc9a8c
Bump solana_rbpf to version 0.2.13 ( #18068 )
...
* Moves syscall_registry into the rbpf Executable constructor.
* Adds the reject_unresolved_syscalls flag which is only set when deploying programs via the CLI.
2021-12-04 00:41:04 -07:00
Alexander Meißner
231a3bda8e
Bump solana_rbpf to version 0.2.12 ( #17585 )
...
Unify BPF verifiers.
2021-12-04 00:41:04 -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
e5aa5efbac
Fix more BPF alignment issues on arm64
2021-11-30 17:26:01 -08:00
mergify[bot]
b63617a3e1
Spit log data charge into two ( #21349 ) ( #21352 )
...
(cherry picked from commit e9c00d1e69
)
Co-authored-by: Jack May <jack@solana.com >
2021-11-18 23:58:44 +00:00
mergify[bot]
0565fe3320
Charge for sol_log_data translates ( #21328 ) ( #21335 )
...
(cherry picked from commit 91fe1278f1
)
Co-authored-by: Jack May <jack@solana.com >
2021-11-18 20:27:50 +00:00
Alexander Meißner
318d26f0ff
Reverts #21302 ( #21320 )
2021-11-17 10:31:07 +01:00
mergify[bot]
baa4c6eaf2
Bump solana_rbpf to version 0.2.13 ( #18068 ) ( #21302 )
...
* Moves syscall_registry into the rbpf Executable constructor.
* Adds the reject_unresolved_syscalls flag which is only set when deploying programs via the CLI.
(cherry picked from commit 8d5c04e257
)
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
2021-11-17 01:23:15 +00: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
mergify[bot]
440ccd189e
Add program heap bump instruction (backport #20607 ) ( #20815 )
...
* Add program heap bump instruction (#20607 )
(cherry picked from commit 58164517e4
)
* nudge
Co-authored-by: Jack May <jack@solana.com >
2021-10-20 23:05:57 +00: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
mergify[bot]
07b71329a7
Update feature switch for reduced required deploy balance (backport #19999 ) ( #20012 )
...
* Update feature switch for reduced required deploy balance (#19999 )
(cherry picked from commit ea34eb8a4b
)
# Conflicts:
# programs/bpf_loader/src/lib.rs
* fix conflict
Co-authored-by: Justin Starry <justin@solana.com >
2021-09-19 23:17:59 +00:00
mergify[bot]
d0143dad8f
Reduce payer balance needed to deploy programs (backport #19645 ) ( #19998 )
...
* Reduce payer balance needed to deploy programs (#19645 )
* Reduce payer balance needed to deploy programs
* Fix test and unbalanced ix error
* fix test
* fix up tests
(cherry picked from commit efd024510a
)
# Conflicts:
# programs/bpf_loader/src/lib.rs
* fix conflicts
Co-authored-by: Justin Starry <justin@solana.com >
2021-09-18 04:46:42 +00:00