Make config_api more robust (#4980)

* Make config_api more robust

* Add test and update store instruction
This commit is contained in:
Tyera Eulberg
2019-07-09 13:37:18 -06:00
committed by GitHub
parent fc58b3e8c3
commit 5e221bf219
3 changed files with 65 additions and 15 deletions

View File

@ -226,6 +226,7 @@ fn store_update_manifest(
let signers = [from_keypair, update_manifest_keypair];
let instruction = config_instruction::store::<SignedUpdateManifest>(
&update_manifest_keypair.pubkey(),
true, // update_manifest_keypair is signer
vec![], // additional keys
update_manifest,
);