1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-29 09:38:08 +00:00
trezor-firmware/common/tests/fixtures/solana/sign_tx.memo_program.json
2023-12-05 22:11:41 +01:00

79 lines
2.2 KiB
JSON

{
"setup": {
"mnemonic": "all all all all all all all all all all all all",
"passphrase": ""
},
"tests": [
{
"description": "Memo",
"parameters": {
"address": "m/44'/501'/0'/0'",
"construct": {
"version": null,
"header": {
"signers": 1,
"readonly_signers": 0,
"readonly_non_signers": 1
},
"accounts": [
"14CCvQzQzHCVgZM3j9soPnXuJXh1RmCfwLVUcdfbZVBS",
"MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr"
],
"blockhash": "2p4rYZAaFfV5Uk5ugdG5KPNty9Uda9B3b4gWB8qnNqak",
"instructions": [
{
"program_index": 1,
"accounts": {
"signer_accounts": 0
},
"data": {
"instruction_id": null,
"memo": "Hello World"
}
}
],
"luts": []
}
},
"result": {
"expected_signature": "0a69b5df79ea6dc007fea6d9be72a94bb19dd3f957c7634737c33452b2539f870b251cb88ef639b4f5f2720c5de1a6bedf5f9b88b5ee0fa0a9ad87634f121909"
}
},
{
"description": "Memo Legacy",
"parameters": {
"address": "m/44'/501'/0'/0'",
"construct": {
"version": null,
"header": {
"signers": 1,
"readonly_signers": 0,
"readonly_non_signers": 1
},
"accounts": [
"14CCvQzQzHCVgZM3j9soPnXuJXh1RmCfwLVUcdfbZVBS",
"Memo1UhkJRfHyvLMcVucJwxXeuD728EqVDDwQDxFMNo"
],
"blockhash": "2p4rYZAaFfV5Uk5ugdG5KPNty9Uda9B3b4gWB8qnNqak",
"instructions": [
{
"program_index": 1,
"accounts": {
"signer_accounts": 0
},
"data": {
"instruction_id": null,
"memo": "Hello Legacy World"
}
}
],
"luts": []
}
},
"result": {
"expected_signature": "d52b675ca8a81bc9d3dd87eec309589a32645221fbab8792d5b3bf647528711321fdba67dd8af1276d62b201a5bb12d8b1a870e65341989708ccb25ef7155f08"
}
}
]
}