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

Candid blobs for ICRC29 Test vectors #236

Closed
lmuntaner opened this issue Jul 30, 2024 · 1 comment
Closed

Candid blobs for ICRC29 Test vectors #236

lmuntaner opened this issue Jul 30, 2024 · 1 comment

Comments

@lmuntaner
Copy link

lmuntaner commented Jul 30, 2024

We shared two test vectors to implement validation for ICRC29 flow:

{"content": {"arg": h'4449444C00017104746F6269', "canister_id": h'00000000006000FD0101', "ingress_expiry": 1712667140606000000, "method_name": "greet", "request_type": "query", "sender": h'04'}}

and

{"content": {"arg": h'4449444C076D7B6C01D880C6D007716C02CBAEB581017AB183E7F1077A6B028BEABFC2067F8EF1C1EE0D026E036C02EFCEE7800401C4FBF2DB05046C03D6FCA70200E1EDEB4A7184F7FEE80A0501060C4449444C00017104746F626905677265657402656E01011E000300', "canister_id": h'00000000006000FD0101', "ingress_expiry": 1712666698482000000, "method_name": "icrc21_canister_call_consent_message", "nonce": h'A3788C1805553FB69B20F08E87E23B13', "request_type": "call", "sender": h'04'}}

I encoded both with Candid as requested:

icrc29.json.txt

I also pushed the code to encode the vectors here in case there is another issue while I'm on holidays.

🔗 zboto Link

@lmuntaner
Copy link
Author

Closing this PR and referencing it in #250

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