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
Is your enhancement request related to a problem? Please describe.
If the rent-payer attr is not directly after the attributes kw, the generator throws with: Unmarshall error the cursor is out of bound
This is misleading, since there ir no reference at where the problem is originated.
Also, I couldn't find in Codigo docs any reference to the expected position of rent-payer, so I'm not sure if this is an enhancement or a bug.
CIDL:
- name: create_pet_custom_rent_payer
solana:
signers:
- name: fee_payer
- name: owner
inputs:
- name: pet
type: Pet
solana:
attributes: [ init_if_needed ]
seeds:
owner: owner
rent-payer: owner -------------------------> This produces the error
- name: neim
type: string
JazielGuerrero
added
Bug
This is an item that causes unwanted behavior
Todo
This item hasn't been started
and removed
Triage
This item needs to be prioritize
Enhancement
This improve the product or Código's source code
labels
Dec 4, 2023
Is your enhancement request related to a problem? Please describe.
If the
rent-payer
attr is not directly after theattributes
kw, the generator throws with:Unmarshall error the cursor is out of bound
This is misleading, since there ir no reference at where the problem is originated.
Also, I couldn't find in Codigo docs any reference to the expected position of
rent-payer
, so I'm not sure if this is an enhancement or a bug.CIDL:
Fix:
Describe the solution you'd like
To allow
rent-payer
in any position of an inputs
solana` extension, or to provide a better error hint.The text was updated successfully, but these errors were encountered: