* Prevent the invoke and upgrade of programs in the same tx batch (#14653)
* Prevent the invoke and upgrade of programs in the same tx batch
* Pass program address as writable in the upgrade instruction
(cherry picked from commit e3bd9e5300
)
# Conflicts:
# programs/bpf/Cargo.lock
# programs/bpf/Cargo.toml
# programs/bpf/tests/programs.rs
* fix conflicts
Co-authored-by: Jack May <jack@solana.com>