mergify[bot]
a983430ddb
Check CPI program is executable ( #12644 ) ( #12649 )
...
(cherry picked from commit adeb06e550
)
Co-authored-by: Jack May <jack@solana.com >
2020-10-02 22:27:29 +00:00
mergify[bot]
966d0f72bb
Move process_instruction defs to runtime ( #12507 ) ( #12549 )
...
(cherry picked from commit 2ff983647f
)
Co-authored-by: Jack May <jack@solana.com >
2020-09-29 15:52:38 +00:00
mergify[bot]
0c4074049b
Cleanup names, fix line dependent test ( #12477 ) ( #12482 )
...
(cherry picked from commit b8c4b88188
)
Co-authored-by: Jack May <jack@solana.com >
2020-09-26 01:08:55 +00:00
mergify[bot]
b96e0e3d27
Drain the entire compute budget (bp #12478 ) ( #12492 )
...
* Drain the entire compute budget (#12478 )
(cherry picked from commit d00453f747
)
* fix conflict
Co-authored-by: Jack May <jack@solana.com >
2020-09-25 23:22:19 +00:00
mergify[bot]
7212bb12ea
Record and store invoked instructions in transaction meta ( #12311 ) ( #12449 )
...
* Record invoked instructions and store in transaction meta
* Enable cpi recording if transaction sender is some
* Rename invoked to innerInstructions
(cherry picked from commit 6601ec8f26
)
Co-authored-by: Justin Starry <justin@solana.com >
2020-09-24 15:42:34 +00:00
mergify[bot]
11ff80c64b
Cache re-usable work performed by the loader (bp #12135 ) ( #12216 )
...
* Cache re-usable work performed by the loader (#12135 )
(cherry picked from commit 3278d78f08
)
# Conflicts:
# programs/bpf/Cargo.toml
# programs/bpf/tests/programs.rs
# programs/bpf_loader/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-09-15 21:25:32 +00:00
mergify[bot]
8dc019ae98
Gate pointer alignment enforcement (bp #12176 ) ( #12188 )
...
* Gate pointer alignment enforcement (#12176 )
(cherry picked from commit ae7b15f062
)
# Conflicts:
# programs/bpf/tests/programs.rs
* Fix conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-09-12 00:06:39 +00:00
mergify[bot]
67d9faaefc
Bump compute budget ( #11864 ) ( #11867 )
...
* Bump compute budget
* nudge
(cherry picked from commit ea179ad762
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-26 23:12:01 +00:00
mergify[bot]
39eeb0142e
Add SystemInstruction::CreateAccount support to CPI (bp #11649 ) ( #11831 )
...
* Add SystemInstruction::CreateAccount support to CPI (#11649 )
(cherry picked from commit e9b610b8df
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
# runtime/src/bank.rs
# sdk/src/instruction.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-08-25 19:52:27 +00:00
mergify[bot]
6749bfd1d2
Gate aligned program heap (bp #11808 ) ( #11814 )
...
* Gate aligned program heap (#11808 )
(cherry picked from commit c2e5dae7ba
)
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-08-25 15:57:15 +00:00
mergify[bot]
ad36ddedf1
CPI support for bpf_loader_deprecated (bp #11695 ) ( #11824 )
...
* CPI support for bpf_loader_deprecated (#11695 )
(cherry picked from commit 46830124f8
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-08-25 11:02:06 +00:00
mergify[bot]
f162c6d1d0
Align host addresses (bp #11384 ) ( #11817 )
...
* Align host addresses (#11384 )
* Align host addresses
* support new program abi
* update epoch rollout
* Enforce aligned pointers in cross-program invocations
(cherry picked from commit 9290e561e1
)
# Conflicts:
# core/src/validator.rs
# genesis-programs/src/lib.rs
# programs/bpf_loader/src/deprecated.rs
# programs/bpf_loader/src/lib.rs
# sdk/src/entrypoint_native.rs
# sdk/src/lib.rs
* resolve conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2020-08-25 07:23:20 +00:00
mergify[bot]
67bf7515a7
Aligned program heap ( #11657 ) ( #11812 )
...
(cherry picked from commit f8606fca4f
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-24 20:12:58 +00:00
mergify[bot]
0dcbc6d4d1
The constraints on compute power a program can consume is limited only to its instruction count (bp #11717 ) ( #11800 )
...
* The constraints on compute power a program can consume is limited only to its instruction count (#11717 )
(cherry picked from commit 8d362f682b
)
# Conflicts:
# programs/bpf/Cargo.toml
# programs/bpf_loader/Cargo.toml
# programs/bpf_loader/src/lib.rs
# programs/bpf_loader/src/syscalls.rs
# runtime/src/bank.rs
# sdk/src/instruction.rs
* Resolve conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2020-08-24 17:27:40 +00:00
mergify[bot]
79a2ccabb4
Return an error from create_program_address syscall (bp #11658 ) ( #11789 )
...
* Return an error from create_program_address syscall (#11658 )
(cherry picked from commit 750e5344f1
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-08-24 04:30:29 +00:00
mergify[bot]
a227b813d8
Feature check CPI up front ( #11652 ) ( #11787 )
...
(cherry picked from commit 4196686acf
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-22 01:27:33 +00:00
mergify[bot]
2b4e0abb43
fix region checks ( #11651 ) ( #11785 )
...
(cherry picked from commit 768b386f0a
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-22 01:14:13 +00:00
mergify[bot]
a8de467ef8
Realloc not supported ( #11418 )
...
(cherry picked from commit bc4c5c5a97
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-06 16:24:14 +00:00
mergify[bot]
5c27009758
Force program address off the curve ( #11323 ) ( #11398 )
...
(cherry picked from commit 03263c850a
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-06 01:00:42 +00:00
Jack May
2dbed80e48
Disable cross-program invocations for OperatingMode::Stable ( #11272 )
2020-07-29 15:29:52 -07:00
Greg Fitzgerald
1c498369b5
Remove fee-payer guesswork from Message and Transaction ( #10776 )
...
* Make Message::new_with_payer the default constructor
* Remove Transaction::new_[un]signed_instructions
These guess the fee-payer instead of stating it explicitly
2020-06-24 14:52:38 -06:00
Jack May
73586c1aad
Use &[u8] for program address seeds rather then &str ( #10744 )
2020-06-22 16:51:43 -07:00
Jack May
b6a9573748
Route all loader messages to log collector ( #10528 )
2020-06-13 13:20:08 -07:00
Michael Vines
7e2651ca51
RPC simulateTransaction endpoint now returns program log output ( #10432 )
2020-06-06 10:18:28 -07:00
Michael Vines
a4cd96609c
Add built-in programs to InvokeContext ( #10383 )
...
automerge
2020-06-03 12:48:19 -07:00
Jack May
03abd3ddd7
Prevent privilege escalation ( #10232 )
...
automerge
2020-05-26 01:02:31 -07:00
Jack May
4a72c2b054
Support cross-program invocation to native programs ( #10136 )
2020-05-20 09:24:57 -07:00
Greg Fitzgerald
5e89bd8868
Panic if no fee-payer found via Message::new() ( #10050 )
...
automerge
2020-05-15 12:23:09 -07:00
Kristofer Peterson
58ef02f02b
9951 clippy errors in the test suite ( #10030 )
...
automerge
2020-05-15 09:35:43 -07:00
Justin Starry
5cc252d471
Remove hash field from account ( #9915 )
2020-05-12 23:39:46 +08:00
Jack May
af84dff9ef
nudge
2020-05-11 09:06:05 -07:00
Jack May
97e17f9b32
Programs can only sign their accounts
2020-05-11 09:06:05 -07:00
Jack May
7678af6300
Cleanup BPF helper symbols ( #9804 )
2020-04-30 11:29:11 -07:00
Jack May
de9d8cd849
Rename BPF helper to syscall ( #9819 )
...
automerge
2020-04-30 01:43:11 -07:00