From 4b306c02ec05d3f93c068a499c16fa7ada34c7b7 Mon Sep 17 00:00:00 2001
From: Zekun Li
Date: Mon, 25 Apr 2022 21:38:06 -0700
Subject: [PATCH] [AptosFramework] add error code for Stake
Closes: #649
---
...__accounts_test__test_account_modules.json | 13 +--
...ts_test__test_account_modules_structs.json | 13 +--
...ts_test__test_get_module_aptos_config.json | 13 +--
...test_get_module_with_script_functions.json | 13 +--
...ansactions_output_genesis_transaction.json | 32 ++----
...nsaction_with_script_function_payload.json | 8 +-
...e_when_start_version_is_not_specified.json | 100 +++++++++---------
...ed_by_invalid_module_payload_bytecode.json | 4 +-
...ed_by_invalid_script_function_address.json | 4 +-
..._by_invalid_script_function_arguments.json | 4 +-
...y_invalid_script_function_module_name.json | 4 +-
...ailed_by_invalid_script_function_name.json | 4 +-
...ed_by_invalid_script_payload_bytecode.json | 4 +-
..._by_missing_script_function_arguments.json | 4 +-
..._failed_by_script_function_validation.json | 4 +-
.../sources/configs/Stake.move | 50 ++++++---
16 files changed, 123 insertions(+), 151 deletions(-)
diff --git a/api/goldens/aptos_api__tests__accounts_test__test_account_modules.json b/api/goldens/aptos_api__tests__accounts_test__test_account_modules.json
index a0afa99c8207b..dde36e4715aca 100644
--- a/api/goldens/aptos_api__tests__accounts_test__test_account_modules.json
+++ b/api/goldens/aptos_api__tests__accounts_test__test_account_modules.json
@@ -668,7 +668,7 @@
}
},
{
- "bytecode": "0xa11ceb0b050000000c01000c020c180324ae0104d2012205f401a202079604c20608d80a2006f80a360aae0b4a0cf80b800b0df8161e0f9617040002000300040005000600070008040000090c00000a0f00000b0700000c0800031f0400000d00010100000e020100000f03010000100405000011060700001208090000130a01000014080b0000150c010000160c0100001701010000180d010000190e0100001a080100001b0f0100001c0f0100001d1011000531130b01000532141201000533150101000334171800043501050001360c0800033719050005381305010005391b1c0100033a011800033b1d0100053c1f200100023d0c0100053e01240100053f1b12010003402d01001112121213121311181119111c1118091c091e0913091f09000919091e1100111f1102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f72126765745f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e64730a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f7665076465706f7369740000000000000000000000000000000000000000000000000000000000000001030880510100000000000308100e0000000000000520000000000000000000000000000000000000000000000000000000000a550c180002031e0805200521030102052203230a0800240a0800250a0800260a0800020203270a02280a02290a020302032a052b032c08020402062d022e032f03300a0803260a0803250a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416370a000b0211140c0711150c080b080700160a032303100b0001060000000000000000270a012a010c0a0b070c040b030c050b0011160c060b040b060b0512000c090b011107032305280b0a0f000b09380305360a0a1001140e0910021117160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111a0c040b010f020b04111b0b02060100000000000000160c0205060b000102030000001e220600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b0001060000000000000000270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111d0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d04020701000104251307022b040c030a0310060a001104010c010b0310070b001104010c020b010b021e020801000301020426500b0011160c010a012b010c0507022a040c060a051001140a061008142603170b06010b0501060000000000000000270b051001140a061009142503230b0601060000000000000000270a0610060a011104010c020b022003300b0601060000000000000000270a0610070a011104010c030b0320033d0b0601060000000000000000270a06100a0a011104010c040b0420034a0b0601060000000000000000270b060f0a0b011105380a02090100010427260b0011160c0107022a040c050a0510060b0111040c030c020b0203120b0501060000000000000000270a050f060b03380b0c040a05100638070600000000000000002403210b0501060000000000000000270b050f070b04380a020a030003010204285c07022a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a0b0b0011160c020b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021117160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2e0b0011160c0211150c040a012a010c070a070f0d0a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031120052d0e05100e140b042303290b0701060000000000000000270b070f0c0b053803020f010001012e140b0011160c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112002100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
+ "bytecode": "0xa11ceb0b050000000c01000e020e180326b80104de0122058002a20207a204ed06088f0b2006af0b86010ab50c4a0cff0ce10a0de0171e0ffe1704000200030004000500060007000800090400000a0c00000b0f00000c0700000d080004200400000e00010100000f020100001003010000110405000012060700001308090000140a01000015080b0000160c010000170c0100001801010000190d0100001a0e0100001b080100001c0f0100001d0f0100001e1011000632130b010006331412010006341501010004351718000536010500013705050002380c08000439190500063a13050100063b1b1c0100043c011800043d1d0100063e1f200100033f0c010006400124010006411b120100014205050004432d0100111212121312131119111a111d1119091d091f091309200900091a091f110011201102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65064572726f7273065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f721767656e65726174655f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e647310696e76616c69645f617267756d656e740a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f76650d6e6f745f7075626c6973686564076465706f7369740000000000000000000000000000000000000000000000000000000000000001030807000000000000000308010000000000000003080900000000000000030802000000000000000308080000000000000003080600000000000000030805000000000000000308040000000000000003080300000000000000030880510100000000000520000000000000000000000000000000000000000000000000000000000a550c180002031f0805210522030102052303240a0800250a0800260a0800270a0800020203280a02290a022a0a020302032b052c032d08020402062e022f033003310a0803270a0803260a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416380a000b0211140c0711150c080b080709160a032303110b000107031116270a012a010c0a0b070c040b030c050b0011170c060b040b060b0512000c090b011107032405290b0a0f000b09380305370a0a1001140e0910021118160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111b0c040b010f020b04111c0b02060100000000000000160c0205060b000102030000001e230600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b000107011116270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111e0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d040207010001042518070a2b040c030a0310060a001104010c010b01030c05100b030108020b0310070b001104010c020b02020801000301020426550b0011170c010a012b010c05070a2a040c060a051001140a061008142603180b06010b050107061116270b051001140a061009142503250b060107051116270a0610060a011104010c020b022003330b060107001116270a0610070a011104010c030b032003410b060107001116270a06100a0a011104010c040b0420034f0b060107001116270b060f0a0b011105380a02090100010427280b0011170c01070a2a040c050a0510060b0111040c030c020b0203130b050107041116270a050f060b03380b0c040a05100638070600000000000000002403230b050107021116270b050f070b04380a020a030003010204285c070a2a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a110b0011170c020a022902030907071121270b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021118160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2f0b0011170c0211150c040a012a010c070a070f030a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031122052e0e05100e140b0423032a0b070107081116270b070f0c0b053803020f010001012e140b0011170c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112202100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
"abi": {
"address": "0x1",
"name": "Stake",
@@ -3100,7 +3100,7 @@
}
},
{
- "bytecode": "0xa11ceb0b050000000b010006020604030a41054b150760aa02088a032006aa036c0a9604050c9b04c7010de205020fe405020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c030000000d040000010f020200021003000002110300000112020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564207365745f74696d655f6861735f737461727465645f666f725f74657374696e67127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010e030001000000061102030507001109270201010000000611030305070111092702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a00110a0b0006000000000000000012002d00020701000000030b001106020801000100062711010b00110b07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110c2705220b040a022303220b03010702110c270b020b030f0015020000000000",
+ "bytecode": "0xa11ceb0b050000000b010006020604030a3c054615075b890208e402200684036c0af003050cf503bc010db105020fb305020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c040000010e020200020f03000002100300000111020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010d030001000000061102030507001108270201010000000611030305070111082702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a0011090b0006000000000000000012002d00020701000100062711010b00110a07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110b2705220b040a022303220b03010702110b270b020b030f0015020000000000",
"abi": {
"address": "0x1",
"name": "Timestamp",
@@ -3167,15 +3167,6 @@
],
"return": []
},
- {
- "name": "set_time_has_started_for_testing",
- "visibility": "public",
- "generic_type_params": [],
- "params": [
- "&signer"
- ],
- "return": []
- },
{
"name": "update_global_time",
"visibility": "public",
diff --git a/api/goldens/aptos_api__tests__accounts_test__test_account_modules_structs.json b/api/goldens/aptos_api__tests__accounts_test__test_account_modules_structs.json
index a0afa99c8207b..dde36e4715aca 100644
--- a/api/goldens/aptos_api__tests__accounts_test__test_account_modules_structs.json
+++ b/api/goldens/aptos_api__tests__accounts_test__test_account_modules_structs.json
@@ -668,7 +668,7 @@
}
},
{
- "bytecode": "0xa11ceb0b050000000c01000c020c180324ae0104d2012205f401a202079604c20608d80a2006f80a360aae0b4a0cf80b800b0df8161e0f9617040002000300040005000600070008040000090c00000a0f00000b0700000c0800031f0400000d00010100000e020100000f03010000100405000011060700001208090000130a01000014080b0000150c010000160c0100001701010000180d010000190e0100001a080100001b0f0100001c0f0100001d1011000531130b01000532141201000533150101000334171800043501050001360c0800033719050005381305010005391b1c0100033a011800033b1d0100053c1f200100023d0c0100053e01240100053f1b12010003402d01001112121213121311181119111c1118091c091e0913091f09000919091e1100111f1102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f72126765745f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e64730a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f7665076465706f7369740000000000000000000000000000000000000000000000000000000000000001030880510100000000000308100e0000000000000520000000000000000000000000000000000000000000000000000000000a550c180002031e0805200521030102052203230a0800240a0800250a0800260a0800020203270a02280a02290a020302032a052b032c08020402062d022e032f03300a0803260a0803250a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416370a000b0211140c0711150c080b080700160a032303100b0001060000000000000000270a012a010c0a0b070c040b030c050b0011160c060b040b060b0512000c090b011107032305280b0a0f000b09380305360a0a1001140e0910021117160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111a0c040b010f020b04111b0b02060100000000000000160c0205060b000102030000001e220600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b0001060000000000000000270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111d0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d04020701000104251307022b040c030a0310060a001104010c010b0310070b001104010c020b010b021e020801000301020426500b0011160c010a012b010c0507022a040c060a051001140a061008142603170b06010b0501060000000000000000270b051001140a061009142503230b0601060000000000000000270a0610060a011104010c020b022003300b0601060000000000000000270a0610070a011104010c030b0320033d0b0601060000000000000000270a06100a0a011104010c040b0420034a0b0601060000000000000000270b060f0a0b011105380a02090100010427260b0011160c0107022a040c050a0510060b0111040c030c020b0203120b0501060000000000000000270a050f060b03380b0c040a05100638070600000000000000002403210b0501060000000000000000270b050f070b04380a020a030003010204285c07022a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a0b0b0011160c020b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021117160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2e0b0011160c0211150c040a012a010c070a070f0d0a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031120052d0e05100e140b042303290b0701060000000000000000270b070f0c0b053803020f010001012e140b0011160c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112002100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
+ "bytecode": "0xa11ceb0b050000000c01000e020e180326b80104de0122058002a20207a204ed06088f0b2006af0b86010ab50c4a0cff0ce10a0de0171e0ffe1704000200030004000500060007000800090400000a0c00000b0f00000c0700000d080004200400000e00010100000f020100001003010000110405000012060700001308090000140a01000015080b0000160c010000170c0100001801010000190d0100001a0e0100001b080100001c0f0100001d0f0100001e1011000632130b010006331412010006341501010004351718000536010500013705050002380c08000439190500063a13050100063b1b1c0100043c011800043d1d0100063e1f200100033f0c010006400124010006411b120100014205050004432d0100111212121312131119111a111d1119091d091f091309200900091a091f110011201102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65064572726f7273065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f721767656e65726174655f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e647310696e76616c69645f617267756d656e740a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f76650d6e6f745f7075626c6973686564076465706f7369740000000000000000000000000000000000000000000000000000000000000001030807000000000000000308010000000000000003080900000000000000030802000000000000000308080000000000000003080600000000000000030805000000000000000308040000000000000003080300000000000000030880510100000000000520000000000000000000000000000000000000000000000000000000000a550c180002031f0805210522030102052303240a0800250a0800260a0800270a0800020203280a02290a022a0a020302032b052c032d08020402062e022f033003310a0803270a0803260a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416380a000b0211140c0711150c080b080709160a032303110b000107031116270a012a010c0a0b070c040b030c050b0011170c060b040b060b0512000c090b011107032405290b0a0f000b09380305370a0a1001140e0910021118160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111b0c040b010f020b04111c0b02060100000000000000160c0205060b000102030000001e230600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b000107011116270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111e0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d040207010001042518070a2b040c030a0310060a001104010c010b01030c05100b030108020b0310070b001104010c020b02020801000301020426550b0011170c010a012b010c05070a2a040c060a051001140a061008142603180b06010b050107061116270b051001140a061009142503250b060107051116270a0610060a011104010c020b022003330b060107001116270a0610070a011104010c030b032003410b060107001116270a06100a0a011104010c040b0420034f0b060107001116270b060f0a0b011105380a02090100010427280b0011170c01070a2a040c050a0510060b0111040c030c020b0203130b050107041116270a050f060b03380b0c040a05100638070600000000000000002403230b050107021116270b050f070b04380a020a030003010204285c070a2a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a110b0011170c020a022902030907071121270b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021118160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2f0b0011170c0211150c040a012a010c070a070f030a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031122052e0e05100e140b0423032a0b070107081116270b070f0c0b053803020f010001012e140b0011170c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112202100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
"abi": {
"address": "0x1",
"name": "Stake",
@@ -3100,7 +3100,7 @@
}
},
{
- "bytecode": "0xa11ceb0b050000000b010006020604030a41054b150760aa02088a032006aa036c0a9604050c9b04c7010de205020fe405020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c030000000d040000010f020200021003000002110300000112020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564207365745f74696d655f6861735f737461727465645f666f725f74657374696e67127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010e030001000000061102030507001109270201010000000611030305070111092702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a00110a0b0006000000000000000012002d00020701000000030b001106020801000100062711010b00110b07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110c2705220b040a022303220b03010702110c270b020b030f0015020000000000",
+ "bytecode": "0xa11ceb0b050000000b010006020604030a3c054615075b890208e402200684036c0af003050cf503bc010db105020fb305020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c040000010e020200020f03000002100300000111020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010d030001000000061102030507001108270201010000000611030305070111082702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a0011090b0006000000000000000012002d00020701000100062711010b00110a07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110b2705220b040a022303220b03010702110b270b020b030f0015020000000000",
"abi": {
"address": "0x1",
"name": "Timestamp",
@@ -3167,15 +3167,6 @@
],
"return": []
},
- {
- "name": "set_time_has_started_for_testing",
- "visibility": "public",
- "generic_type_params": [],
- "params": [
- "&signer"
- ],
- "return": []
- },
{
"name": "update_global_time",
"visibility": "public",
diff --git a/api/goldens/aptos_api__tests__accounts_test__test_get_module_aptos_config.json b/api/goldens/aptos_api__tests__accounts_test__test_get_module_aptos_config.json
index a0afa99c8207b..dde36e4715aca 100644
--- a/api/goldens/aptos_api__tests__accounts_test__test_get_module_aptos_config.json
+++ b/api/goldens/aptos_api__tests__accounts_test__test_get_module_aptos_config.json
@@ -668,7 +668,7 @@
}
},
{
- "bytecode": "0xa11ceb0b050000000c01000c020c180324ae0104d2012205f401a202079604c20608d80a2006f80a360aae0b4a0cf80b800b0df8161e0f9617040002000300040005000600070008040000090c00000a0f00000b0700000c0800031f0400000d00010100000e020100000f03010000100405000011060700001208090000130a01000014080b0000150c010000160c0100001701010000180d010000190e0100001a080100001b0f0100001c0f0100001d1011000531130b01000532141201000533150101000334171800043501050001360c0800033719050005381305010005391b1c0100033a011800033b1d0100053c1f200100023d0c0100053e01240100053f1b12010003402d01001112121213121311181119111c1118091c091e0913091f09000919091e1100111f1102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f72126765745f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e64730a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f7665076465706f7369740000000000000000000000000000000000000000000000000000000000000001030880510100000000000308100e0000000000000520000000000000000000000000000000000000000000000000000000000a550c180002031e0805200521030102052203230a0800240a0800250a0800260a0800020203270a02280a02290a020302032a052b032c08020402062d022e032f03300a0803260a0803250a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416370a000b0211140c0711150c080b080700160a032303100b0001060000000000000000270a012a010c0a0b070c040b030c050b0011160c060b040b060b0512000c090b011107032305280b0a0f000b09380305360a0a1001140e0910021117160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111a0c040b010f020b04111b0b02060100000000000000160c0205060b000102030000001e220600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b0001060000000000000000270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111d0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d04020701000104251307022b040c030a0310060a001104010c010b0310070b001104010c020b010b021e020801000301020426500b0011160c010a012b010c0507022a040c060a051001140a061008142603170b06010b0501060000000000000000270b051001140a061009142503230b0601060000000000000000270a0610060a011104010c020b022003300b0601060000000000000000270a0610070a011104010c030b0320033d0b0601060000000000000000270a06100a0a011104010c040b0420034a0b0601060000000000000000270b060f0a0b011105380a02090100010427260b0011160c0107022a040c050a0510060b0111040c030c020b0203120b0501060000000000000000270a050f060b03380b0c040a05100638070600000000000000002403210b0501060000000000000000270b050f070b04380a020a030003010204285c07022a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a0b0b0011160c020b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021117160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2e0b0011160c0211150c040a012a010c070a070f0d0a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031120052d0e05100e140b042303290b0701060000000000000000270b070f0c0b053803020f010001012e140b0011160c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112002100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
+ "bytecode": "0xa11ceb0b050000000c01000e020e180326b80104de0122058002a20207a204ed06088f0b2006af0b86010ab50c4a0cff0ce10a0de0171e0ffe1704000200030004000500060007000800090400000a0c00000b0f00000c0700000d080004200400000e00010100000f020100001003010000110405000012060700001308090000140a01000015080b0000160c010000170c0100001801010000190d0100001a0e0100001b080100001c0f0100001d0f0100001e1011000632130b010006331412010006341501010004351718000536010500013705050002380c08000439190500063a13050100063b1b1c0100043c011800043d1d0100063e1f200100033f0c010006400124010006411b120100014205050004432d0100111212121312131119111a111d1119091d091f091309200900091a091f110011201102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65064572726f7273065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f721767656e65726174655f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e647310696e76616c69645f617267756d656e740a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f76650d6e6f745f7075626c6973686564076465706f7369740000000000000000000000000000000000000000000000000000000000000001030807000000000000000308010000000000000003080900000000000000030802000000000000000308080000000000000003080600000000000000030805000000000000000308040000000000000003080300000000000000030880510100000000000520000000000000000000000000000000000000000000000000000000000a550c180002031f0805210522030102052303240a0800250a0800260a0800270a0800020203280a02290a022a0a020302032b052c032d08020402062e022f033003310a0803270a0803260a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416380a000b0211140c0711150c080b080709160a032303110b000107031116270a012a010c0a0b070c040b030c050b0011170c060b040b060b0512000c090b011107032405290b0a0f000b09380305370a0a1001140e0910021118160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111b0c040b010f020b04111c0b02060100000000000000160c0205060b000102030000001e230600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b000107011116270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111e0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d040207010001042518070a2b040c030a0310060a001104010c010b01030c05100b030108020b0310070b001104010c020b02020801000301020426550b0011170c010a012b010c05070a2a040c060a051001140a061008142603180b06010b050107061116270b051001140a061009142503250b060107051116270a0610060a011104010c020b022003330b060107001116270a0610070a011104010c030b032003410b060107001116270a06100a0a011104010c040b0420034f0b060107001116270b060f0a0b011105380a02090100010427280b0011170c01070a2a040c050a0510060b0111040c030c020b0203130b050107041116270a050f060b03380b0c040a05100638070600000000000000002403230b050107021116270b050f070b04380a020a030003010204285c070a2a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a110b0011170c020a022902030907071121270b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021118160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2f0b0011170c0211150c040a012a010c070a070f030a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031122052e0e05100e140b0423032a0b070107081116270b070f0c0b053803020f010001012e140b0011170c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112202100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
"abi": {
"address": "0x1",
"name": "Stake",
@@ -3100,7 +3100,7 @@
}
},
{
- "bytecode": "0xa11ceb0b050000000b010006020604030a41054b150760aa02088a032006aa036c0a9604050c9b04c7010de205020fe405020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c030000000d040000010f020200021003000002110300000112020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564207365745f74696d655f6861735f737461727465645f666f725f74657374696e67127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010e030001000000061102030507001109270201010000000611030305070111092702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a00110a0b0006000000000000000012002d00020701000000030b001106020801000100062711010b00110b07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110c2705220b040a022303220b03010702110c270b020b030f0015020000000000",
+ "bytecode": "0xa11ceb0b050000000b010006020604030a3c054615075b890208e402200684036c0af003050cf503bc010db105020fb305020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c040000010e020200020f03000002100300000111020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010d030001000000061102030507001108270201010000000611030305070111082702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a0011090b0006000000000000000012002d00020701000100062711010b00110a07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110b2705220b040a022303220b03010702110b270b020b030f0015020000000000",
"abi": {
"address": "0x1",
"name": "Timestamp",
@@ -3167,15 +3167,6 @@
],
"return": []
},
- {
- "name": "set_time_has_started_for_testing",
- "visibility": "public",
- "generic_type_params": [],
- "params": [
- "&signer"
- ],
- "return": []
- },
{
"name": "update_global_time",
"visibility": "public",
diff --git a/api/goldens/aptos_api__tests__accounts_test__test_get_module_with_script_functions.json b/api/goldens/aptos_api__tests__accounts_test__test_get_module_with_script_functions.json
index a0afa99c8207b..dde36e4715aca 100644
--- a/api/goldens/aptos_api__tests__accounts_test__test_get_module_with_script_functions.json
+++ b/api/goldens/aptos_api__tests__accounts_test__test_get_module_with_script_functions.json
@@ -668,7 +668,7 @@
}
},
{
- "bytecode": "0xa11ceb0b050000000c01000c020c180324ae0104d2012205f401a202079604c20608d80a2006f80a360aae0b4a0cf80b800b0df8161e0f9617040002000300040005000600070008040000090c00000a0f00000b0700000c0800031f0400000d00010100000e020100000f03010000100405000011060700001208090000130a01000014080b0000150c010000160c0100001701010000180d010000190e0100001a080100001b0f0100001c0f0100001d1011000531130b01000532141201000533150101000334171800043501050001360c0800033719050005381305010005391b1c0100033a011800033b1d0100053c1f200100023d0c0100053e01240100053f1b12010003402d01001112121213121311181119111c1118091c091e0913091f09000919091e1100111f1102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f72126765745f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e64730a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f7665076465706f7369740000000000000000000000000000000000000000000000000000000000000001030880510100000000000308100e0000000000000520000000000000000000000000000000000000000000000000000000000a550c180002031e0805200521030102052203230a0800240a0800250a0800260a0800020203270a02280a02290a020302032a052b032c08020402062d022e032f03300a0803260a0803250a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416370a000b0211140c0711150c080b080700160a032303100b0001060000000000000000270a012a010c0a0b070c040b030c050b0011160c060b040b060b0512000c090b011107032305280b0a0f000b09380305360a0a1001140e0910021117160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111a0c040b010f020b04111b0b02060100000000000000160c0205060b000102030000001e220600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b0001060000000000000000270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111d0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d04020701000104251307022b040c030a0310060a001104010c010b0310070b001104010c020b010b021e020801000301020426500b0011160c010a012b010c0507022a040c060a051001140a061008142603170b06010b0501060000000000000000270b051001140a061009142503230b0601060000000000000000270a0610060a011104010c020b022003300b0601060000000000000000270a0610070a011104010c030b0320033d0b0601060000000000000000270a06100a0a011104010c040b0420034a0b0601060000000000000000270b060f0a0b011105380a02090100010427260b0011160c0107022a040c050a0510060b0111040c030c020b0203120b0501060000000000000000270a050f060b03380b0c040a05100638070600000000000000002403210b0501060000000000000000270b050f070b04380a020a030003010204285c07022a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a0b0b0011160c020b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021117160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2e0b0011160c0211150c040a012a010c070a070f0d0a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031120052d0e05100e140b042303290b0701060000000000000000270b070f0c0b053803020f010001012e140b0011160c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112002100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
+ "bytecode": "0xa11ceb0b050000000c01000e020e180326b80104de0122058002a20207a204ed06088f0b2006af0b86010ab50c4a0cff0ce10a0de0171e0ffe1704000200030004000500060007000800090400000a0c00000b0f00000c0700000d080004200400000e00010100000f020100001003010000110405000012060700001308090000140a01000015080b0000160c010000170c0100001801010000190d0100001a0e0100001b080100001c0f0100001d0f0100001e1011000632130b010006331412010006341501010004351718000536010500013705050002380c08000439190500063a13050100063b1b1c0100043c011800043d1d0100063e1f200100033f0c010006400124010006411b120100014205050004432d0100111212121312131119111a111d1119091d091f091309200900091a091f110011201102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65064572726f7273065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f721767656e65726174655f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e647310696e76616c69645f617267756d656e740a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f76650d6e6f745f7075626c6973686564076465706f7369740000000000000000000000000000000000000000000000000000000000000001030807000000000000000308010000000000000003080900000000000000030802000000000000000308080000000000000003080600000000000000030805000000000000000308040000000000000003080300000000000000030880510100000000000520000000000000000000000000000000000000000000000000000000000a550c180002031f0805210522030102052303240a0800250a0800260a0800270a0800020203280a02290a022a0a020302032b052c032d08020402062e022f033003310a0803270a0803260a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416380a000b0211140c0711150c080b080709160a032303110b000107031116270a012a010c0a0b070c040b030c050b0011170c060b040b060b0512000c090b011107032405290b0a0f000b09380305370a0a1001140e0910021118160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111b0c040b010f020b04111c0b02060100000000000000160c0205060b000102030000001e230600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b000107011116270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111e0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d040207010001042518070a2b040c030a0310060a001104010c010b01030c05100b030108020b0310070b001104010c020b02020801000301020426550b0011170c010a012b010c05070a2a040c060a051001140a061008142603180b06010b050107061116270b051001140a061009142503250b060107051116270a0610060a011104010c020b022003330b060107001116270a0610070a011104010c030b032003410b060107001116270a06100a0a011104010c040b0420034f0b060107001116270b060f0a0b011105380a02090100010427280b0011170c01070a2a040c050a0510060b0111040c030c020b0203130b050107041116270a050f060b03380b0c040a05100638070600000000000000002403230b050107021116270b050f070b04380a020a030003010204285c070a2a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a110b0011170c020a022902030907071121270b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021118160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2f0b0011170c0211150c040a012a010c070a070f030a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031122052e0e05100e140b0423032a0b070107081116270b070f0c0b053803020f010001012e140b0011170c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112202100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
"abi": {
"address": "0x1",
"name": "Stake",
@@ -3100,7 +3100,7 @@
}
},
{
- "bytecode": "0xa11ceb0b050000000b010006020604030a41054b150760aa02088a032006aa036c0a9604050c9b04c7010de205020fe405020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c030000000d040000010f020200021003000002110300000112020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564207365745f74696d655f6861735f737461727465645f666f725f74657374696e67127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010e030001000000061102030507001109270201010000000611030305070111092702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a00110a0b0006000000000000000012002d00020701000000030b001106020801000100062711010b00110b07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110c2705220b040a022303220b03010702110c270b020b030f0015020000000000",
+ "bytecode": "0xa11ceb0b050000000b010006020604030a3c054615075b890208e402200684036c0af003050cf503bc010db105020fb305020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c040000010e020200020f03000002100300000111020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010d030001000000061102030507001108270201010000000611030305070111082702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a0011090b0006000000000000000012002d00020701000100062711010b00110a07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110b2705220b040a022303220b03010702110b270b020b030f0015020000000000",
"abi": {
"address": "0x1",
"name": "Timestamp",
@@ -3167,15 +3167,6 @@
],
"return": []
},
- {
- "name": "set_time_has_started_for_testing",
- "visibility": "public",
- "generic_type_params": [],
- "params": [
- "&signer"
- ],
- "return": []
- },
{
"name": "update_global_time",
"visibility": "public",
diff --git a/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_output_genesis_transaction.json b/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_output_genesis_transaction.json
index 2aaeacfe53975..0bc22f4c27938 100644
--- a/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_output_genesis_transaction.json
+++ b/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_output_genesis_transaction.json
@@ -2,13 +2,13 @@
{
"type": "genesis_transaction",
"version": "0",
- "hash": "0xe152b2525e1a0d05bbae32b4ccdbe6aa2e59781f26380784cffff54b78ee7f00",
- "state_root_hash": "0x1c1a570cb768411bce0b76f63aa94f0aaae30c1449439d541e55bec1f1e133bd",
+ "hash": "0xeaf4ce4365cf9d84d1a1909be532e997395931313be24ef68895bfe21aa99928",
+ "state_root_hash": "0xa6d1f9bc8033def52de2b827fb63209e11c1356775c897b1320f5c969ef3d7f9",
"event_root_hash": "0xcbdbb1b830d1016d45a828bb3171ea81826e8315f14140acfbd7886f49fbcb40",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x86ba01ad9f9c18e18274c3e9f67f65b615f162504dc9a89ce9e98b0f318cfbc5",
+ "accumulator_root_hash": "0x58bc4a4cb571d7b38c129e47c4f9398131707f182f17e5a5d7b4c00e78cc8e34",
"changes": [
{
"type": "write_resource",
@@ -2081,7 +2081,7 @@
"address": "0x1",
"state_key_hash": "0x708a4495d604e5104a7491529cefcd59d146666ae3e54b1cb642afc2a7886f6f",
"data": {
- "bytecode": "0xa11ceb0b050000000c01000c020c180324ae0104d2012205f401a202079604c20608d80a2006f80a360aae0b4a0cf80b800b0df8161e0f9617040002000300040005000600070008040000090c00000a0f00000b0700000c0800031f0400000d00010100000e020100000f03010000100405000011060700001208090000130a01000014080b0000150c010000160c0100001701010000180d010000190e0100001a080100001b0f0100001c0f0100001d1011000531130b01000532141201000533150101000334171800043501050001360c0800033719050005381305010005391b1c0100033a011800033b1d0100053c1f200100023d0c0100053e01240100053f1b12010003402d01001112121213121311181119111c1118091c091e0913091f09000919091e1100111f1102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f72126765745f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e64730a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f7665076465706f7369740000000000000000000000000000000000000000000000000000000000000001030880510100000000000308100e0000000000000520000000000000000000000000000000000000000000000000000000000a550c180002031e0805200521030102052203230a0800240a0800250a0800260a0800020203270a02280a02290a020302032a052b032c08020402062d022e032f03300a0803260a0803250a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416370a000b0211140c0711150c080b080700160a032303100b0001060000000000000000270a012a010c0a0b070c040b030c050b0011160c060b040b060b0512000c090b011107032305280b0a0f000b09380305360a0a1001140e0910021117160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111a0c040b010f020b04111b0b02060100000000000000160c0205060b000102030000001e220600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b0001060000000000000000270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111d0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d04020701000104251307022b040c030a0310060a001104010c010b0310070b001104010c020b010b021e020801000301020426500b0011160c010a012b010c0507022a040c060a051001140a061008142603170b06010b0501060000000000000000270b051001140a061009142503230b0601060000000000000000270a0610060a011104010c020b022003300b0601060000000000000000270a0610070a011104010c030b0320033d0b0601060000000000000000270a06100a0a011104010c040b0420034a0b0601060000000000000000270b060f0a0b011105380a02090100010427260b0011160c0107022a040c050a0510060b0111040c030c020b0203120b0501060000000000000000270a050f060b03380b0c040a05100638070600000000000000002403210b0501060000000000000000270b050f070b04380a020a030003010204285c07022a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a0b0b0011160c020b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021117160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2e0b0011160c0211150c040a012a010c070a070f0d0a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031120052d0e05100e140b042303290b0701060000000000000000270b070f0c0b053803020f010001012e140b0011160c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112002100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
+ "bytecode": "0xa11ceb0b050000000c01000e020e180326b80104de0122058002a20207a204ed06088f0b2006af0b86010ab50c4a0cff0ce10a0de0171e0ffe1704000200030004000500060007000800090400000a0c00000b0f00000c0700000d080004200400000e00010100000f020100001003010000110405000012060700001308090000140a01000015080b0000160c010000170c0100001801010000190d0100001a0e0100001b080100001c0f0100001d0f0100001e1011000632130b010006331412010006341501010004351718000536010500013705050002380c08000439190500063a13050100063b1b1c0100043c011800043d1d0100063e1f200100033f0c010006400124010006411b120100014205050004432d0100111212121312131119111a111d1119091d091f091309200900091a091f110011201102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65064572726f7273065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f721767656e65726174655f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e647310696e76616c69645f617267756d656e740a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f76650d6e6f745f7075626c6973686564076465706f7369740000000000000000000000000000000000000000000000000000000000000001030807000000000000000308010000000000000003080900000000000000030802000000000000000308080000000000000003080600000000000000030805000000000000000308040000000000000003080300000000000000030880510100000000000520000000000000000000000000000000000000000000000000000000000a550c180002031f0805210522030102052303240a0800250a0800260a0800270a0800020203280a02290a022a0a020302032b052c032d08020402062e022f033003310a0803270a0803260a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416380a000b0211140c0711150c080b080709160a032303110b000107031116270a012a010c0a0b070c040b030c050b0011170c060b040b060b0512000c090b011107032405290b0a0f000b09380305370a0a1001140e0910021118160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111b0c040b010f020b04111c0b02060100000000000000160c0205060b000102030000001e230600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b000107011116270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111e0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d040207010001042518070a2b040c030a0310060a001104010c010b01030c05100b030108020b0310070b001104010c020b02020801000301020426550b0011170c010a012b010c05070a2a040c060a051001140a061008142603180b06010b050107061116270b051001140a061009142503250b060107051116270a0610060a011104010c020b022003330b060107001116270a0610070a011104010c030b032003410b060107001116270a06100a0a011104010c040b0420034f0b060107001116270b060f0a0b011105380a02090100010427280b0011170c01070a2a040c050a0510060b0111040c030c020b0203130b050107041116270a050f060b03380b0c040a05100638070600000000000000002403230b050107021116270b050f070b04380a020a030003010204285c070a2a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a110b0011170c020a022902030907071121270b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021118160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2f0b0011170c0211150c040a012a010c070a070f030a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031122052e0e05100e140b0423032a0b070107081116270b070f0c0b053803020f010001012e140b0011170c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112202100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
"abi": {
"address": "0x1",
"name": "Stake",
@@ -3005,7 +3005,7 @@
"address": "0x1",
"state_key_hash": "0xe8aa027cc8ba73bb82e029247e4071a79a437bd4ee493d2c5f7fee90caf9565e",
"data": {
- "bytecode": "0xa11ceb0b050000000b010006020604030a41054b150760aa02088a032006aa036c0a9604050c9b04c7010de205020fe405020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c030000000d040000010f020200021003000002110300000112020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564207365745f74696d655f6861735f737461727465645f666f725f74657374696e67127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010e030001000000061102030507001109270201010000000611030305070111092702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a00110a0b0006000000000000000012002d00020701000000030b001106020801000100062711010b00110b07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110c2705220b040a022303220b03010702110c270b020b030f0015020000000000",
+ "bytecode": "0xa11ceb0b050000000b010006020604030a3c054615075b890208e402200684036c0af003050cf503bc010db105020fb305020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c040000010e020200020f03000002100300000111020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010d030001000000061102030507001108270201010000000611030305070111082702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a0011090b0006000000000000000012002d00020701000100062711010b00110a07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110b2705220b040a022303220b03010702110b270b020b030f0015020000000000",
"abi": {
"address": "0x1",
"name": "Timestamp",
@@ -3072,15 +3072,6 @@
],
"return": []
},
- {
- "name": "set_time_has_started_for_testing",
- "visibility": "public",
- "generic_type_params": [],
- "params": [
- "&signer"
- ],
- "return": []
- },
{
"name": "update_global_time",
"visibility": "public",
@@ -6612,7 +6603,7 @@
"address": "0x1",
"state_key_hash": "0x708a4495d604e5104a7491529cefcd59d146666ae3e54b1cb642afc2a7886f6f",
"data": {
- "bytecode": "0xa11ceb0b050000000c01000c020c180324ae0104d2012205f401a202079604c20608d80a2006f80a360aae0b4a0cf80b800b0df8161e0f9617040002000300040005000600070008040000090c00000a0f00000b0700000c0800031f0400000d00010100000e020100000f03010000100405000011060700001208090000130a01000014080b0000150c010000160c0100001701010000180d010000190e0100001a080100001b0f0100001c0f0100001d1011000531130b01000532141201000533150101000334171800043501050001360c0800033719050005381305010005391b1c0100033a011800033b1d0100053c1f200100023d0c0100053e01240100053f1b12010003402d01001112121213121311181119111c1118091c091e0913091f09000919091e1100111f1102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f72126765745f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e64730a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f7665076465706f7369740000000000000000000000000000000000000000000000000000000000000001030880510100000000000308100e0000000000000520000000000000000000000000000000000000000000000000000000000a550c180002031e0805200521030102052203230a0800240a0800250a0800260a0800020203270a02280a02290a020302032a052b032c08020402062d022e032f03300a0803260a0803250a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416370a000b0211140c0711150c080b080700160a032303100b0001060000000000000000270a012a010c0a0b070c040b030c050b0011160c060b040b060b0512000c090b011107032305280b0a0f000b09380305360a0a1001140e0910021117160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111a0c040b010f020b04111b0b02060100000000000000160c0205060b000102030000001e220600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b0001060000000000000000270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111d0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d04020701000104251307022b040c030a0310060a001104010c010b0310070b001104010c020b010b021e020801000301020426500b0011160c010a012b010c0507022a040c060a051001140a061008142603170b06010b0501060000000000000000270b051001140a061009142503230b0601060000000000000000270a0610060a011104010c020b022003300b0601060000000000000000270a0610070a011104010c030b0320033d0b0601060000000000000000270a06100a0a011104010c040b0420034a0b0601060000000000000000270b060f0a0b011105380a02090100010427260b0011160c0107022a040c050a0510060b0111040c030c020b0203120b0501060000000000000000270a050f060b03380b0c040a05100638070600000000000000002403210b0501060000000000000000270b050f070b04380a020a030003010204285c07022a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a0b0b0011160c020b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021117160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2e0b0011160c0211150c040a012a010c070a070f0d0a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031120052d0e05100e140b042303290b0701060000000000000000270b070f0c0b053803020f010001012e140b0011160c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112002100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
+ "bytecode": "0xa11ceb0b050000000c01000e020e180326b80104de0122058002a20207a204ed06088f0b2006af0b86010ab50c4a0cff0ce10a0de0171e0ffe1704000200030004000500060007000800090400000a0c00000b0f00000c0700000d080004200400000e00010100000f020100001003010000110405000012060700001308090000140a01000015080b0000160c010000170c0100001801010000190d0100001a0e0100001b080100001c0f0100001d0f0100001e1011000632130b010006331412010006341501010004351718000536010500013705050002380c08000439190500063a13050100063b1b1c0100043c011800043d1d0100063e1f200100033f0c010006400124010006411b120100014205050004432d0100111212121312131119111a111d1119091d091f091309200900091a091f110011201102070a0900070a09000004060c05030301070a080002060a080005010302060a080305020103010501080303060c0303010101060c04060c0a020a020a0202060c0a0202060c0502070a08000501080001090001060a090001070a090002070a090009000708050305080503080007080102060c0301080501060805040708000303080502070a0900030107090002070805080503060800030302060a0900030106090002030302080203070203030a08030a08030a0803060c010a090003010106080406050101010608010708040505010308030708040a050503030303030307080307080406030a08000a08000a08000a0800060c02050708020403030307080106050805030800010708010205080504050805080007080103070a080005030747656e657369730f5265636f6e66696775726174696f6e055374616b65064572726f7273065369676e65720f53797374656d4164647265737365730854657374436f696e0954696d657374616d7006566563746f720a44656c65676174696f6e095374616b65506f6f6c0f56616c696461746f72436f6e6669670d56616c696461746f72496e666f0c56616c696461746f7253657406617070656e640e64656c65676174655f7374616b6511646973747269627574655f7265776172640f66696e645f64656c65676174696f6e0e66696e645f76616c696461746f721767656e65726174655f76616c696461746f725f696e666f18696e697469616c697a655f76616c696461746f725f7365741469735f63757272656e745f76616c696461746f72126a6f696e5f76616c696461746f725f736574136c656176655f76616c696461746f725f7365740c6f6e5f6e65775f65706f63681c72656769737465725f76616c696461746f725f63616e64696461746514726f746174655f636f6e73656e7375735f6b6579117570646174655f7374616b655f706f6f6c0f77697468647261775f6163746976651177697468647261775f696e6163746976651177697468647261775f696e7465726e616c05636f696e7304436f696e0466726f6d116c6f636b65645f756e74696c5f736563730d63757272656e745f7374616b650661637469766508696e6163746976650e70656e64696e675f6163746976651070656e64696e675f696e61637469766510636f6e73656e7375735f7075626b65790f6e6574776f726b5f616464726573731066756c6c6e6f64655f6164647265737304616464720c766f74696e675f706f77657206636f6e66696710636f6e73656e7375735f736368656d650d6d696e696d756d5f7374616b650d6d6178696d756d5f7374616b65116163746976655f76616c696461746f72730869735f656d70747908706f705f6261636b09707573685f6261636b0877697468647261770b6e6f775f7365636f6e647310696e76616c69645f617267756d656e740a616464726573735f6f660576616c7565066c656e6774680a626f72726f775f6d7574047a65726f056d6572676506626f72726f77146173736572745f636f72655f7265736f7572636505656d7074790b737761705f72656d6f76650d6e6f745f7075626c6973686564076465706f7369740000000000000000000000000000000000000000000000000000000000000001030807000000000000000308010000000000000003080900000000000000030802000000000000000308080000000000000003080600000000000000030805000000000000000308040000000000000003080300000000000000030880510100000000000520000000000000000000000000000000000000000000000000000000000a550c180002031f0805210522030102052303240a0800250a0800260a0800270a0800020203280a02290a022a0a020302032b052c032d08020402062e022f033003310a0803270a0803260a08030000000001100a012e3800200306050b0a000a013801380205000b01010b00010201010002010416380a000b0211140c0711150c080b080709160a032303110b000107031116270a012a010c0a0b070c040b030c050b0011170c060b040b060b0512000c090b011107032405290b0a0f000b09380305370a0a1001140e0910021118160a0a0f01150b0a0f030b09380302020000001a1d0600000000000000000c020a002e38040c030a020a0323030b051a0a000a0238050c01111b0c040b010f020b04111c0b02060100000000000000160c0205060b000102030000001e230600000000000000000c030a0038040c040a030a0423030a051e0a000a0338060c020b021004140a0121031505190b00010b03020b03060100000000000000160c0305050b000107011116270400000021220600000000000000000c020a0038070c030a020a0323030a051d0a000a0238081005140a0121031305180b0001080b02020b02060100000000000000160c0205050b00010906000000000000000002050000020102220e0a002b02140c010a002b011001140c020b000b020b011203020601000023180a00111e0b000c090b010c040b020c0538090c0638090c0738090c080b0931000b040b050b060b080b0712042d040207010001042518070a2b040c030a0310060a001104010c010b01030c05100b030108020b0310070b001104010c020b02020801000301020426550b0011170c010a012b010c05070a2a040c060a051001140a061008142603180b06010b050107061116270b051001140a061009142503250b060107051116270a0610060a011104010c020b022003330b060107001116270a0610070a011104010c030b032003410b060107001116270a06100a0a011104010c040b0420034f0b060107001116270b060f0a0b011105380a02090100010427280b0011170c01070a2a040c050a0510060b0111040c030c020b0203130b050107041116270a050f060b03380b0c040a05100638070600000000000000002403230b050107021116270b050f070b04380a020a030003010204285c070a2a040c090600000000000000000c020a09100638070c050a020a0523030e051c0a0910060a0238081005140c000b00110d0b02060100000000000000160c0205090600000000000000000c030a09100738070c060a030a0623032705350a0910070a0338081005140c010b01110d0b03060100000000000000160c0305220a090f060a090f0a380c38090a090f07150600000000000000000c040a09100638070c070a040a0723034905590a090f060a04380d0c080a0810051411050b08150b04060100000000000000160c0405440b0901020b01000029190a000c09380e0c05380e0c06380e0c07380e0c080b090600000000000000000b050b080b060b0712012d010b000b010b020b0312022d02020c010001022a110b0011170c020a022902030907071121270b022a020c030b010b030f0b15020d000001012b330b002a010c040a040f0311020a040f0c11020a040f030a040f00380f0a040f0d0a040f0c380f0600000000000000000c010600000000000000000c020a04100338040c030a020a03230320052e0b010a0410030a02380610021118160c010b02060100000000000000160c02051b0b010b040f0115020e01000201042c2f0b0011170c0211150c040a012a010c070a070f030a0211100c050b0111070c060b06200314051f0b07010b05130001010c030b020b031122052e0e05100e140b0423032a0b070107081116270b070f0c0b053803020f010001012e140b0011170c020b012a010c050b050f0d0a0211100c040b04130001010c030b020b03112202100000002f0d0a000b010c030c020b022e0b0311030c040b000b043810020103010000000101000103000403040404010402040502000104010200020000000100",
"abi": {
"address": "0x1",
"name": "Stake",
@@ -7536,7 +7527,7 @@
"address": "0x1",
"state_key_hash": "0xe8aa027cc8ba73bb82e029247e4071a79a437bd4ee493d2c5f7fee90caf9565e",
"data": {
- "bytecode": "0xa11ceb0b050000000b010006020604030a41054b150760aa02088a032006aa036c0a9604050c9b04c7010de205020fe405020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c030000000d040000010f020200021003000002110300000112020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564207365745f74696d655f6861735f737461727465645f666f725f74657374696e67127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010e030001000000061102030507001109270201010000000611030305070111092702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a00110a0b0006000000000000000012002d00020701000000030b001106020801000100062711010b00110b07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110c2705220b040a022303220b03010702110c270b020b030f0015020000000000",
+ "bytecode": "0xa11ceb0b050000000b010006020604030a3c054615075b890208e402200684036c0af003050cf503bc010db105020fb305020001000200030004080000050000000006000000000700010000080001000009000200000a000200000b030000000c040000010e020200020f03000002100300000111020200000101010301060c03060c050301080002070800030747656e657369730954696d657374616d70064572726f72730f53797374656d4164647265737365731743757272656e7454696d654d6963726f7365636f6e64730e6173736572745f67656e65736973106173736572745f6f7065726174696e670a69735f67656e657369730c69735f6f7065726174696e67106e6f775f6d6963726f7365636f6e64730b6e6f775f7365636f6e6473147365745f74696d655f6861735f73746172746564127570646174655f676c6f62616c5f74696d650c6d6963726f7365636f6e64730d696e76616c69645f7374617465146173736572745f636f72655f7265736f75726365096173736572745f766d10696e76616c69645f617267756d656e740000000000000000000000000000000000000000000000000000000000000001030800000000000000000308010000000000000003080200000000000000030840420f00000000000520000000000000000000000000000000000000000000000000000000000a550c18052000000000000000000000000000000000000000000000000000000000000000000002010d030001000000061102030507001108270201010000000611030305070111082702020100000004070429002002030100000003070429000204010001000006110107042b001000140205010001000004110407031a0206030000050811000a0011090b0006000000000000000012002d00020701000100062711010b00110a07042a000c030a031000140c040b01070521030f05190b040a022103180b03010702110b2705220b040a022303220b03010702110b270b020b030f0015020000000000",
"abi": {
"address": "0x1",
"name": "Timestamp",
@@ -7603,15 +7594,6 @@
],
"return": []
},
- {
- "name": "set_time_has_started_for_testing",
- "visibility": "public",
- "generic_type_params": [],
- "params": [
- "&signer"
- ],
- "return": []
- },
{
"name": "update_global_time",
"visibility": "public",
diff --git a/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_output_user_transaction_with_script_function_payload.json b/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_output_user_transaction_with_script_function_payload.json
index 1f5ad6fca11e1..a09c54b227165 100644
--- a/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_output_user_transaction_with_script_function_payload.json
+++ b/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_output_user_transaction_with_script_function_payload.json
@@ -3,12 +3,12 @@
"type": "block_metadata_transaction",
"version": "1",
"hash": "0xa8fc186c28fc0f95b8233651438093e8e215a51dcd16475f5e68c0a421f6305c",
- "state_root_hash": "0xa6562f0e52751bfb2ffde0f6d4e7768208feaf3a0b13ed38b7b780adc8324ec0",
+ "state_root_hash": "0x164e0dd6c4865a34bf26ae9427a52285a07c564851ecb8711122d106ebcd42a9",
"event_root_hash": "0xd62c85b93234824cf825e9c028c3bcc59b06926039721bd7edd76b56ae9fcecf",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x6ecde3aa44f73ee29cf7c393dad128a2f068ed600bd2587dfb9f9d91244ec41e",
+ "accumulator_root_hash": "0x80badd4d29e8bdb11cca1e22811531cc562799a16a58706fdb4510fbc5029a0b",
"changes": [
{
"type": "write_resource",
@@ -56,12 +56,12 @@
"type": "user_transaction",
"version": "2",
"hash": "0x18073cb2536317833aa630d30062383a1f00221dd3604bbce19cd262813e6c36",
- "state_root_hash": "0x2e4bcab624f97a0c236357d9b5644f87bcbc9a81f36f3e0c97d8d832f95525dc",
+ "state_root_hash": "0x3fb13a8a1fc4f0c284e4e7de179fb831aa63a25d7967c0ae32f2fdc50337b043",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x0cbe7dffce77c35e60786ae4ffca07093743c79ab9b6d2a5bb839f3df2db671b",
+ "accumulator_root_hash": "0xf1a105da25d374b8f9204e8295276059b0aa0dc2c28b752908bbf06155d67d3d",
"changes": [
{
"type": "write_resource",
diff --git a/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_returns_last_page_when_start_version_is_not_specified.json b/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_returns_last_page_when_start_version_is_not_specified.json
index 0fd8d45446f8e..c8f163422b06c 100644
--- a/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_returns_last_page_when_start_version_is_not_specified.json
+++ b/api/goldens/aptos_api__tests__transactions_test__test_get_transactions_returns_last_page_when_start_version_is_not_specified.json
@@ -3,12 +3,12 @@
"type": "block_metadata_transaction",
"version": "15",
"hash": "0xab4b8030c0f02abde2a88a278e7e8306c96e2d63bdb9bdb397127c2d6ff124a3",
- "state_root_hash": "0x7b5cc866c8ad48de38aa9bcc24f4a8520018e40e33c7c0b8f73c87e9ed8d6bbc",
+ "state_root_hash": "0x8348bde4a7def20ca11f2d4ff47679fa4e25cad8452f067bd7d4f55b08188fc7",
"event_root_hash": "0xfc0f9408425e820476668a895d8f224289bdb47f9ae81ea453cbf73d9d38d9dc",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x859de35103edf0c9eabbbde99acf6f4543ec03b7094ee7baa85942700d6154fb",
+ "accumulator_root_hash": "0x813b3f48ba5029fdda6c795daaf99fd039e1d5f2a6a6e5dd9ac6c8b3884d2df9",
"changes": [
{
"type": "write_resource",
@@ -56,12 +56,12 @@
"type": "user_transaction",
"version": "16",
"hash": "0x7bc390a5d4f5b88560b0494e0baac9ca723fcbac4e5265a2420dd1114c6dd64e",
- "state_root_hash": "0x3fbff2386e5e977b6a5e8300154c4625fb03b623a4925c76d72301d9639dffc2",
+ "state_root_hash": "0xdb108ec940f48cc2256153b7977800bdf495a58866c1ea4c02378b2974e3910b",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x79c78026df4169c1de8bbe9a6c465f84e2d797074ff567f8ad0862958a12f4f3",
+ "accumulator_root_hash": "0xa8d038958c28d20cd8ec5da0b66f456276a6991c696484b07fc72837ebd04455",
"changes": [
{
"type": "write_resource",
@@ -198,12 +198,12 @@
"type": "block_metadata_transaction",
"version": "17",
"hash": "0xff76c3e356955265af1d3ba30315df5a21b41ae06dc08012062e12f96b259b2c",
- "state_root_hash": "0xc109a7b34f292c6a5849435cb68e53df5c9167ccdcf1d498734da3d97b52f6fb",
+ "state_root_hash": "0x6fba5c42fa66456b10b97b4df12c7bf3498a77290e7875f9e0df04d8006988ac",
"event_root_hash": "0xa6a9b44eb5c9a225afd2d745cccbcf07c5acb9e9bfa7b4c9d88ffa39a4c3f117",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x5ec4a6b5966b50139774af83de6aff2439258a26fd2630d02219b578afadab23",
+ "accumulator_root_hash": "0x948728541980fe2d15a1fd52964bbd707ee2d14eccb9811cca7528309397ce1f",
"changes": [
{
"type": "write_resource",
@@ -251,12 +251,12 @@
"type": "user_transaction",
"version": "18",
"hash": "0x28fb2e2dda957e42fd64e36b6df5282764ad4cf04f5b4e82e6d60706a31eef35",
- "state_root_hash": "0xcbb6ecca80b37d344f40b56255447c88026620063d6612f851c8b36e7e0b9c15",
+ "state_root_hash": "0xc8c78bdda23ec8b1c90142d210c9eaf150d43b8ff6586d41a1a9f6585fb2364e",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x49fbb62c9f4a8c677f1e21499d5b318551502a2d20d89fe8a2d47ee64b080355",
+ "accumulator_root_hash": "0x12dce34d652cc669398e8b03a6762ed1fea946ee6695172de21323058cf6c4a0",
"changes": [
{
"type": "write_resource",
@@ -393,12 +393,12 @@
"type": "block_metadata_transaction",
"version": "19",
"hash": "0xc7f0b608aeabd6d96828cb0ef04a2b598ca2bc3ac8e644cf6ef799021494c9b0",
- "state_root_hash": "0xbb72f5b9b7c9dd2ab28b6138c1d14658513c66d434ed3c8c3c832ac88828a93b",
+ "state_root_hash": "0x7c5626286963e1b109ebe2995893643decf5e7488477df5368e083a5428b412a",
"event_root_hash": "0x496e79b2a294b6c0eb9a2b0e4827a2f0c0c559074ce5dfbf4e4462f08d12dfc8",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0xc66dda4141a75d982ef7a65e83b6261273fe1d2f257b1baec3683deea374059a",
+ "accumulator_root_hash": "0xce77e9b0e08e2efbed84896447968c078ab854023b37b2ee19f49d5c00bf3618",
"changes": [
{
"type": "write_resource",
@@ -446,12 +446,12 @@
"type": "user_transaction",
"version": "20",
"hash": "0x652f97186eb303dc48af00318aec7c9b6efbad3f8538a541d1cab6afe593d0b2",
- "state_root_hash": "0x48f6aac860b2f9cc35e548904d1143bdac3397f8260a385359f3c61cac7038fa",
+ "state_root_hash": "0xd24a7d9776955469a06c64fb7dc5bed1745a73a81a68ae40c76a3ccfbb64af5e",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0xf75d35f17cbb7cc744b9373e59b40d7a715d9a1b30163648cbf8d4d3519bc586",
+ "accumulator_root_hash": "0xb496de6fc489d73fa849ae66afdedcee2510b1066ef99c5874eeba10a6ff59e8",
"changes": [
{
"type": "write_resource",
@@ -588,12 +588,12 @@
"type": "block_metadata_transaction",
"version": "21",
"hash": "0x87595e096f8f40bcc5b304449d1a746fe849a097b2894dcf08da17fbe2add83c",
- "state_root_hash": "0x427e08f69539a16ba214cc8ab468bece17ff0f86febe38a299ee998406194d04",
+ "state_root_hash": "0xb2ced4dbfacd37160a31baff66483f5df3883b1cc4e8f6c6bba8dcbe155adf5a",
"event_root_hash": "0x32505461d562923642b8f4144f32e3e73955e76f0f2a969e1c4749246664ee81",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x4675917123d5daf48c61e28c1717e85239a9a8e6d05fe5ae260a1ef0919b2424",
+ "accumulator_root_hash": "0xc0581203e8149d489fe56b3d72b2f7bd4b9b8d6fbe98ed9b178479bdbb51ae19",
"changes": [
{
"type": "write_resource",
@@ -641,12 +641,12 @@
"type": "user_transaction",
"version": "22",
"hash": "0xda850e6cde9e2a036603b21f27d1aaaaabed970130deb84f624b844c422b0d86",
- "state_root_hash": "0xa2b91efac4d58d997840fd1b293d6f7602d36dd9324be78e53abc20c796d79f2",
+ "state_root_hash": "0x574b5e5b3b98ad0c50b8ae137298241e6e65e8ac22a665c9ea3d3fbe7998a299",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0xbe6171d481dfdd1eba5ffda9371edcfdea48ef81ef0543e652405cbc6551ed0c",
+ "accumulator_root_hash": "0xc48619162894054d5e9779daabb838d6a57d68f74b4282ae808062362739a00a",
"changes": [
{
"type": "write_resource",
@@ -783,12 +783,12 @@
"type": "block_metadata_transaction",
"version": "23",
"hash": "0x9bed1b067e0c22ac849b46bbf5c73cbd59ecd769cf8d9c10632f4226b9b5cc23",
- "state_root_hash": "0xbda6d3cef0697d902d91871004ea923a7485d5488a4e8c378446e2e2662eacef",
+ "state_root_hash": "0x4a52cf8f903ea11f136806d0d5c2b447f4ed06bee7dc448d34480baab1bb82ec",
"event_root_hash": "0xb473990da4cec260bef238d5fa0ae94273985146231517965ee00a0d8e543489",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0xc730d5302313bb1f9d70a9bd778402cff4150d856d9d56eb08d8ccc80007e9eb",
+ "accumulator_root_hash": "0xeab1657bcbb5224efb4648178658c7823b1c0ea1b128b97572fb416d1679821e",
"changes": [
{
"type": "write_resource",
@@ -836,12 +836,12 @@
"type": "user_transaction",
"version": "24",
"hash": "0x68cdfdeabb160917d852e8960a2588a3a8a1905707561a2a5e4b3922f2c20109",
- "state_root_hash": "0xb08079021551fa5739de52de4b4b8dd187f50d3877a8c709578e62ce7e312a9b",
+ "state_root_hash": "0xa67cfad348872aee9a540c26092261c40b719a54c401acd9a24373cc7257fa73",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x4f465d32d801a3c330664f9f13856ccd47359b50ded1bd3b4507f09460b45e33",
+ "accumulator_root_hash": "0x8071fe26401155268645b0395ec26725fb120277edb87293d13b1d0e912f2c97",
"changes": [
{
"type": "write_resource",
@@ -978,12 +978,12 @@
"type": "block_metadata_transaction",
"version": "25",
"hash": "0x0b7764d54ad6dd6490a482a7997a598a5257024017993eafcd936a95c0efdb80",
- "state_root_hash": "0x03099571958d27973390cb01b1623343433d94209d4b5b77f7aacf47a38b6644",
+ "state_root_hash": "0xaf8cd519ea029157439423874ee4eeec444e41f38f8ba1e8c58861b80d6f2662",
"event_root_hash": "0x8e252e4998b08918e04f49d8c009144fc995a000a923667efc111157916c565c",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x7b44e0586f472d99a9d3254f38d4aecc25c187eda52a663a0747d13241dcf5a5",
+ "accumulator_root_hash": "0x8121d1645dc526b43ce5f51692889ece654fa69bfecc36a81a6e4f339b14a896",
"changes": [
{
"type": "write_resource",
@@ -1031,12 +1031,12 @@
"type": "user_transaction",
"version": "26",
"hash": "0x673d5dca47ffde8b99952fec38ee130fd2aa735c084402b3a8850165d467a917",
- "state_root_hash": "0x381c7b774ca828308c67d47d1afe9b3b3d78b40d9ff871e6e0b10dbd6d8ba0c3",
+ "state_root_hash": "0x2a37938f4e09e76308c20d71dac09a409c74f82143d826bb6d84187720e95321",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0xde8f2c3475822ea28a22afab2b83dac1d22ae7bc23e0c2322155a2cfa14213eb",
+ "accumulator_root_hash": "0x76f85d2de0d21516205dbe034fcc2790603f4fab36af2027ba65cdf5a97cc74f",
"changes": [
{
"type": "write_resource",
@@ -1173,12 +1173,12 @@
"type": "block_metadata_transaction",
"version": "27",
"hash": "0xacb5e69631257947d0bdb5453e02de7f760e27c7432f53e41950a959f73f3cc1",
- "state_root_hash": "0x790648250696ea299291d51f3400889f8af92fba7ed177a3b6cc3e46f33d5367",
+ "state_root_hash": "0x07c9b6a72a435b0306afa1aaba223661e51552685bbf063e2819ae98ecbbd534",
"event_root_hash": "0x0705a795230d060400e635f254aea3c6325d1abebc2f9a5e4554356ccf67ecee",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x46de7265929532450e2450b5179d92d0cb66f26bcb5c505cd163c258b6e3e6d7",
+ "accumulator_root_hash": "0xf51107bfa02e518a6ef7c1252c773ea257f6874d312f062a7dedc4b38f6fbf02",
"changes": [
{
"type": "write_resource",
@@ -1226,12 +1226,12 @@
"type": "user_transaction",
"version": "28",
"hash": "0x50b56bc5a09a095afcf38451aef0ffeeca9e8c17f538d082ccf33b4ead3d9de9",
- "state_root_hash": "0x50b3da678bacd09475757d8538ea4289bde3e3fa2bd3706b8dd342f0016e128c",
+ "state_root_hash": "0xeb932b2318fca6d0374a33d508f3e3c922950edce0c00acc4cd710846c062053",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x1d36e7725e6d0917670fd89799792d688c1d4744c0c51bd9d89982c537eceb85",
+ "accumulator_root_hash": "0x7815230c09dc7c5a885155994db9c02f526c16978a680e32af9f02cd3d154519",
"changes": [
{
"type": "write_resource",
@@ -1368,12 +1368,12 @@
"type": "block_metadata_transaction",
"version": "29",
"hash": "0xcd0ef18ec2388d7e92564fb7d68b5c3c1bb21cf5c52ea27b19b40ee78c561c94",
- "state_root_hash": "0x105aaa17814520e8e7f53a63f4c9ecec5f3c47eba497203ac4f7b34f02854d11",
+ "state_root_hash": "0xb20bc74256318135f7dcba909ce381418bdb224156061790f92118d5d4cf28eb",
"event_root_hash": "0xe983a92b7c4b5440b045e59d64cff9044536782ab5b6c6089e1cfe05ffb50218",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x22cbca84e818d234aab62bd2c94e16e1280fdd786bbfc54f09b8ca947d4043b1",
+ "accumulator_root_hash": "0x02e4ed6770aec4883e12ba3dc168f335d44849cfc652a9c43f969597bb6f28a2",
"changes": [
{
"type": "write_resource",
@@ -1421,12 +1421,12 @@
"type": "user_transaction",
"version": "30",
"hash": "0x8c9e6c04384957bd474d64147adad5e3405733aab3319e715ef116e7e60c6be4",
- "state_root_hash": "0x1b87bb6d81a2bd0a60ec13672c0a30573330846741e3b33b41ffa0fb23da6c46",
+ "state_root_hash": "0x0c07b4c7662ef86033eb8cd1f181c9e7c14aa0ab05b158f33000471ae3152cc1",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x7a18ec4891256c206e0fc3dbaa8af1a461446a9d825f7bdc347a019839dab303",
+ "accumulator_root_hash": "0x391544161c91c9aac37b933c09404e2db936938065de7eac7a4b5e1353e5678e",
"changes": [
{
"type": "write_resource",
@@ -1563,12 +1563,12 @@
"type": "block_metadata_transaction",
"version": "31",
"hash": "0xe7c21dbd27d48c1c39e2b0e232e7ae5c92dbed02adc5dd45f8f4afa3759198d4",
- "state_root_hash": "0xefb00745bdcd05e9912a5603296f27bac1aff29a712594b99a5274b5942a05c2",
+ "state_root_hash": "0x4a064d9977662525eeaadad48740b6df4384b4535af659556bece43a10c6dd1a",
"event_root_hash": "0x65d9c64fc0037bcbc4d77763204f191e92635cc864e3da1ab60b9665368c9371",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0xe9035ec42c7a075884b18ffd866c6edc3831950e8e07ca95d9d461150f8bdc80",
+ "accumulator_root_hash": "0xd9ed24f1af364b218634246f9821ae8c1b68bc5ce62ad6d6f6d2ee6d6ca34fb1",
"changes": [
{
"type": "write_resource",
@@ -1616,12 +1616,12 @@
"type": "user_transaction",
"version": "32",
"hash": "0x0c26a52a417e88ba6bcb3c0b892ca231d8b71aed396c9d0e6ede20877c198682",
- "state_root_hash": "0x203ef60fb0a33cf4b931bb76d10eb58b4799e54a7e5dde9d4c4eefd56573186b",
+ "state_root_hash": "0xa25075a5af53de94061eaa60337c50f41fbc87c3329ac16ab91180e9ad63a7e2",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0xef0d714d664ed478553587daf398751b5ca851541cbdf79c5e1c1c49c0f06f90",
+ "accumulator_root_hash": "0x34a43fe0db65550ba013720ed61ae63d9595b8bdb2135faa17380d639c2421b4",
"changes": [
{
"type": "write_resource",
@@ -1758,12 +1758,12 @@
"type": "block_metadata_transaction",
"version": "33",
"hash": "0x024ded6930a59f0bab79f57ad6b7d21ca11b47ffbf85736ff221c255669202d4",
- "state_root_hash": "0xcbae712cac61e8e460f638f3bb8c503e73c0ebeefb4c2ec0c893c30c9703415f",
+ "state_root_hash": "0xff3ca709208e8ed29f4579c04bd4b46bfcf8a10413ded0a6f620ea9532e87c6c",
"event_root_hash": "0x20747e0a553e9e055902d419f76f38004ba4d751fbe959c32c1ff6c4a982d578",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0xc2255672f383888702cf93741a57f3084122a67d6c535529ccf581c5ac1939c4",
+ "accumulator_root_hash": "0x99110acea62575046cd4123af01a175999c24d68922c1ae7e698906bcbf5925e",
"changes": [
{
"type": "write_resource",
@@ -1811,12 +1811,12 @@
"type": "user_transaction",
"version": "34",
"hash": "0xf91aed259eb4db845dc1b611e2ed67ddbf5fed8966ec76dd184659493b0677fb",
- "state_root_hash": "0x55692a365932c62dc274dec1a2323a3854b3f1ffc52bba94e39d3bad2255c9a6",
+ "state_root_hash": "0x1173416fdaecaff594842ad462023b6e7209872b47447abca847b98d6a413929",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x723975528000b4afab8b06c58a9cc0fc54dee94d7b0d130992ed4a4819e2a0a0",
+ "accumulator_root_hash": "0xc243d3f4ea420ed6925e63ed2f9c62896ceb38b5b7e3ea631ebf0e71b05c2d99",
"changes": [
{
"type": "write_resource",
@@ -1953,12 +1953,12 @@
"type": "block_metadata_transaction",
"version": "35",
"hash": "0xa7507dd24e0c31f630087d85c5ffdb72e4352ab70020ae31044d6be77ea72a13",
- "state_root_hash": "0x73334d69817e7f902063954ea4259f53c462f507d41ba832d654ab3ecc1aaea5",
+ "state_root_hash": "0x540c18b4d86b9ebd86f0fa35ac74a777b5c030fe9318a821fe87e5d6be6b5858",
"event_root_hash": "0x239c9fd4aed1dc852e6bd817282c845600d5f578ab140a267d50ffb5d365bf7a",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0xc293b73db794a08b3e9a3858e9b565291eeeda4255438eccb95585a2b6f37f36",
+ "accumulator_root_hash": "0x3bfbb1feecbba6f8cf3d76e335df43d32b13e67b0cabddd7ef8643912c8fba85",
"changes": [
{
"type": "write_resource",
@@ -2006,12 +2006,12 @@
"type": "user_transaction",
"version": "36",
"hash": "0xf102d60f1e2350c3491f00d87fd646d9441bc6341672c2d81c7541627958f181",
- "state_root_hash": "0xb1bced8b5229c3f2e68366917cfb70677ec98f37b5631804aeab85ab0f86e330",
+ "state_root_hash": "0x4da45aa8c87672b62c2f8013751dc589632d36014336e84710f6ff1e28a02a70",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x50bf8e98dabf7520c7ed33e3b1ae434659cc8badfd56547b0bb1847272ec20be",
+ "accumulator_root_hash": "0xed44494dafb2967145bdf3dbc361af8e4381154844f2fc270f000967f43dd529",
"changes": [
{
"type": "write_resource",
@@ -2148,12 +2148,12 @@
"type": "block_metadata_transaction",
"version": "37",
"hash": "0x12a953e6b6bcd5bac5cf670f018ec1a1f4b918a3e8a6c7398fdf3f935dae6b48",
- "state_root_hash": "0xdcf9fadbabb0192b213640a773f130661a44e40c4a869e39f5fa2280d141d1a2",
+ "state_root_hash": "0xc4761c25cbd6b057373157f3467005e447aff549334a077234309a64312039bc",
"event_root_hash": "0x0fb2cd74861c38ca95112f194e496f084333fb444284b1005e7eb9ed061c0ecb",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0xa7295f3f57706e02244d72e4455ff65cc79da35785804cadf478a7f2abf90d79",
+ "accumulator_root_hash": "0xafe40e79333524a8e41f880a0d70891ca1dba918918b06bc28bf29cd722d5bb2",
"changes": [
{
"type": "write_resource",
@@ -2201,12 +2201,12 @@
"type": "user_transaction",
"version": "38",
"hash": "0xd8a0e4a0854841f0a2d0ccba40b0bd4e033781b6458580e521a50286835bfcf6",
- "state_root_hash": "0x5ba6a514d9e7fb8587d4ca0b66fca19412fa4fe24692cdc39b9b3d513bbdd01d",
+ "state_root_hash": "0x0d5c643bb780be1a9581c8c03a7c1ee36201ce040ecf16e8014fce4a3a0dfcb1",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "92",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0xb6addd7c83f5cc96b1eb7d97dc68f1c022b4b5eb16d8033cd1180b2bbd7de495",
+ "accumulator_root_hash": "0xbe1e76288c3767ed7ddfe1670d36fb383e4e129fea69a21086c97e22503273e6",
"changes": [
{
"type": "write_resource",
@@ -2343,12 +2343,12 @@
"type": "block_metadata_transaction",
"version": "39",
"hash": "0x2b9f44dbdcf4cb278e5e49d6981385801f6cbcfd0e5b6854537094b04f4f95f5",
- "state_root_hash": "0x4e9e450ca7f71b77edafe075775c45767bb605f2dd9b62d2701e4af37c1d73fa",
+ "state_root_hash": "0xe0bc665f22f79860690ef4795cd7238dabb028cafd13e9401584a918d3517d7d",
"event_root_hash": "0xa478d3f1b71522bd300aeff7b6d0838796c8b5d21226303ae99d4ada6981e19e",
"gas_used": "0",
"success": true,
"vm_status": "Executed successfully",
- "accumulator_root_hash": "0x98db0c5a464487bb29ba702515fbebdbe9c29988d6beccba8df7c393efa52f28",
+ "accumulator_root_hash": "0x42c790e0c5697f1a4223af6b7965fc70471adcdc81d100a202ea587fe4d6b2a2",
"changes": [
{
"type": "write_resource",
diff --git a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_module_payload_bytecode.json b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_module_payload_bytecode.json
index 7098f9fbd3913..8fb9c025241d5 100644
--- a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_module_payload_bytecode.json
+++ b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_module_payload_bytecode.json
@@ -2,12 +2,12 @@
"type": "user_transaction",
"version": "2",
"hash": "0xf1d9819d9c3890f1d3e515be30cf920bd5bba8a7616dc02f21438c3ce08e27fa",
- "state_root_hash": "0xa440baf7d284e00a14b2d788eebe92fbc4513e92f02cc012b1215e92234df95d",
+ "state_root_hash": "0x57d403ee832dd459894ce406aa25e5e7b4872d7e72e5e59ce456def80051540d",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "1",
"success": false,
"vm_status": "Move bytecode deserialization / verification failed, including script function not found or invalid arguments",
- "accumulator_root_hash": "0xb13f373a5fe84ac6e4bfaaf2e5dc5ddecddebc1ed898a059fbe084dc65cb5c3d",
+ "accumulator_root_hash": "0xdc043b2b514eae7669f271799dc20776868f5c7a26b8d4c920868bc86416e012",
"changes": [
{
"type": "write_resource",
diff --git a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_address.json b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_address.json
index e5783792030c7..af84497c90d2b 100644
--- a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_address.json
+++ b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_address.json
@@ -2,12 +2,12 @@
"type": "user_transaction",
"version": "2",
"hash": "0x97053ab47cdf9d0bee6a38b61d4ca5366090474be9191c589377dad77b3fab66",
- "state_root_hash": "0xa440baf7d284e00a14b2d788eebe92fbc4513e92f02cc012b1215e92234df95d",
+ "state_root_hash": "0x57d403ee832dd459894ce406aa25e5e7b4872d7e72e5e59ce456def80051540d",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "1",
"success": false,
"vm_status": "Move bytecode deserialization / verification failed, including script function not found or invalid arguments",
- "accumulator_root_hash": "0x36b86baa84b5cbd69144e835bbb9012748427750e6d668d18851a6463931dc24",
+ "accumulator_root_hash": "0x110d4551838194841714dce5da10b62e816a4adb4d0704059faec9b9f4ffe256",
"changes": [
{
"type": "write_resource",
diff --git a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_arguments.json b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_arguments.json
index e91d8d86d810f..8fb2620414ecd 100644
--- a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_arguments.json
+++ b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_arguments.json
@@ -2,12 +2,12 @@
"type": "user_transaction",
"version": "2",
"hash": "0x0760cc0dfba7e747fdcfda4ffeffbe4fa42061482758e14803535f5babfb09a0",
- "state_root_hash": "0xa440baf7d284e00a14b2d788eebe92fbc4513e92f02cc012b1215e92234df95d",
+ "state_root_hash": "0x57d403ee832dd459894ce406aa25e5e7b4872d7e72e5e59ce456def80051540d",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "1",
"success": false,
"vm_status": "Move bytecode deserialization / verification failed, including script function not found or invalid arguments",
- "accumulator_root_hash": "0x990ad378635d8dbccdb1ac3d6cf02de637daaa2ea670ced3db45cc723a15c6df",
+ "accumulator_root_hash": "0x63af08ac203fe45deb8b67fe983bc6a56c3e7816f3e3a37dac30e677f7ae126d",
"changes": [
{
"type": "write_resource",
diff --git a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_module_name.json b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_module_name.json
index 3980f689f86ba..b7f37fb7f9de3 100644
--- a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_module_name.json
+++ b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_module_name.json
@@ -2,12 +2,12 @@
"type": "user_transaction",
"version": "2",
"hash": "0x454dcd76c7a06eebaf8674a72bb4ecd991b268047a6af9bba9fc15a8baa49af2",
- "state_root_hash": "0xa440baf7d284e00a14b2d788eebe92fbc4513e92f02cc012b1215e92234df95d",
+ "state_root_hash": "0x57d403ee832dd459894ce406aa25e5e7b4872d7e72e5e59ce456def80051540d",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "1",
"success": false,
"vm_status": "Move bytecode deserialization / verification failed, including script function not found or invalid arguments",
- "accumulator_root_hash": "0x7018876b0253e8307392c9426eb407f057bccf44f53c8ad8ab20bbf6b4094115",
+ "accumulator_root_hash": "0x4da4ad6458e13c10730f1e9b8af1439e0cdcca040928d31abd6387bc1255011e",
"changes": [
{
"type": "write_resource",
diff --git a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_name.json b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_name.json
index 23db92c5a021c..bb583c1d40653 100644
--- a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_name.json
+++ b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_function_name.json
@@ -2,12 +2,12 @@
"type": "user_transaction",
"version": "2",
"hash": "0xc00c694596b002f38c4a5eb5b8b20a772cb2bc7e5aacd3b2637e73bec802796e",
- "state_root_hash": "0xa440baf7d284e00a14b2d788eebe92fbc4513e92f02cc012b1215e92234df95d",
+ "state_root_hash": "0x57d403ee832dd459894ce406aa25e5e7b4872d7e72e5e59ce456def80051540d",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "1",
"success": false,
"vm_status": "Move bytecode deserialization / verification failed, including script function not found or invalid arguments",
- "accumulator_root_hash": "0xcb5ce63ed138f2859173333d33445ac2d0f69719f0f3acec3505dfa1fe56778d",
+ "accumulator_root_hash": "0xf18eb932cac100a663d3949ea03658dd7240b9f29a5ced2503bbbf7c1a219f4a",
"changes": [
{
"type": "write_resource",
diff --git a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_payload_bytecode.json b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_payload_bytecode.json
index 88440861d443c..59acca8fba11a 100644
--- a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_payload_bytecode.json
+++ b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_invalid_script_payload_bytecode.json
@@ -2,12 +2,12 @@
"type": "user_transaction",
"version": "2",
"hash": "0xd99666ee3f06d5d564d1e8bf5955a020e7634fd9b539c2b6bab071670548f625",
- "state_root_hash": "0xa440baf7d284e00a14b2d788eebe92fbc4513e92f02cc012b1215e92234df95d",
+ "state_root_hash": "0x57d403ee832dd459894ce406aa25e5e7b4872d7e72e5e59ce456def80051540d",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "1",
"success": false,
"vm_status": "Move bytecode deserialization / verification failed, including script function not found or invalid arguments",
- "accumulator_root_hash": "0x066ddd66e1f8527b4f6c2d88c01bb3b7a99c031b7288ca21a15dd79c761bf3d6",
+ "accumulator_root_hash": "0x25c30a1f25411e60012e07ab720891578036da5701eec6f0b9c47b00a31e57e8",
"changes": [
{
"type": "write_resource",
diff --git a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_missing_script_function_arguments.json b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_missing_script_function_arguments.json
index 0eb3e730023c4..fe949efabfaa5 100644
--- a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_missing_script_function_arguments.json
+++ b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_missing_script_function_arguments.json
@@ -2,12 +2,12 @@
"type": "user_transaction",
"version": "2",
"hash": "0x8df66affad9c571750829820259721f96af4d7ae787bd7089bea259ff0f82cb1",
- "state_root_hash": "0xa440baf7d284e00a14b2d788eebe92fbc4513e92f02cc012b1215e92234df95d",
+ "state_root_hash": "0x57d403ee832dd459894ce406aa25e5e7b4872d7e72e5e59ce456def80051540d",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "1",
"success": false,
"vm_status": "Move bytecode deserialization / verification failed, including script function not found or invalid arguments",
- "accumulator_root_hash": "0xb2ef5b04e4a64e255ac4917e37b9a35ab6fb3600ab3f1f93bd5ed9580639c336",
+ "accumulator_root_hash": "0xc7046d7d9ff9b1bc66fa295ddfc707eacf2e6664f46f569afef8f32c1236879e",
"changes": [
{
"type": "write_resource",
diff --git a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_script_function_validation.json b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_script_function_validation.json
index 59efb9ed0784c..d835512e5c0c5 100644
--- a/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_script_function_validation.json
+++ b/api/goldens/aptos_api__tests__transactions_test__test_get_txn_execute_failed_by_script_function_validation.json
@@ -2,12 +2,12 @@
"type": "user_transaction",
"version": "4",
"hash": "0x67d3d83ebf873c54ae08380b8984ee3bef0227c284117384b9e086498c52fb90",
- "state_root_hash": "0x09b449cbbb040af9d216198af78a09e16a8e6644c0a27aa9f3f9b1083f244a35",
+ "state_root_hash": "0x03f097eac0bd957967a51c7dadc3bc7f3bcd6f4ec46c8884d12077f97055162e",
"event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000",
"gas_used": "21",
"success": false,
"vm_status": "Move abort by LIMIT_EXCEEDED - EINSUFFICIENT_BALANCE\n A limit on an amount, e.g. a currency, is exceeded. Example: withdrawal of money after account limits window\n is exhausted.\n Error codes",
- "accumulator_root_hash": "0x8aed0e8a39535fa9d2763892b12792a1b6c354beeaa299ee07093f7968bf92f7",
+ "accumulator_root_hash": "0xf30c39ed3c8bf98b4bf8b939c5fbd31c515f8b0f6f4c3ca2fcad2a1dd6f28842",
"changes": [
{
"type": "write_resource",
diff --git a/aptos-move/framework/aptos-framework/sources/configs/Stake.move b/aptos-move/framework/aptos-framework/sources/configs/Stake.move
index c21543cb1cb4c..59a38b95824fe 100644
--- a/aptos-move/framework/aptos-framework/sources/configs/Stake.move
+++ b/aptos-move/framework/aptos-framework/sources/configs/Stake.move
@@ -1,6 +1,7 @@
module AptosFramework::Stake {
- use Std::Vector;
+ use Std::Errors;
use Std::Signer;
+ use Std::Vector;
use AptosFramework::SystemAddresses;
use AptosFramework::Timestamp;
use AptosFramework::TestCoin::{Self, Coin};
@@ -10,6 +11,26 @@ module AptosFramework::Stake {
const MINIMUM_LOCK_PERIOD: u64 = 86400;
+ /// Delegation not found for the account.
+ const EDELEGATION_NOT_FOUND: u64 = 1;
+ /// Lock period is shorter than required.
+ const ELOCK_TIME_TOO_SHORT: u64 = 2;
+ /// Withdraw not allowed, the stake is still locked.
+ const EWITHDRAW_NOT_ALLOWED: u64 = 3;
+ /// Validator Config not published.
+ const EVALIDATOR_CONFIG: u64 = 4;
+ /// Not enough stake to join validator set.
+ const ESTAKE_TOO_LOW: u64 = 5;
+ /// Too much stake to join validator set.
+ const ESTAKE_TOO_HIGH: u64 = 6;
+ /// Account is already a validator or pending validator.
+ const EALREADY_VALIDATOR: u64 = 7;
+ /// Account is not a validator.
+ const ENOT_VALIDATOR: u64 = 8;
+ /// Can't remove last validator.
+ const ELAST_VALIDATOR: u64 = 9;
+
+
/// Basic unit of stake delegation, it's stored in StakePool.
struct Delegation has store {
coins: Coin,
@@ -52,6 +73,9 @@ module AptosFramework::Stake {
}
/// Full ValidatorSet, stored in @CoreResource.
+ /// 1. join_validator_set adds to pending_active queue.
+ /// 2. leave_valdiator_set moves from active to pending_inactive queue.
+ /// 3. on_new_epoch processes two pending queues and refresh ValidatorInfo from the owner's address.
struct ValidatorSet has key {
consensus_scheme: u8,
// minimum stakes required to join validator set
@@ -70,7 +94,7 @@ module AptosFramework::Stake {
public fun delegate_stake(account: &signer, to: address, amount: u64, locked_until_secs: u64) acquires StakePool, ValidatorSet {
let coins = TestCoin::withdraw(account, amount);
let current_time = Timestamp::now_seconds();
- assert!(current_time + MINIMUM_LOCK_PERIOD < locked_until_secs, 0);
+ assert!(current_time + MINIMUM_LOCK_PERIOD < locked_until_secs, Errors::invalid_argument(ELOCK_TIME_TOO_SHORT));
let stake_pool = borrow_global_mut(to);
let delegation = Delegation {
coins,
@@ -102,8 +126,7 @@ module AptosFramework::Stake {
// move to pending_inactive if it can be unlocked
Vector::push_back(&mut stake_pool.pending_inactive, d);
} else {
- // not allowed to withdraw
- abort 0
+ abort Errors::invalid_argument(EWITHDRAW_NOT_ALLOWED)
};
}
@@ -140,6 +163,7 @@ module AptosFramework::Stake {
/// Rotate the consensus key of the validator, it'll take effect in next epoch.
public fun rotate_consensus_key(account: &signer, consensus_pubkey: vector) acquires ValidatorConfig {
let addr = Signer::address_of(account);
+ assert!(exists(addr), Errors::not_published(EVALIDATOR_CONFIG));
let validator_info = borrow_global_mut(addr);
validator_info.consensus_pubkey = consensus_pubkey;
}
@@ -162,14 +186,14 @@ module AptosFramework::Stake {
let addr = Signer::address_of(account);
let stake_pool = borrow_global(addr);
let validator_set = borrow_global_mut(@CoreResources);
- assert!(stake_pool.current_stake >= validator_set.minimum_stake, 0);
- assert!(stake_pool.current_stake <= validator_set.maximum_stake, 0);
+ assert!(stake_pool.current_stake >= validator_set.minimum_stake, Errors::invalid_argument(ESTAKE_TOO_LOW));
+ assert!(stake_pool.current_stake <= validator_set.maximum_stake, Errors::invalid_argument(ESTAKE_TOO_HIGH));
let (exist, _) = find_validator(&validator_set.active_validators, addr);
- assert!(!exist, 0);
+ assert!(!exist, Errors::invalid_argument(EALREADY_VALIDATOR));
let (exist, _) = find_validator(&validator_set.pending_inactive, addr);
- assert!(!exist, 0);
+ assert!(!exist, Errors::invalid_argument(EALREADY_VALIDATOR));
let (exist, _) = find_validator(&validator_set.pending_active, addr);
- assert!(!exist, 0);
+ assert!(!exist, Errors::invalid_argument(EALREADY_VALIDATOR));
Vector::push_back(&mut validator_set.pending_active, generate_validator_info(addr));
}
@@ -180,10 +204,10 @@ module AptosFramework::Stake {
let validator_set = borrow_global_mut(@CoreResources);
let (exist, index) = find_validator(&validator_set.active_validators, addr);
- assert!(exist, 0);
+ assert!(exist, Errors::invalid_argument(ENOT_VALIDATOR));
let validator_info = Vector::swap_remove(&mut validator_set.active_validators, index);
- assert!(Vector::length(&validator_set.active_validators) > 0, 0);
+ assert!(Vector::length(&validator_set.active_validators) > 0, Errors::invalid_argument(ELAST_VALIDATOR));
Vector::push_back(&mut validator_set.pending_inactive, validator_info);
}
@@ -191,6 +215,7 @@ module AptosFramework::Stake {
/// 1. distribute rewards to stake pool of active and pending inactive validators
/// 2. purge pending queues
/// 3. update the validator info from owners' address
+ /// This function shouldn't abort.
public(friend) fun on_new_epoch() acquires StakePool, ValidatorConfig, ValidatorSet {
let validator_set = borrow_global_mut(@CoreResources);
// distribute reward
@@ -225,6 +250,7 @@ module AptosFramework::Stake {
/// 1. distribute rewards to active/pending_inactive delegations
/// 2. process pending_active, pending_inactive correspondingly
/// 3. update the current stake
+ /// This function shouldn't abort.
fun update_stake_pool(addr: address) acquires StakePool {
let stake_pool = borrow_global_mut(addr);
distribute_reward( &mut stake_pool.active);
@@ -271,7 +297,7 @@ module AptosFramework::Stake {
};
i = i + 1;
};
- abort 0
+ abort Errors::invalid_argument(EDELEGATION_NOT_FOUND)
}
fun find_validator(v: &vector, addr: address): (bool, u64) {