Problem
As reported in anza-xyz/agave#265, the entire config program doesn't need to be used in solana-account-decoder.
In the linked PR, one of the main issues with this dependency relationship is the implicit dependency of solana-account-decoder on solana-program-runtime. This is no longer the case since this program is now BPF.
However, it's a very opportune time to end the pattern of using full program crates as APIs, and instead use their client crates.
cc @kevinheavey
Problem
As reported in anza-xyz/agave#265, the entire config program doesn't need to be used in
solana-account-decoder.In the linked PR, one of the main issues with this dependency relationship is the implicit dependency of
solana-account-decoderonsolana-program-runtime. This is no longer the case since this program is now BPF.However, it's a very opportune time to end the pattern of using full program crates as APIs, and instead use their client crates.
cc @kevinheavey