Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird error with invalid guardrail script #27

Open
reeshavacharya opened this issue Sep 3, 2024 · 0 comments
Open

Weird error with invalid guardrail script #27

reeshavacharya opened this issue Sep 3, 2024 · 0 comments

Comments

@reeshavacharya
Copy link
Collaborator

After submitting a proposal with invalid guardrail-script:

{"selections": ["addr_test1qrd3hs7rlxwwdzthe6hj026dmyt3y0heuulctscyydh2kguh4xfmpjqkd25vfq69hcvj27jqyk4hvnyxu7vma2c4kvps8eh2m3", {"type": "PaymentSigningKeyShelley_ed25519", "description": "Payment Signing Key", "cborHex": "5820ab863c2e6c2e0837d1929b872c43dbe485c326a29527bf267da4cde498731f02"}], "proposals": [{"refundAccount": {"network": "Testnet", "credential": {"key hash": "db1bc3c3f99ce68977ceaf27ab4dd917123ef9e73f85c304236eab23"}}, "deposit": null, "anchor": {"url": "https://bit.ly/3zCH2HL", "dataHash": "1111111111111111111111111111111111111111111111111111111111111111"}, "withdraw": {"stake_test1ur22gq6nr20jw7jnn57gkvfw8u4dzpejfe8flxm3mt72fuc8zz8em": 500000000}, "script": {"type": "PlutusScriptV3", "description": "", "cborHex": "asdgasdgdsfgasdfgasdg"}}]}

The error is:

Error in $.proposals[0]: "atLeast" script value not found

A clear error indicating invalid guardrail script must be thrown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant