Closed nazbrok closed 2 years ago
Note : The transactions failing to decode are ALL the transaction from marketplace MagicEden when someone buy an item. The transaction of someone putting his item for sale are correctly decoded.
Quick analysis: new instructions were added to the program that the library doesn't yet handle. should be a quick fix later today.
Describe the bug
The Helper
Solnet.Programs.InstructionDecoder.DecodeInstructions
is throwing an error : KeyNotFoundException: The given key '18' was not present in the dictionaryAll was working perfectly since yesterday around 20 PM UTC
To Reproduce Decoding this instruction (on mainnet) throw the exception above :
3Mhp6cAfmzmztNKPFR1nJJYuhH1FNnKfDpCN5VM6YJnHsqkMCxqCx7VrBwvXPKRXVVS5MLX5mPaWgjPQXM8kHNM4
Expected behavior Decode the transaction without errors
Screenshots
Desktop (please complete the following information): Tested on Node version 1.9.13 (quicknode) and 1.9.16 (public beta solana) Add the issue on Solnet 6.0.4, I upgraded to latest version 6.0.7 and the issue is still there