You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure whether it is a problem with the Plutarch context builder or a problem with how the scripts are evaluated.
In a ScriptCase, I use a policy script and apply a transaction context where I do two mintings, one from the minting policy that I want to test and another one that needs to be there so validation works. But then I see in the traces that the policy script is executed with the wrong symbol, the symbol of the policy that I want to test changes to the symbol of the last minted policy in the transaction, and also the number of tokens I burn or mint changes to that symbol.
To prevent this, I need to change the order in how the minting builders are applied. I need to ensure that the minting builder of the policy that I want to test is the last minting builder.
The text was updated successfully, but these errors were encountered:
I'm unsure whether it is a problem with the Plutarch context builder or a problem with how the scripts are evaluated.
In a ScriptCase, I use a policy script and apply a transaction context where I do two mintings, one from the minting policy that I want to test and another one that needs to be there so validation works. But then I see in the traces that the policy script is executed with the wrong symbol, the symbol of the policy that I want to test changes to the symbol of the last minted policy in the transaction, and also the number of tokens I burn or mint changes to that symbol.
To prevent this, I need to change the order in how the minting builders are applied. I need to ensure that the minting builder of the policy that I want to test is the last minting builder.
The text was updated successfully, but these errors were encountered: