Skip to content

Commit

Permalink
Add Txns for AccountRestoration Indexer Processor Tests (#15728)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjunha authored Jan 16, 2025
1 parent 2798d4e commit 60262d9
Show file tree
Hide file tree
Showing 4 changed files with 832 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
{
"timestamp": {
"seconds": "1736842688",
"nanos": 258451000
},
"version": "2200077591",
"info": {
"hash": "gNgvi81AuqOuIbYwuZWyJIP/MCgsMLFHztoLLkVFbzM=",
"stateChangeHash": "x7wNmRFflsUzJpTvO/s7LcpIRgsNJZfQqW4gqdQixcI=",
"eventRootHash": "88NfjFBBk516O8CqFZmgfAi8LRIiTalls5fSxjtOkVY=",
"gasUsed": "999",
"success": true,
"vmStatus": "Executed successfully",
"accumulatorRootHash": "G0sDdTtfHO1ya0DfQTurSymWbYDcje3QXTjOzJDCxSM=",
"changes": [
{
"type": "TYPE_WRITE_RESOURCE",
"writeResource": {
"address": "0x21fccd4b01606fa6d094f3b99d6c4134107bf3bd72ef386316554356953e478a",
"stateKeyHash": "V4b0abNN7BV/FXN58EWNodrVBj+kHjN25Y7yAthn4oE=",
"type": {
"address": "0x1",
"module": "coin",
"name": "CoinStore",
"genericTypeParams": [
{
"type": "MOVE_TYPES_STRUCT",
"struct": {
"address": "0x1",
"module": "aptos_coin",
"name": "AptosCoin"
}
}
]
},
"typeStr": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>",
"data": "{\"coin\":{\"value\":\"99900000\"},\"deposit_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x21fccd4b01606fa6d094f3b99d6c4134107bf3bd72ef386316554356953e478a\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x21fccd4b01606fa6d094f3b99d6c4134107bf3bd72ef386316554356953e478a\",\"creation_num\":\"3\"}}}}"
}
},
{
"type": "TYPE_WRITE_RESOURCE",
"writeResource": {
"address": "0x21fccd4b01606fa6d094f3b99d6c4134107bf3bd72ef386316554356953e478a",
"stateKeyHash": "kaVoydo3dStnBbGmVU3SWaVaZFkU12/GyfTdg4PJiAs=",
"type": {
"address": "0x1",
"module": "account",
"name": "Account"
},
"typeStr": "0x1::account::Account",
"data": "{\"authentication_key\":\"0x21fccd4b01606fa6d094f3b99d6c4134107bf3bd72ef386316554356953e478a\",\"coin_register_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x21fccd4b01606fa6d094f3b99d6c4134107bf3bd72ef386316554356953e478a\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"4\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x21fccd4b01606fa6d094f3b99d6c4134107bf3bd72ef386316554356953e478a\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"1\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}"
}
},
{
"type": "TYPE_WRITE_RESOURCE",
"writeResource": {
"address": "0xedb6f48dc381485e1a46ec267a39c8f9769ebacf392ebdf74472173a8b95a7a2",
"stateKeyHash": "TPrhtIq8hAYE33zE2jRxFpi93BhjXCHnG7Up07iGv0o=",
"type": {
"address": "0x1",
"module": "coin",
"name": "CoinStore",
"genericTypeParams": [
{
"type": "MOVE_TYPES_STRUCT",
"struct": {
"address": "0x1",
"module": "aptos_coin",
"name": "AptosCoin"
}
}
]
},
"typeStr": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>",
"data": "{\"coin\":{\"value\":\"100\"},\"deposit_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xedb6f48dc381485e1a46ec267a39c8f9769ebacf392ebdf74472173a8b95a7a2\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xedb6f48dc381485e1a46ec267a39c8f9769ebacf392ebdf74472173a8b95a7a2\",\"creation_num\":\"3\"}}}}"
}
},
{
"type": "TYPE_WRITE_RESOURCE",
"writeResource": {
"address": "0xedb6f48dc381485e1a46ec267a39c8f9769ebacf392ebdf74472173a8b95a7a2",
"stateKeyHash": "ZoZlzg2NlCbag8QUp1TTw4mEVzQkkXB/XYIThcNvWKg=",
"type": {
"address": "0x1",
"module": "account",
"name": "Account"
},
"typeStr": "0x1::account::Account",
"data": "{\"authentication_key\":\"0xedb6f48dc381485e1a46ec267a39c8f9769ebacf392ebdf74472173a8b95a7a2\",\"coin_register_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xedb6f48dc381485e1a46ec267a39c8f9769ebacf392ebdf74472173a8b95a7a2\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"4\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xedb6f48dc381485e1a46ec267a39c8f9769ebacf392ebdf74472173a8b95a7a2\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"0\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}"
}
},
{
"type": "TYPE_WRITE_TABLE_ITEM",
"writeTableItem": {
"stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=",
"handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
"key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"data": {
"key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"",
"keyType": "address",
"value": "\"113578028364635431\"",
"valueType": "u128"
}
}
}
]
},
"epoch": "9949",
"blockHeight": "276992782",
"type": "TRANSACTION_TYPE_USER",
"sizeInfo": {
"transactionBytes": 268,
"eventSizeInfo": [
{
"typeTagBytes": 60,
"totalBytes": 161
},
{
"typeTagBytes": 53,
"totalBytes": 109
},
{
"typeTagBytes": 52,
"totalBytes": 108
},
{
"typeTagBytes": 63,
"totalBytes": 103
}
],
"writeOpSizeInfo": [
{
"keyBytes": 138,
"valueBytes": 105
},
{
"keyBytes": 84,
"valueBytes": 147
},
{
"keyBytes": 138,
"valueBytes": 105
},
{
"keyBytes": 84,
"valueBytes": 147
},
{
"keyBytes": 66,
"valueBytes": 16
}
]
},
"user": {
"request": {
"sender": "0x21fccd4b01606fa6d094f3b99d6c4134107bf3bd72ef386316554356953e478a",
"maxGasAmount": "200000",
"gasUnitPrice": "100",
"expirationTimestampSecs": {
"seconds": "1736842707"
},
"payload": {
"type": "TYPE_ENTRY_FUNCTION_PAYLOAD",
"entryFunctionPayload": {
"function": {
"module": {
"address": "0x1",
"name": "aptos_account"
},
"name": "transfer"
},
"arguments": [
"\"0xedb6f48dc381485e1a46ec267a39c8f9769ebacf392ebdf74472173a8b95a7a2\"",
"\"100\""
],
"entryFunctionIdStr": "0x1::aptos_account::transfer"
}
},
"signature": {
"type": "TYPE_SINGLE_SENDER",
"singleSender": {
"sender": {
"type": "TYPE_SINGLE_KEY",
"singleKeySignature": {
"publicKey": {
"type": "TYPE_ED25519",
"publicKey": "erVNvqw1T3X3hYntMBUSEAZsEr2PMccIcmZzI3+igaU="
},
"signature": {
"type": "TYPE_ED25519",
"signature": "PI+wp6BZ3t6DQle8gZLahdI1rjV6LY5kTSu0XFcL8wfOdSvmhv5Dll/T8JpCuXeDojvmM1FLb81IzPbo7ePSBA==",
"ed25519": {
"signature": "PI+wp6BZ3t6DQle8gZLahdI1rjV6LY5kTSu0XFcL8wfOdSvmhv5Dll/T8JpCuXeDojvmM1FLb81IzPbo7ePSBA=="
}
}
}
}
}
}
},
"events": [
{
"key": {
"accountAddress": "0xedb6f48dc381485e1a46ec267a39c8f9769ebacf392ebdf74472173a8b95a7a2"
},
"type": {
"type": "MOVE_TYPES_STRUCT",
"struct": {
"address": "0x1",
"module": "account",
"name": "CoinRegisterEvent"
}
},
"typeStr": "0x1::account::CoinRegisterEvent",
"data": "{\"type_info\":{\"account_address\":\"0x1\",\"module_name\":\"0x6170746f735f636f696e\",\"struct_name\":\"0x4170746f73436f696e\"}}"
},
{
"key": {
"creationNumber": "3",
"accountAddress": "0x21fccd4b01606fa6d094f3b99d6c4134107bf3bd72ef386316554356953e478a"
},
"type": {
"type": "MOVE_TYPES_STRUCT",
"struct": {
"address": "0x1",
"module": "coin",
"name": "WithdrawEvent"
}
},
"typeStr": "0x1::coin::WithdrawEvent",
"data": "{\"amount\":\"100\"}"
},
{
"key": {
"creationNumber": "2",
"accountAddress": "0xedb6f48dc381485e1a46ec267a39c8f9769ebacf392ebdf74472173a8b95a7a2"
},
"type": {
"type": "MOVE_TYPES_STRUCT",
"struct": {
"address": "0x1",
"module": "coin",
"name": "DepositEvent"
}
},
"typeStr": "0x1::coin::DepositEvent",
"data": "{\"amount\":\"100\"}"
},
{
"key": {
"accountAddress": "0x0"
},
"type": {
"type": "MOVE_TYPES_STRUCT",
"struct": {
"address": "0x1",
"module": "transaction_fee",
"name": "FeeStatement"
}
},
"typeStr": "0x1::transaction_fee::FeeStatement",
"data": "{\"execution_gas_units\":\"6\",\"io_gas_units\":\"5\",\"storage_fee_octas\":\"98800\",\"storage_fee_refund_octas\":\"0\",\"total_charge_gas_units\":\"999\"}"
}
]
}
}
Loading

0 comments on commit 60262d9

Please sign in to comment.