Asserts that the given BanksTransactionResultWithMetadata is an error with a custom error code
or a program error.
Unfortunately BanksTransactionResultWithMetadata does not reliably expose the custom error code, so
we allow program error as well.
Fetches the fiven account, then copies and serializes it as a
ConcurrentMerkleTree.
Fetches the given account, then copies and serializes it as a HashSet.
Fetches the fiven account, then copies and serializes it as an
IndexedMerkleTree.
Creates and asserts forester account creation.