Add missing InstructionError::IllegalOwner conversion (#21524)

* Add missing InstructionError code

* Add test that will fail on missing conversion

* Move enum-iterator to dev-only
This commit is contained in:
Tyera Eulberg
2021-12-01 16:28:50 -07:00
committed by GitHub
parent c8a52337c8
commit 0fc1c2e1fb
4 changed files with 65 additions and 1 deletions

View File

@@ -18,6 +18,9 @@ solana-account-decoder = { path = "../account-decoder", version = "=1.9.0" }
solana-sdk = { path = "../sdk", version = "=1.9.0" }
solana-transaction-status = { path = "../transaction-status", version = "=1.9.0" }
[dev-dependencies]
enum-iterator = "0.7.0"
[lib]
crate-type = ["lib"]
name = "solana_storage_proto"