forked from solana-program/token
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In test_process_burn, NDBranches are caused by the following term
│ #traverseProjection ( toStack ( 4 , local ( 91 ) ) , #adjustRef ( ?SplIsNativeCOpt:Value , 3 ) , .ProjectionElems , CtxField ( variantIdx ( 0 ) , ListItem (Aggregate ( variantIdx ( 0 ) , ListItem (Range ( ?SplMintKey:List ))
│ ))
│ ListItem (Aggregate ( variantIdx ( 0 ) , ListItem (Range ( ?SplTokenOwnerKey:List ))
│ ))
│ ListItem (Integer ( ?SplAmount:Int , 64 , false ))
│ ListItem (#adjustRef ( ?SplDelegateCOpt:Value , 3 ))
│ ListItem (Integer ( ?SplAccountState:Int , 8 , false ))
│ ListItem (#adjustRef ( ?SplIsNativeCOpt:Value , 3 ))
│ ListItem (Integer ( ?SplDelegatedAmount:Int , 64 , false ))
│ ListItem (#adjustRef ( ?SplCloseAuthCOpt:Value , 3 ))
│ , 5 , ty ( 5800474 ) ) CtxField ( variantIdx ( 0 ) , ListItem (Aggregate ( variantIdx ( 0 ) , ListItem (Aggregate ( variantIdx ( 0 ) , ListItem (Range ( ?SplMintKey:List ))
│ ))
│ ListItem (Aggregate ( variantIdx ( 0 ) , ListItem (Range ( ?SplTokenOwnerKey:List ))
│ ))
│ ListItem (Integer ( ?SplAmount:Int , 64 , false ))
│ ListItem (#adjustRef ( ?SplDelegateCOpt:Value , 3 ))
│ ListItem (Integer ( ?SplAccountState:Int , 8 , false ))
│ ListItem (#adjustRef ( ?SplIsNativeCOpt:Value , 3 ))
│ ListItem (Integer ( ?SplDelegatedAmount:Int , 64 , false ))
│ ListItem (#adjustRef ( ?SplCloseAuthCOpt:Value , 3 ))
│ ))
│ , 0 , ty ( 5800463 ) ) CtxField ( variantIdx ( 0 ) , ListItem (Aggregate ( variantIdx ( 0 ) , ListItem (Aggregate ( variantIdx ( 0 ) , ListItem (Aggregate ( variantIdx ( 0 ) , ListItem (Range ( ?SplMintKey:List ))
│ ))
│ ListItem (Aggregate ( variantIdx ( 0 ) , ListItem (Range ( ?SplTokenOwnerKey:List ))
│ ))
│ ListItem (Integer ( ?SplAmount:Int , 64 , false ))
│ ListItem (#adjustRef ( ?SplDelegateCOpt:Value , 3 ))
│ ListItem (Integer ( ?SplAccountState:Int , 8 , false ))
│ ListItem (#adjustRef ( ?SplIsNativeCOpt:Value , 3 ))
│ ListItem (Integer ( ?SplDelegatedAmount:Int , 64 , false ))
│ ListItem (#adjustRef ( ?SplCloseAuthCOpt:Value , 3 ))
│ ))
│ ))
│ , 0 , ty ( 5800482 ) ) .Contexts )
My initial thought is that this is caused by the uninterpreted #adjustRef.
Another possible solution is to unwrap the insider of these symbolic values.
- reproduce this with small program;
Metadata
Metadata
Assignees
Labels
No labels