Align host addresses (#11384) (#11836)

* Align host addresses

* support new program abi

* update epoch rollout

* Enforce aligned pointers in cross-program invocations

(cherry picked from commit 9290e561e1)

# Conflicts:
#	programs/bpf_loader/src/lib.rs

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2020-08-26 00:19:38 +00:00
committed by GitHub
parent b8cc10749a
commit 3296c13ef2
16 changed files with 655 additions and 163 deletions

View File

@@ -562,7 +562,13 @@ fn test_stable_operating_mode() {
}
// Programs that are not available at epoch 0
for program_id in [&solana_sdk::bpf_loader::id(), &solana_vest_program::id()].iter() {
for program_id in [
&solana_sdk::bpf_loader::id(),
&solana_sdk::bpf_loader_deprecated::id(),
&solana_vest_program::id(),
]
.iter()
{
assert_eq!(
(
program_id,