LiteSVM / litesvm

Apache License 2.0
91 stars 17 forks source link

parses inner instructions #75

Closed ebrightfield closed 3 months ago

ebrightfield commented 3 months ago

This PR mostly pulls in this function from the solana-svm crate and includes the list of inner instructions as part of the metadata returned. It's very useful for a variety of use cases, for example in retrieving event data that gets emitted as a no-op CPI.

Edit: fixed lint + added a test

kevinheavey commented 3 months ago

~Already working on updating Solana crates here #76~

~Let's get that merged first so we don't have to copy-paste code~

Edit: nvm the function is private in the svm crate so we'll have to copy it anyway

Aursen commented 3 months ago

Can you add it in changelog please?

ebrightfield commented 3 months ago

Can you add it in changelog please?

Done, thanks!

Aursen commented 3 months ago

Awesome thanks