feat(scenarios): add native Jupiter v6 support & refactor registry#413
feat(scenarios): add native Jupiter v6 support & refactor registry#413lgalabru merged 1 commit intosolana-foundation:mainfrom
Conversation
…registry, and update documentation.
|
im not sure if we really need this in surfpool tho |
|
so freaking cool thanks so much @TanmayDhobale ! |
Yes Ive verified it in two ways Unit Tests: Added a suite of tests in |
|
This is so awesome, @TanmayDhobale! Do you have an example token account I can set for the executing the scenario, and what data I can fetch on-chain afterwords to confirm it worked? |
|
@lgalabru, but do we really need this in the surfpool? I’d like to know your vision. we could add more protocols, like Raydium AMM |
yea verify it works without needing a live swap transaction and you can simply check that the state override is applied to a dummy address
Discriminator: [107, 110, 10, 17, 104, 195, 124, 11] (TokenLedger) |
lgalabru
left a comment
There was a problem hiding this comment.
Super exciting stuffs, thanks @TanmayDhobale!
Scenarios are going to be essential for generative testing, back testing, etc!
Problem Surfpool lacked native scenario support for Jupiter v6, preventing users from easily overriding swap states (e.g., TokenLedger). Additionally, the template registry contained duplicated logic for loading protocol overrides.