LiteSVM / litesvm

Apache License 2.0
132 stars 24 forks source link

parses inner instructions #75

Closed ebrightfield closed 5 months ago

ebrightfield commented 5 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 5 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 5 months ago

Can you add it in changelog please?

ebrightfield commented 5 months ago

Can you add it in changelog please?

Done, thanks!

Aursen commented 5 months ago

Awesome thanks