-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
250 additions
and
13 deletions.
There are no files selected for viewing
95 changes: 95 additions & 0 deletions
95
...ldens/aptos_api__tests__transactions_test__test_simulation_failure_with_detail_error.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
[ | ||
{ | ||
"version": "0", | ||
"hash": "", | ||
"state_change_hash": "", | ||
"event_root_hash": "", | ||
"state_checkpoint_hash": null, | ||
"gas_used": "3", | ||
"success": false, | ||
"vm_status": "LINKER_ERROR\nExecution failed with message: Linker Error: Module 0000000000000000000000000000000000000000000000000000000000000001::MemeCoin doesn't exist", | ||
"accumulator_root_hash": "", | ||
"changes": [ | ||
{ | ||
"address": "0xa550c18", | ||
"state_key_hash": "", | ||
"data": { | ||
"type": "0x1::account::Account", | ||
"data": { | ||
"authentication_key": "0xcef8ffd1ab9017e96132df8a56b22de39a8155e1c3fc32affbbf93eb624b532a", | ||
"coin_register_events": { | ||
"counter": "1", | ||
"guid": { | ||
"id": { | ||
"addr": "0xa550c18", | ||
"creation_num": "0" | ||
} | ||
} | ||
}, | ||
"guid_creation_num": "4", | ||
"key_rotation_events": { | ||
"counter": "0", | ||
"guid": { | ||
"id": { | ||
"addr": "0xa550c18", | ||
"creation_num": "1" | ||
} | ||
} | ||
}, | ||
"rotation_capability_offer": { | ||
"for": { | ||
"vec": [] | ||
} | ||
}, | ||
"sequence_number": "1", | ||
"signer_capability_offer": { | ||
"for": { | ||
"vec": [] | ||
} | ||
} | ||
} | ||
}, | ||
"type": "write_resource" | ||
} | ||
], | ||
"sender": "0xa550c18", | ||
"sequence_number": "0", | ||
"max_gas_amount": "100000000", | ||
"gas_unit_price": "0", | ||
"expiration_timestamp_secs": "18446744073709551615", | ||
"payload": { | ||
"function": "0x1::MemeCoin::transfer", | ||
"type_arguments": [ | ||
"0x1::aptos_coin::AptosCoin" | ||
], | ||
"arguments": [ | ||
"0x00000000000000000000000000000000000000000000000000000000000000dd", | ||
"0x0100000000000000" | ||
], | ||
"type": "entry_function_payload" | ||
}, | ||
"signature": { | ||
"public_key": "0x14418f867a0bd6d42abb2daa50cd68a5a869ce208282481f57504f630510d0d3", | ||
"signature": "0x1d4f1d6c0b140deb6c63e81c742ffd546c832683a14970c687fa823641d34395197548c242c126ea7226730ce66b9ab2f695a2bcda982f30944163179f9a3c08", | ||
"type": "ed25519_signature" | ||
}, | ||
"events": [ | ||
{ | ||
"guid": { | ||
"creation_number": "0", | ||
"account_address": "0x0" | ||
}, | ||
"sequence_number": "0", | ||
"type": "0x1::transaction_fee::FeeStatement", | ||
"data": { | ||
"execution_gas_units": "3", | ||
"io_gas_units": "0", | ||
"storage_fee_octas": "0", | ||
"storage_fee_refund_octas": "0", | ||
"total_charge_gas_units": "3" | ||
} | ||
} | ||
], | ||
"timestamp": "0" | ||
} | ||
] |
93 changes: 93 additions & 0 deletions
93
...i__tests__transactions_test__test_simulation_failure_with_move_abort_error_rendering.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
[ | ||
{ | ||
"version": "3", | ||
"hash": "", | ||
"state_change_hash": "", | ||
"event_root_hash": "", | ||
"state_checkpoint_hash": null, | ||
"gas_used": "11", | ||
"success": false, | ||
"vm_status": "Move abort in 0x1::coin: EINSUFFICIENT_BALANCE(0x10006): Not enough coins to complete transaction", | ||
"accumulator_root_hash": "", | ||
"changes": [ | ||
{ | ||
"address": "0x34bf7e2d17674feb234371a7ea58efd715f0e56ba20ebf13789480d9d643afaf", | ||
"state_key_hash": "", | ||
"data": { | ||
"type": "0x1::account::Account", | ||
"data": { | ||
"authentication_key": "0x34bf7e2d17674feb234371a7ea58efd715f0e56ba20ebf13789480d9d643afaf", | ||
"coin_register_events": { | ||
"counter": "1", | ||
"guid": { | ||
"id": { | ||
"addr": "0x34bf7e2d17674feb234371a7ea58efd715f0e56ba20ebf13789480d9d643afaf", | ||
"creation_num": "0" | ||
} | ||
} | ||
}, | ||
"guid_creation_num": "4", | ||
"key_rotation_events": { | ||
"counter": "0", | ||
"guid": { | ||
"id": { | ||
"addr": "0x34bf7e2d17674feb234371a7ea58efd715f0e56ba20ebf13789480d9d643afaf", | ||
"creation_num": "1" | ||
} | ||
} | ||
}, | ||
"rotation_capability_offer": { | ||
"for": { | ||
"vec": [] | ||
} | ||
}, | ||
"sequence_number": "1", | ||
"signer_capability_offer": { | ||
"for": { | ||
"vec": [] | ||
} | ||
} | ||
} | ||
}, | ||
"type": "write_resource" | ||
} | ||
], | ||
"sender": "0x34bf7e2d17674feb234371a7ea58efd715f0e56ba20ebf13789480d9d643afaf", | ||
"sequence_number": "0", | ||
"max_gas_amount": "100000000", | ||
"gas_unit_price": "0", | ||
"expiration_timestamp_secs": "18446744073709551615", | ||
"payload": { | ||
"function": "0x1::aptos_account::transfer", | ||
"type_arguments": [], | ||
"arguments": [ | ||
"0x1", | ||
"999999999999999999" | ||
], | ||
"type": "entry_function_payload" | ||
}, | ||
"signature": { | ||
"public_key": "0xd5a781494d2bf1a174ddffde1e02cb8881cff6dab70e61cbdef393deac0ce639", | ||
"signature": "0x0090fadcba9d32d9918286f8b651772a4d04a23633cc9d10f4339ad4d0b1b7c4ca4829542aa9a8b5a6a28e0e63dfd52863d38ca1ba1d2a57c4bf1efc72c0fb06", | ||
"type": "ed25519_signature" | ||
}, | ||
"events": [ | ||
{ | ||
"guid": { | ||
"creation_number": "0", | ||
"account_address": "0x0" | ||
}, | ||
"sequence_number": "0", | ||
"type": "0x1::transaction_fee::FeeStatement", | ||
"data": { | ||
"execution_gas_units": "6", | ||
"io_gas_units": "6", | ||
"storage_fee_octas": "0", | ||
"storage_fee_refund_octas": "0", | ||
"total_charge_gas_units": "11" | ||
} | ||
} | ||
], | ||
"timestamp": "500000" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters