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
This commit is contained in:
Jack May
2021-01-19 16:24:44 -08:00
committed by GitHub
parent 4964b0fe61
commit e3bd9e5300
9 changed files with 1544 additions and 162 deletions

View File

@@ -22,14 +22,18 @@ walkdir = "2"
bincode = "1.1.4"
byteorder = "1.3.2"
elf = "0.0.10"
itertools = "0.10.0"
miow = "0.2.2"
net2 = "0.2.37"
solana-bpf-loader-program = { path = "../bpf_loader", version = "1.6.0" }
solana-cli-output = { path = "../../cli-output", version = "1.6.0" }
solana-logger = { path = "../../logger", version = "1.6.0" }
solana-measure = { path = "../../measure", version = "1.6.0" }
solana_rbpf = "=0.2.3"
solana-runtime = { path = "../../runtime", version = "1.6.0" }
solana-sdk = { path = "../../sdk", version = "1.6.0" }
solana_rbpf = "=0.2.3"
solana-transaction-status = { path = "../../transaction-status", version = "1.6.0" }
[[bench]]
name = "bpf_loader"