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 d9f5a737aadbd..8f16ef1ae25f0 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 @@ -2898,7 +2898,7 @@ } }, { - "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70ecf060da615040faa1502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a3215010100073301010003350808000636171800083718010005380f00000339080800093a010700033b0808000a3c1a110100073d010800023e011200043f04040006140007000640000800034108080009421d07001600171219121700170422002204010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f6578636565646564087769746864726177086275726e5f6665650a616464726573735f6f661072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360a62616c616e63655f6f660d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016380a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e000b0a111c0c070b07111d0e00111e0c060a0611090c090a0935070c23032e070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111e071b21030a0b00010708111f270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1120030507121121270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911230b0523030707181115270e00111e0c0a11240b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211250a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1126034e070f1115270b0a11270c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111e0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131121270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", + "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70edd060db415040fb81502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a32150101000733010100033508080005360f0000063700080006381718000839180100033a080800093b010700033c0808000a3d1a110100073e010800023f01120004400404000614000700034108080009421d07001600171219121700170423002304010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f65786365656465640a616464726573735f6f660a62616c616e63655f6f66087769746864726177086275726e5f6665651072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016400a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e00111c0c060a06111d0a0a260325070f111b270e000b0a111e0c070b07111f0a0611090c090a0935070c230336070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111c071b21030a0b000107081120270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1121030507121122270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911240b0523030707181115270e00111c0c0a11250b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211260a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1127034e070f1115270b0a111d0c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111c0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131122270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", "abi": { "address": "0x1", "name": "Account", 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 d9f5a737aadbd..8f16ef1ae25f0 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 @@ -2898,7 +2898,7 @@ } }, { - "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70ecf060da615040faa1502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a3215010100073301010003350808000636171800083718010005380f00000339080800093a010700033b0808000a3c1a110100073d010800023e011200043f04040006140007000640000800034108080009421d07001600171219121700170422002204010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f6578636565646564087769746864726177086275726e5f6665650a616464726573735f6f661072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360a62616c616e63655f6f660d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016380a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e000b0a111c0c070b07111d0e00111e0c060a0611090c090a0935070c23032e070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111e071b21030a0b00010708111f270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1120030507121121270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911230b0523030707181115270e00111e0c0a11240b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211250a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1126034e070f1115270b0a11270c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111e0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131121270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", + "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70edd060db415040fb81502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a32150101000733010100033508080005360f0000063700080006381718000839180100033a080800093b010700033c0808000a3d1a110100073e010800023f01120004400404000614000700034108080009421d07001600171219121700170423002304010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f65786365656465640a616464726573735f6f660a62616c616e63655f6f66087769746864726177086275726e5f6665651072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016400a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e00111c0c060a06111d0a0a260325070f111b270e000b0a111e0c070b07111f0a0611090c090a0935070c230336070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111c071b21030a0b000107081120270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1121030507121122270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911240b0523030707181115270e00111c0c0a11250b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211260a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1127034e070f1115270b0a111d0c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111c0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131122270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", "abi": { "address": "0x1", "name": "Account", 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 d9f5a737aadbd..8f16ef1ae25f0 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 @@ -2898,7 +2898,7 @@ } }, { - "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70ecf060da615040faa1502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a3215010100073301010003350808000636171800083718010005380f00000339080800093a010700033b0808000a3c1a110100073d010800023e011200043f04040006140007000640000800034108080009421d07001600171219121700170422002204010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f6578636565646564087769746864726177086275726e5f6665650a616464726573735f6f661072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360a62616c616e63655f6f660d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016380a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e000b0a111c0c070b07111d0e00111e0c060a0611090c090a0935070c23032e070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111e071b21030a0b00010708111f270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1120030507121121270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911230b0523030707181115270e00111e0c0a11240b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211250a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1126034e070f1115270b0a11270c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111e0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131121270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", + "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70edd060db415040fb81502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a32150101000733010100033508080005360f0000063700080006381718000839180100033a080800093b010700033c0808000a3d1a110100073e010800023f01120004400404000614000700034108080009421d07001600171219121700170423002304010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f65786365656465640a616464726573735f6f660a62616c616e63655f6f66087769746864726177086275726e5f6665651072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016400a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e00111c0c060a06111d0a0a260325070f111b270e000b0a111e0c070b07111f0a0611090c090a0935070c230336070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111c071b21030a0b000107081120270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1121030507121122270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911240b0523030707181115270e00111c0c0a11250b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211260a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1127034e070f1115270b0a111d0c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111c0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131122270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", "abi": { "address": "0x1", "name": "Account", 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 d9f5a737aadbd..8f16ef1ae25f0 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 @@ -2898,7 +2898,7 @@ } }, { - "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70ecf060da615040faa1502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a3215010100073301010003350808000636171800083718010005380f00000339080800093a010700033b0808000a3c1a110100073d010800023e011200043f04040006140007000640000800034108080009421d07001600171219121700170422002204010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f6578636565646564087769746864726177086275726e5f6665650a616464726573735f6f661072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360a62616c616e63655f6f660d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016380a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e000b0a111c0c070b07111d0e00111e0c060a0611090c090a0935070c23032e070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111e071b21030a0b00010708111f270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1120030507121121270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911230b0523030707181115270e00111e0c0a11240b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211250a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1126034e070f1115270b0a11270c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111e0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131121270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", + "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70edd060db415040fb81502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a32150101000733010100033508080005360f0000063700080006381718000839180100033a080800093b010700033c0808000a3d1a110100073e010800023f01120004400404000614000700034108080009421d07001600171219121700170423002304010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f65786365656465640a616464726573735f6f660a62616c616e63655f6f66087769746864726177086275726e5f6665651072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016400a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e00111c0c060a06111d0a0a260325070f111b270e000b0a111e0c070b07111f0a0611090c090a0935070c230336070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111c071b21030a0b000107081120270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1121030507121122270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911240b0523030707181115270e00111c0c0a11250b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211260a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1127034e070f1115270b0a111d0c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111c0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131122270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", "abi": { "address": "0x1", "name": "Account", 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 321c1a3ca405e..d5acd553b2493 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": "0x1306dcf002fc96be92fc2ec524cc3ee213aa181b5eae65c0b5e4d1b9fac6c0f9", - "state_root_hash": "0xedd396a49b46bbb1395bd74c0aaf22fd255fe406d41b2de66a5d71410640133c", + "hash": "0xdef3eb6543993b0451edfbe8437acdea8d382cdef5e60e046ea2a4026a234bfb", + "state_root_hash": "0xfcb4abb5da39de75d4481d96a25fa0c329115ced98682e8085f2702f62f39446", "event_root_hash": "0x00e4a5f379c8c2fe3f56611ad43c44cdd9625003a2ff022b48321eac6654f75e", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x03d20ce2d6b7e216ebb1b79d7eeb9a7ba63fa05dddfa921130bf0e10094ee251", + "accumulator_root_hash": "0x0cde6823260af0a4b8908c43b8b1444a43579b7a0bb0b4b254dd65ebb7611d18", "changes": [ { "type": "write_resource", @@ -292,7 +292,7 @@ "address": "0x1", "state_key_hash": "0x06eff6337a1042303cee13de653e47dfe6218d29fae2c589cbb7f62de9ec14e5", "data": { - "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70ecf060da615040faa1502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a3215010100073301010003350808000636171800083718010005380f00000339080800093a010700033b0808000a3c1a110100073d010800023e011200043f04040006140007000640000800034108080009421d07001600171219121700170422002204010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f6578636565646564087769746864726177086275726e5f6665650a616464726573735f6f661072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360a62616c616e63655f6f660d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016380a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e000b0a111c0c070b07111d0e00111e0c060a0611090c090a0935070c23032e070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111e071b21030a0b00010708111f270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1120030507121121270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911230b0523030707181115270e00111e0c0a11240b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211250a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1126034e070f1115270b0a11270c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111e0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131121270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", + "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70edd060db415040fb81502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a32150101000733010100033508080005360f0000063700080006381718000839180100033a080800093b010700033c0808000a3d1a110100073e010800023f01120004400404000614000700034108080009421d07001600171219121700170423002304010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f65786365656465640a616464726573735f6f660a62616c616e63655f6f66087769746864726177086275726e5f6665651072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016400a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e00111c0c060a06111d0a0a260325070f111b270e000b0a111e0c070b07111f0a0611090c090a0935070c230336070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111c071b21030a0b000107081120270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1121030507121122270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911240b0523030707181115270e00111c0c0a11250b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211260a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1127034e070f1115270b0a111d0c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111c0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131122270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", "abi": { "address": "0x1", "name": "Account", @@ -6349,7 +6349,7 @@ "address": "0x1", "state_key_hash": "0x06eff6337a1042303cee13de653e47dfe6218d29fae2c589cbb7f62de9ec14e5", "data": { - "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70ecf060da615040faa1502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a3215010100073301010003350808000636171800083718010005380f00000339080800093a010700033b0808000a3c1a110100073d010800023e011200043f04040006140007000640000800034108080009421d07001600171219121700170422002204010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f6578636565646564087769746864726177086275726e5f6665650a616464726573735f6f661072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360a62616c616e63655f6f660d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016380a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e000b0a111c0c070b07111d0e00111e0c060a0611090c090a0935070c23032e070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111e071b21030a0b00010708111f270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1120030507121121270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911230b0523030707181115270e00111e0c0a11240b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211250a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1126034e070f1115270b0a11270c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111e0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131121270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", + "bytecode": "0xa11ceb0b050000000c01001602160c0322d60104f8010e058602a80107ae03fb0708a90b2006c90be8020ab10e260cd70edd060db415040fb81502000100020003000400050006000700080009000a000b00010c00000c080006340400000d000100000e000200000f0002000010030400001101050000120005000013060100001400070000150004000016000800001709010000180a010000190b0100001a0a0100001b020100001c030100001d0c0100001e0d0100001f0e0100062c0f0100032d080800032e080800012f110401000a301308010005310f14000a32150101000733010100033508080005360f0000063700080006381718000839180100033a080800093b010700033c0808000a3d1a110100073e010800023f01120004400404000614000700034108080009421d07001600171219121700170423002304010500020c0a0202060c0a02010a02010c050c03030303010101030a060c050a020a020a020a020a020a020a0201070c030a0203030302090c030a020a050a0a0203030302080c030a02030303020a02030c0301050c030a02030201060c020a020c01060900010201060a090001060502070a09000a09000607080005080203030302060c03010802050303050608000a0202060a09000304030306080005020708000501060a020747656e65736973074163636f756e740342435307436861696e4964064572726f72730448617368065369676e65720854657374436f696e0954696d657374616d700e5472616e73616374696f6e4665651b5472616e73616374696f6e5075626c697368696e674f7074696f6e06566563746f7218436861696e53706563696669634163636f756e74496e666f0e6372656174655f6163636f756e74176372656174655f6163636f756e745f696e7465726e616c186372656174655f6163636f756e745f756e636865636b6564196372656174655f61757468656e7469636174696f6e5f6b65791d6372656174655f636f72655f6672616d65776f726b5f6163636f756e740d6372656174655f7369676e6572086570696c6f677565096578697374735f6174166765745f61757468656e7469636174696f6e5f6b6579136765745f73657175656e63655f6e756d6265720a696e697469616c697a650f6d6f64756c655f70726f6c6f6775651b6d756c74695f6167656e745f7363726970745f70726f6c6f6775650f70726f6c6f6775655f636f6d6d6f6e19726f746174655f61757468656e7469636174696f6e5f6b657922726f746174655f61757468656e7469636174696f6e5f6b65795f696e7465726e616c0f7363726970745f70726f6c6f6775651177726974657365745f6570696c6f6775651177726974657365745f70726f6c6f6775651261757468656e7469636174696f6e5f6b65790f73657175656e63655f6e756d6265720c73656c665f616464726573730b6d6f64756c655f616464720b6d6f64756c655f6e616d65147363726970745f70726f6c6f6775655f6e616d65146d6f64756c655f70726f6c6f6775655f6e616d651677726974657365745f70726f6c6f6775655f6e616d65196d756c74695f6167656e745f70726f6c6f6775655f6e616d6512757365725f6570696c6f6775655f6e616d651677726974657365745f6570696c6f6775655f6e616d651663757272656e63795f636f64655f726571756972656408726567697374657211616c72656164795f7075626c697368656410696e76616c69645f617267756d656e7408746f5f6279746573066c656e6774680e626f72726f775f6164647265737306617070656e640e6173736572745f67656e6573697304436f696e0e6c696d69745f65786365656465640a616464726573735f6f660a62616c616e63655f6f66087769746864726177086275726e5f6665651072657175697265735f616464726573731169735f6d6f64756c655f616c6c6f7765640d696e76616c69645f737461746506626f72726f770b6e6f775f7365636f6e64730367657408736861335f3235360d6e6f745f7075626c69736865641169735f7363726970745f616c6c6f776564000000000000000000000000000000000000000000000000000000000000000103080000000000000000030807000000000000000308060000000000000003080400000000000000030805000000000000000308030000000000000003080a00000000000000030809000000000000000308020000000000000003080b0000000000000003080100000000000000030808000000000000000410ffffffffffffffff00000000000000000308ec030000000000000308ef030000000000000308ed030000000000000308e9030000000000000308f2030000000000000308f1030000000000000308f0030000000000000308f4030000000000000308f3030000000000000308eb030000000000000308ea030000000000000308ee0300000000000005200000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000010520000000000000000000000000000000000000000000000000000000000a550c18000203200a02210322050102092305240a02250a02260a02270a02280a02290a022a0a022b010002000005070b001101010c010e011113020101000001180a00290020030707001114270a00071922030e07031115270a00071a22031507021115270b001102020200000010170a0011050c020e0038000c010e01380106200000000000000021030e07051115270e020a010600000000000000000b0012002d000b020b01020300000004110b010c020d020b001118380038020e02380106200000000000000021030f07051115270b0202040300000507111a071a1102010c000b000205000200060000010016400a030a0426030707041115270b030b04170c080a02350a083518070c2503160704111b270b020b08180c0a0e00111c0c060a06111d0a0a260325070f111b270e000b0a111e0c070b07111f0a0611090c090a0935070c230336070a111b270b062a000c050b09060100000000000000160b050f0015020701000001030b00290002080100010001050b002b0010011402090100010001050b002b00100014020a01000001170a00111c071b21030a0b000107081120270b000b010b020b030b040b050b060b070b080b0912012d01020b00000100010e1121030507121122270b000b010b020b030b040b050b06110d020c00000100193c0b000b010b020b050b060b070b08110d0e0338030c0a0e0438040a0a21031307141115270600000000000000000c090a090a0a23031a053b0e030a093805140c0b0a0b11070325070d1115270b0b2b000c0c0e040a093806140c0d0b0d0b0c10011421033607101115270b09060100000000000000160c090515020d000001001b5911240b0523030707181115270e00111c0c0a11250b06210311070e1115270a0a29000317070d1115270a0a2b000c090b0211260a091001142103260b090107101115270a0135070c2303300b09010715111b270a010a0910001426033b0b090107171115270b010b0910001421034407161115270b030b04180c080a0a1127034e070f1115270b0a111d0c070b070b08260358070f111527020e0200010001040e000b01110f020f010001001c190b00111c0c030a031107030907001128270e01380106200000000000000021031107051115270b032a000c020b010b020f0115021000000100010f0e071129030607131122270b000b010b020b030b040b050b06110d02110000000103070b111527120000000103071111152700010000000000", "abi": { "address": "0x1", "name": "Account", 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 ce8df60c3cf85..7549536e1219b 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": "0xa7ec7246c510563a87141e5936b16a02d4acff7cb29b9cdbaf5bcd7772bd1dfc", - "state_root_hash": "0x12fc3b94ad3254f5f9ac4b0040247830939dd8e744f89b11d297db64f1d2eaac", + "state_root_hash": "0x1eb43d779d375eb5e708ccad320b26f017b19f612f37e6dc7762af656f41783b", "event_root_hash": "0x8f0766912895669a4ab13dc38d57a4975aa4e0676511146ff18b656b09775fe2", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x4d0f4e03de2dfc02d0086ba806903e3a291a88e45968ad98bce5f1d92853e118", + "accumulator_root_hash": "0xdabd7c814d96905c77640990324b3bcba48702c8ba578be80dc5926bc601491e", "changes": [ { "type": "write_resource", @@ -56,12 +56,12 @@ "type": "user_transaction", "version": "2", "hash": "0xab573777842a7e334ebe7c269717baa8a7bc4bdf28cdc2d288099ef267f09ccd", - "state_root_hash": "0xf3d812fff4e82f6fc62956c31c95ce761112e75beef5a9d4ccf6910e8a4d3f7b", + "state_root_hash": "0xb42d22a6cacf76f81593dc5b67e7768da172ac91856af35ae49cfbcc2ef0c282", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x099497d871bdf89ce237b5d293940704edc2b6249a3b70ea09a160b00ed6fb78", + "accumulator_root_hash": "0x2ac36e8dea6689f8c258bb6a8e92c4aa53eccb70258c75a862fc4b17668d6cee", "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 3ea91d25e0c3c..f04c4662b445e 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": "0x95fe733442c49587cba7fb2168f8624c1a8702a3df1a523ed051245ac82ff360", - "state_root_hash": "0x2efdee6377807804fc583f26dd2af51f2d99dec8189210ca98b239acc08caee0", + "state_root_hash": "0x77e5fc1dd8e0c3885fa8b163f87c340914d74520b74ad72e8d8f6ac04a0623ce", "event_root_hash": "0x00f4be2b2f492947f22b5ea8bd79755813f12fc0a5b4384d5c047e9c04fa8b7e", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x8a92b2d628a1098a248ec496502d3a2983e63a8149e7b8a78ce05ec622f823be", + "accumulator_root_hash": "0xd5bd503bbbdce67ef19d2e67a654e05a9cdb1f7a63c836420062f37d3b943165", "changes": [ { "type": "write_resource", @@ -56,12 +56,12 @@ "type": "user_transaction", "version": "16", "hash": "0x6e0f883b7836fb7754705b117e564fd7c27b81096ca10c89581be51ae96b668c", - "state_root_hash": "0x3b2352cc08e32cf2094501efe3055abb207baee9b7553016886ac82336c4cc5e", + "state_root_hash": "0x4e518a9e462e71d3fb75d96b91c327d3284310898aaf64f02d064ac5a21be287", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x063c0354098050a01e3e10c152299f6a9311d8a25126bac6825c9e3ca27c0864", + "accumulator_root_hash": "0xbb26b5356b94779310b5c23b5a38bcff9fca4514c22e221ba3535f3b7337c7ee", "changes": [ { "type": "write_resource", @@ -186,12 +186,12 @@ "type": "block_metadata_transaction", "version": "17", "hash": "0xe8b07b9f3ea72c471bcd45010d2340053d353323ee0c883cef77ab8952971d05", - "state_root_hash": "0xc249fcc154933a9c62fe6daad7b39be0ba0f996d9d1b816349f2b77761d61559", + "state_root_hash": "0x39683fd72e325c1e864d36ec3cf4736428cb5631e1bfcb8280d2965b7cb68d42", "event_root_hash": "0x8be2089b57dba8b89ac952034ed9e55a08f908f588b45f6830723bb1f17803de", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x9d62342e4f8cab2b3c7db42de29325da982321e90db149ecc0698d23ee860d9f", + "accumulator_root_hash": "0xf1cf3a7a163041ed4b3ffef3a3728d07cb12bb404626387d84b1831d8a33ec51", "changes": [ { "type": "write_resource", @@ -239,12 +239,12 @@ "type": "user_transaction", "version": "18", "hash": "0x53200ede246316ce3c6cef72b9bfe2993cac924115c49f4ef740a63f681ea4c8", - "state_root_hash": "0x0c8edd549cfab08c09707162bc0ae4aee7e10dfe24f6906affe0889ee524561d", + "state_root_hash": "0xa76688e26b5897c2ba23f26657e7afcc974d5fbbe05e70eb722bcf249334bcfd", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x0db12c527e9ce36a142557e2d6c393b40a2eed403db2a7009e959d0bcc6c5cc9", + "accumulator_root_hash": "0xdd84790203dffc3eb49e6525400e251aa97a51aac13e53eea9e40e4b97b2aac7", "changes": [ { "type": "write_resource", @@ -369,12 +369,12 @@ "type": "block_metadata_transaction", "version": "19", "hash": "0xea8616c7dac93060cc7bbdba4e6a77bee79393e3900bd4c9663398e786c9764e", - "state_root_hash": "0xb5c4405e752974a8b65a903572097a2a5a4378e4521607e1a1286030c0d8e2b1", + "state_root_hash": "0xe37a4bacdfd4d46d9a356bba8db725c71d244463b4798fbf8cb2394942696e62", "event_root_hash": "0x2f8f00548df7c14e932e9107df08462517f77310f66b404314c507cc56f664b9", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x4dd7f91ba8ee2b20c69a21a6b375935ddd8ae60b7597edc0e3ca9aab6544237c", + "accumulator_root_hash": "0x7591482a13b797ce741a5a61ea3258f44afea60ae9245db8344c4ef40f15271c", "changes": [ { "type": "write_resource", @@ -422,12 +422,12 @@ "type": "user_transaction", "version": "20", "hash": "0x46a140965a302e8102fa8e125522be7a97a5983592fa71de26fca852d9553d80", - "state_root_hash": "0xcf370eb59eccc017fd6f9d55aa199578dc98bd93197a40a678ac6532617bb1e9", + "state_root_hash": "0x3a6ac8bb6b1114c1f19febba5667d88fd13bbd04da69d0d5b2a59fedec9449b3", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0xd1bcd7e837f6ebe9b793222165ec7a40faaf7d48050bf3d666e1268b4a584ee6", + "accumulator_root_hash": "0xffa829a6fca5a9546a29ff278acb903796f861451449de38e83c5154418048a6", "changes": [ { "type": "write_resource", @@ -552,12 +552,12 @@ "type": "block_metadata_transaction", "version": "21", "hash": "0xf3c3996db19823934991f4070cc2ec2ffcbf491d8eec55dd546126fb71f3c48a", - "state_root_hash": "0xb0e86059dae64c8ec1b4218f05ed9a9ff1dc6d518bf25725ee3a9fe4cb91f5fa", + "state_root_hash": "0xe1df844b2315e00739755d64d99dd967c6c3fb94ae35e47699d3ae3a8aff0d10", "event_root_hash": "0xc7ed592a3571a946274c6c26c276fdaa5befc4fbf80896092f62e6e2a168825e", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x36a9a8415c4cb1e005d30fe352a86e86ec188dde1ac8283035f2b4994a870077", + "accumulator_root_hash": "0x4ebc23adb7d124772d27842f837f2b70b207d0dd5152e99d0a873e22d75448b5", "changes": [ { "type": "write_resource", @@ -605,12 +605,12 @@ "type": "user_transaction", "version": "22", "hash": "0xa7604fcd2c9ff3ba1d8d525881e32138f8e0617240740ca589a47091e8f177ab", - "state_root_hash": "0x2eea911c5c55b47cdfa283901e975b3d325e17af627635253ce4501fab4d7449", + "state_root_hash": "0xc8837fa854504bf77411f88b32b5c44be115162287428718e961ede2fbd23271", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x558eedb506d56f09f7d2f36f4b82889b709752aa40b727471c4cc8a3a0f1a5ea", + "accumulator_root_hash": "0x27f8534b15a29bebe0b5549b8b054540cd264127a700df0c40d2634cdd3cdcb5", "changes": [ { "type": "write_resource", @@ -735,12 +735,12 @@ "type": "block_metadata_transaction", "version": "23", "hash": "0x4e3271a4018b5d49def4362bdd1791e7fe531cd90f28865998281dfdbbc0f9dd", - "state_root_hash": "0x629663a356faa03744125b0e48ceeeadc7e0600180e63a0f3fbabc9e9c886d72", + "state_root_hash": "0x81d9777ea2e443a988c91d1d394f21e35017a7ac16dd0c050c72777117ba9fd3", "event_root_hash": "0x64f52805c510a39377027dbbc4807cd99ded8153a99bc827bc4cb914b6c85fa5", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x6e440e3cf8e96046059a532b95dc072c50d967de82d45f6007b19917eb7ed636", + "accumulator_root_hash": "0x9fb078e9840bb62080828094850795474651f416506bea55316af425a2a5b6f5", "changes": [ { "type": "write_resource", @@ -788,12 +788,12 @@ "type": "user_transaction", "version": "24", "hash": "0xb28dc573cc2e9cff302a238fe6761a375edfdd345d603eacb58657d04a2bd5cd", - "state_root_hash": "0x2b804fa150a863b5bea032b678c68f72d055df410005ffccb5fb89eb3c89b664", + "state_root_hash": "0x70c40c250a658708b6e0aea0cbaf4f0d3df941887f9f96996e6c52d87a833aba", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x378d284df5375fc289a060a5659d8683327a9705975a3b7de3df1177f2c15ec9", + "accumulator_root_hash": "0x362f55dbe9df293e37168b34f1ef946ef7bbbb0befafa9f1bf940f011486ef89", "changes": [ { "type": "write_resource", @@ -918,12 +918,12 @@ "type": "block_metadata_transaction", "version": "25", "hash": "0x58adfb0827e61a944dd3e53fc9453f2826c53d37bfe94e6edfdb575703b6e4cd", - "state_root_hash": "0xb7fab7a910907596c3b024651450f1c54ce2b753933e6c0426060b3caaa1909c", + "state_root_hash": "0x92a01734d2627e9d4ff382fe8d3cc1d9ebf11ceae7b0b219cc433924b8f9c002", "event_root_hash": "0x737bdbecd6b8cbe14506805ef52edf902620dfd849ac40d7d41151e6508386c6", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x0f317330c4c0f6c110e308a5518681dd38028db6942b9304d6b505e7ab256a85", + "accumulator_root_hash": "0xa8cc9cbfcbdcb134d6dd45e3447dce9ba875018ffa6bf2902db398faac5cf789", "changes": [ { "type": "write_resource", @@ -971,12 +971,12 @@ "type": "user_transaction", "version": "26", "hash": "0x355b727e4d5ea72b717c2efbe36861bb524f523597e6df13fcefd2efb20ddd7f", - "state_root_hash": "0x2c5deaf457369aa41ca8f0ac20fcdb9ba20a2923a8b714aab4fdab77c6832668", + "state_root_hash": "0x9d8361e7fb9a97839a87f494402d9dff86a254f060d9f7d6f0999dd3fd2fbfe4", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0xab11cd98041404d7f81484cecb9d5e88dad34100a84a93025fe7828c4b880774", + "accumulator_root_hash": "0x80114cd02d1930f8c5a5a833c1df2379669b5b16f8168333b04c25342520af55", "changes": [ { "type": "write_resource", @@ -1101,12 +1101,12 @@ "type": "block_metadata_transaction", "version": "27", "hash": "0x9833d7913cbd4dbdad8ea68aff5d8a23ade8b264e2a6b21f84d0792f320f5ccb", - "state_root_hash": "0xff1711ba43788e68cc7db0192bb3834e5ea7708de2c10ed11f7702580fc633ae", + "state_root_hash": "0x6c52c31e4e802517b4e8822ae6f1d9b63d4196de031b21dee75969666d311de2", "event_root_hash": "0xb0a620af961d760d6d4dfd62eb3920266486666dd4038fc98eb3d0502d3c6498", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x3f851963ec09dc14ab1f6c684e434ac624c6e294249eddc226989fcd412451a5", + "accumulator_root_hash": "0x8dc9b2c2efaa3a6bfc12a07cc541a6f53cab215c164c2924133595122ed7bc63", "changes": [ { "type": "write_resource", @@ -1154,12 +1154,12 @@ "type": "user_transaction", "version": "28", "hash": "0x47bb426e1538ad50997dc01d5fc80507416149f0c68d1a64bae0b1ec29e5ec9b", - "state_root_hash": "0xdd21692307b006a3b0381347d7d7dd19a18096ab8d64d74e86e90e580996ae5a", + "state_root_hash": "0x2120dc6d6254d4db7df9831c85b1ee0d889e81b02c593ebe7ba9e5b972136eab", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x15faa715f5d2ab4d7f631dfa23e748148e49c1c1655266ebbd360528a9e97f5c", + "accumulator_root_hash": "0x1e4145ead12ad838ebbc8a140f1cc416ecfbfee7add3149819043eac88cb7c83", "changes": [ { "type": "write_resource", @@ -1284,12 +1284,12 @@ "type": "block_metadata_transaction", "version": "29", "hash": "0x06c9e7aaf440f8996e95ce6de75e24c95cd06748fa54a6aab65add6fc01e7e22", - "state_root_hash": "0x3eac45bef91e44a9d8032013f659c14b811fe9bf3a4e7a7060f8f514ae6619d9", + "state_root_hash": "0x0dd4244c454293b742de54b0e1b429181de71d18a43039c10f2edb09edd91425", "event_root_hash": "0x4c47fe255a59e7efbca9e6d94c85add232642b13da749789115b8ad5cf837300", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x9c1127f82697f3191ea37ff3f94d516cb1b7fb88670767e29312234a65a9d51a", + "accumulator_root_hash": "0x812a95f2f9a4433ed50790fdf01535d0bb9208566f4c5b9edd3bb55210ddce48", "changes": [ { "type": "write_resource", @@ -1337,12 +1337,12 @@ "type": "user_transaction", "version": "30", "hash": "0x3380e61cdbb0aaa0d55cc58cdd782095925bab5c7a2fc01eea077df28217a00b", - "state_root_hash": "0x8d684ae5cb3416ea062f11c219ea03d408c1261d8b8e959000171ec2ea63c412", + "state_root_hash": "0xbd7048b5cf88c59295b843e171e237789567efb312598507da662a01b0490790", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x000a999e09a15b8df619cd2da946a51a6a6d4d0ecb77de17e21fca8deaa654da", + "accumulator_root_hash": "0xab3a587e05eda80d32713c4d45e64423fddad910c503228aa8658c1738dee7bd", "changes": [ { "type": "write_resource", @@ -1467,12 +1467,12 @@ "type": "block_metadata_transaction", "version": "31", "hash": "0xaf8557fb101eacddb0be3c9fbdbf199837d5e8f451e8a60bf74f37b3dea583c0", - "state_root_hash": "0xc46ca829e1199031af31a11984065756b8bd35343ed168bb6a7a6e472ddf35e7", + "state_root_hash": "0x73ff249f465c2a4073b54c538c0e25c96bc7bae742d98249f2fa8e60aeac769f", "event_root_hash": "0xdd83acc3ff8d14d6ba723e89680adab35ec16d74cddc4265ab63e7ed23f3913e", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x215b0bfad61d045ee83c31dad58c588bf01408b73f831fde4b103d75bca7bc4e", + "accumulator_root_hash": "0xcdf7c2a52eec26b85e54a98d893f6f6179f21c92fb1dd4c0d78c38992cf5f7ca", "changes": [ { "type": "write_resource", @@ -1520,12 +1520,12 @@ "type": "user_transaction", "version": "32", "hash": "0xdb52089fb4eb92c51609fc7d062ad940af24f3af601abcea1342e51a090881e0", - "state_root_hash": "0x3241e074ce8e47cd7eca687ba6bfeb70ae96e6176284c14a5b25e75d1d25d2f8", + "state_root_hash": "0x26b42901dcfcf3c1032d1122e2a146412e1fd469da5fefd51adbe8d6fe996ad7", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x93398f8cac30f66431abbcbd343ee92d3baef5b062388ea916482a0be7b63f67", + "accumulator_root_hash": "0x0b728d53326140c70ad7b90196b9491af60a1c2678f62a5af8643616360cbe54", "changes": [ { "type": "write_resource", @@ -1650,12 +1650,12 @@ "type": "block_metadata_transaction", "version": "33", "hash": "0xd178ca965a3aab67aa85195e6429c2ae8d5aa8c8b5bd2328d2aed35a7f0c5ac4", - "state_root_hash": "0xe6e6f8ba81d7345457daf8b83abdf16b16306d041a18d925867fcbdcdc801590", + "state_root_hash": "0xe7604fd9bd789593fe74bc28e1e4ba5171d50fd1973ccfdcc95bb25e7256ced8", "event_root_hash": "0x01838a0322df79191c476cb3e5f577a6bf8d2ba7176a51fb4a1637ba4034364d", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x0f447e374b023490fcb934b5f6fd1326c237d1d6a23d6874904c315bcdd24a6e", + "accumulator_root_hash": "0xde2774a64158f90883bb8a705ecccb40214b61c1372e417a52d80d5fee3b51fd", "changes": [ { "type": "write_resource", @@ -1703,12 +1703,12 @@ "type": "user_transaction", "version": "34", "hash": "0x97848ed34ed82dc04d61248c1ff7b7f1306013cbeaa683624d60a975a4ac2c6b", - "state_root_hash": "0x77f229735fb792ba72a4726969ebf08f16f4503288f4b228cac608eec2c52ba8", + "state_root_hash": "0xce16907cddda3b68fcdd65ae14a3bf977b0cdd409bc01b852680d6bb537c38be", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x2787b5611a5603223a1363342ce296711736eb63ef190ea65fca5d728178c7fa", + "accumulator_root_hash": "0x1b8aa7d8eac5dceb6f0ec0a8cb929c63bb09d45076ece2f22cbdc63132f79b91", "changes": [ { "type": "write_resource", @@ -1833,12 +1833,12 @@ "type": "block_metadata_transaction", "version": "35", "hash": "0x3a6d20a898271020a83681d1f68505d97795a719071eb3ce7cf697ee23bbd497", - "state_root_hash": "0x537c01309a8ddae4802bdef560dd9150e5c6663572e11a135c49993e1c7d6dbe", + "state_root_hash": "0x195329898930f21484f8cf2e47a7266307d9d7bf78e298703f4cf62539c75e68", "event_root_hash": "0xf8675e328e8c0ea4219fa8eccb57bf80f0c7f70a7822b7385ec24f34f88c3177", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x39150fd2cc16713d4749ef3f593cf6a2cbb2d12deb366f7bcde11e6a00773596", + "accumulator_root_hash": "0xc9b9e5b337e60eea02d9ccc961b0fedc2d8c7091da48185c5361ae7b0844e5b7", "changes": [ { "type": "write_resource", @@ -1886,12 +1886,12 @@ "type": "user_transaction", "version": "36", "hash": "0x96022a231d06b0f3eeedc73ecffbf9c57502130305eb9659c050992f8f48689a", - "state_root_hash": "0xc1a2b5af1c9b8d8b5bd5517cec7a31cc623227d0a37e8ac69a3b75fd142ca364", + "state_root_hash": "0x244a911abb5360b69d25d5cae7c2496524855eef3d51b8b7c2b5d3c4324f9faf", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0xa61ea79cdd9da34507d510632d4de7a0d68042fae3d170d1687a28c74091972d", + "accumulator_root_hash": "0xab72a0da9287acd1a8d8a8529a1ac754a0ad86f3894fc0b63e906dfe15bc3878", "changes": [ { "type": "write_resource", @@ -2016,12 +2016,12 @@ "type": "block_metadata_transaction", "version": "37", "hash": "0x0a95d663cdb81f01099076c58da5359d6278a337f657b34207353589271e4443", - "state_root_hash": "0xa2a986c3cc35ecbb0aa1a2aa6b4593a6f1760fd5ac45969dcbeb50ad0d57ba85", + "state_root_hash": "0x2e139f48700e7bc069111d773b9e61df005590283aaa65d0147ebf35623d1fc8", "event_root_hash": "0x225122a548485030bf4b0870fb9ddc5a61ae3e015851398ba18700b6410b39cc", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x6cb6bd57c4b131a41163f705c558d83c38c3ae8b3dddf94c07eb32893f4df237", + "accumulator_root_hash": "0x6ac0daf6f672a84a8ff2bc98b7ac4116ea747504e167eade9041a18a8a788e4f", "changes": [ { "type": "write_resource", @@ -2069,12 +2069,12 @@ "type": "user_transaction", "version": "38", "hash": "0xae4894c8fe6d09fa65aa46d86f4c5cc2feff613007b6bb3a8063453f4bf42b10", - "state_root_hash": "0xfaf45712a0134ddd6a4651a2188ee3225301c84ecb842de72a7dc37e9ea6f4ee", + "state_root_hash": "0x202b22960ad28c8d6ce68f1a61987f88aa8357138ce4f5643bbec6a03639b876", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "92", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0x512214054030a5e9bee97bedc59c4aac590723e29a4b621eff1883ebe7548360", + "accumulator_root_hash": "0xc6e902cae1005cff37270dd588b38812f59bb91f47d62cdc31a31204bcf4e226", "changes": [ { "type": "write_resource", @@ -2199,12 +2199,12 @@ "type": "block_metadata_transaction", "version": "39", "hash": "0x34976738d868149ffbb97f79b10dbdbb3da6273478c7331355b757b5fff06e60", - "state_root_hash": "0x7759afc6dc120b3daa29889bef659dedf051928d9766ecb4d7edd9b6de6de858", + "state_root_hash": "0xc8a8ecd5ae208b8e15ef5c9d299fa127a826af59cc59c4c490858758ed66927c", "event_root_hash": "0x0342584a282b91b1160ab81c54da19c7166d9b3dc20135308583d79cdaaa5165", "gas_used": "0", "success": true, "vm_status": "Executed successfully", - "accumulator_root_hash": "0xd7f95f15e956fb990af7f12ec9e9fd8945e02e5664f2f343a34441663683af69", + "accumulator_root_hash": "0x9099c735482c2777463fb590298fb8b50ce573ce48283ab837e9bd1f8b155e2e", "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 3bca32694a9c7..270c2721a9aba 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": "0x92227dd758094fca1efa07a1316d3fede8dd9ebd0eff8f90ed55d288787de528", - "state_root_hash": "0xc8f134b5401270b473ed503db7724ec3326baff78f8c71f5ccce39451bcb9635", + "state_root_hash": "0xcd0ab7e66b72e3d3b26375bdd125bb7e15213d67a63b04f0ed1a70d61d459d3a", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "1", "success": false, "vm_status": "Transaction Executed and Committed with Error MALFORMED", - "accumulator_root_hash": "0x83365487d9ebd71f8187aa263a8f89673d8c7c7f35b4d44edc51b618e3e187e2", + "accumulator_root_hash": "0x23d57730af69ba6e22bb394aa3e811682438e6ab658a79567bb14304dd09cf26", "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 c41f1c87dc181..a003228222920 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": "0x247ddbc48e7a7ae25419fcdba2d3ee47c822fa86817bd63a071bc46e1021ce8b", - "state_root_hash": "0xc8f134b5401270b473ed503db7724ec3326baff78f8c71f5ccce39451bcb9635", + "state_root_hash": "0xcd0ab7e66b72e3d3b26375bdd125bb7e15213d67a63b04f0ed1a70d61d459d3a", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "1", "success": false, "vm_status": "Transaction Executed and Committed with Error LINKER_ERROR", - "accumulator_root_hash": "0x7074319879ab2797cc11a0b0baf8aba5ba7b44a206a0a63820a4b9390556f032", + "accumulator_root_hash": "0xb4cd5fd484b88ff708a4dd14982d38c871a4d52bc489411e176188cda60fd2cc", "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 1b4fcca2a2e3b..acc88414f3a48 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": "0x02aa80c427a672ff050f2feccfdd8b26ccd0e71a6933aa159d6910d38695eb22", - "state_root_hash": "0xc8f134b5401270b473ed503db7724ec3326baff78f8c71f5ccce39451bcb9635", + "state_root_hash": "0xcd0ab7e66b72e3d3b26375bdd125bb7e15213d67a63b04f0ed1a70d61d459d3a", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "1", "success": false, "vm_status": "Transaction Executed and Committed with Error FAILED_TO_DESERIALIZE_ARGUMENT", - "accumulator_root_hash": "0xd4207362eabcdda98888203505c1e41468964f2641964fa490f1d7dd0af514c6", + "accumulator_root_hash": "0x505abf2d83bf90fa508150166ad044b5df13dbc6425a5588a387bd5c8482c20c", "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 f67e1341e7fa2..54d99b5816484 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": "0x482239a738fb8f7c9cf0f96a6e20bb75d69ef328cacc6b52ef5f74d28fd27ce3", - "state_root_hash": "0xc8f134b5401270b473ed503db7724ec3326baff78f8c71f5ccce39451bcb9635", + "state_root_hash": "0xcd0ab7e66b72e3d3b26375bdd125bb7e15213d67a63b04f0ed1a70d61d459d3a", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "1", "success": false, "vm_status": "Transaction Executed and Committed with Error LINKER_ERROR", - "accumulator_root_hash": "0x73580b0bdb79be5abd26a33e0e110e289bf330c74eec9cc0e2e3b64c1049ce21", + "accumulator_root_hash": "0xf11eaa489caf5034d337b9c8cc78e08c0cab18f1391e93ae4c2d95821bb9b86f", "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 25f748ee4aa02..ee1924f54c5de 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": "0xb0fe2740ac760ccdfd8dd7cd33a95e8da3a40daeefb0f9c0ebb963b9b07c530a", - "state_root_hash": "0xc8f134b5401270b473ed503db7724ec3326baff78f8c71f5ccce39451bcb9635", + "state_root_hash": "0xcd0ab7e66b72e3d3b26375bdd125bb7e15213d67a63b04f0ed1a70d61d459d3a", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "1", "success": false, "vm_status": "Transaction Executed and Committed with Error FUNCTION_RESOLUTION_FAILURE", - "accumulator_root_hash": "0x2727568075285e1fc60fba087fb1c4e2cd78a9b2cd9765a0546f693178fc76e2", + "accumulator_root_hash": "0x9d336a2b964ce9db8715b4636f2dbe477a9c2241b1151a5d048951fdba90f40f", "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 e1d68f2e9e3a5..01344912a4d0b 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": "0xcbdb69429665e6815b49119ed46e86cb059151be73c762f0daada3b56cee6d22", - "state_root_hash": "0xc8f134b5401270b473ed503db7724ec3326baff78f8c71f5ccce39451bcb9635", + "state_root_hash": "0xcd0ab7e66b72e3d3b26375bdd125bb7e15213d67a63b04f0ed1a70d61d459d3a", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "1", "success": false, "vm_status": "Transaction Executed and Committed with Error CODE_DESERIALIZATION_ERROR", - "accumulator_root_hash": "0xc1f30449cb990b30c1a14404bdf1f6a860bf7e761bcace21b896ae2041ad58b2", + "accumulator_root_hash": "0xe56ebf1598fb2fd967d0e59724c429188afa7722e798afbeb5c961e9bef99a63", "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 5dbad5c0fd2b8..a5a9f8a3e78b8 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": "0x84f76218c265cde5a994b42621613ac6c2496d383c3ed1e2a525d455f49411ec", - "state_root_hash": "0xc8f134b5401270b473ed503db7724ec3326baff78f8c71f5ccce39451bcb9635", + "state_root_hash": "0xcd0ab7e66b72e3d3b26375bdd125bb7e15213d67a63b04f0ed1a70d61d459d3a", "event_root_hash": "0x414343554d554c41544f525f504c414345484f4c4445525f4841534800000000", "gas_used": "1", "success": false, "vm_status": "Transaction Executed and Committed with Error NUMBER_OF_ARGUMENTS_MISMATCH", - "accumulator_root_hash": "0x3a2fdbf1e39fec4d6f5ca3760b56e6d6912e303542148bd13c716941267c8d2c", + "accumulator_root_hash": "0x532f06e0cc20601288ff678e73cf5220eff0520751d8434c78cc834c587afa06", "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 a27145105fc8c..4ddf92de89b61 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": "0xb60f7bb176918849ad6f73c01695881dd1c1aa074d766174a5a6e43e7b8c557c", - "state_root_hash": "0x989b8988cba89d8576c4dbf06ad3b7eb718b2e5ecb0c94219f0746b2fbcab92d", + "state_root_hash": "0x00c047280fc0bc192bd68a9522b2b29a7a4a73b4ac3288849b81717ea08782f7", "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": "0x67d596953ae7f6b8db109af1a317d98e92709d6a154969ee3d5253505a5b5991", + "accumulator_root_hash": "0x6bc86920e6e7a6f8e4faf28ffc83422ad8577d0b6dd7035b817d2c72c60454cf", "changes": [ { "type": "write_resource", diff --git a/aptos-move/framework/aptos-framework/sources/Account.move b/aptos-move/framework/aptos-framework/sources/Account.move index 322aa2a6d4497..5ba9fd3b5d70e 100644 --- a/aptos-move/framework/aptos-framework/sources/Account.move +++ b/aptos-move/framework/aptos-framework/sources/Account.move @@ -323,10 +323,13 @@ module AptosFramework::Account { Errors::limit_exceeded(EGAS) ); let transaction_fee_amount = txn_gas_price * gas_used; + let addr = Signer::address_of(&account); + // it's important to maintain the error code consistent with vm + // to do failed transaction cleanup. + assert!(TestCoin::balance_of(addr) >= transaction_fee_amount, Errors::limit_exceeded(PROLOGUE_ECANT_PAY_GAS_DEPOSIT)); let coin = TestCoin::withdraw(&account, transaction_fee_amount); TransactionFee::burn_fee(coin); - let addr = Signer::address_of(&account); let old_sequence_number = get_sequence_number(addr); assert!( diff --git a/testsuite/smoke-test/src/aptos/gas_check.rs b/testsuite/smoke-test/src/aptos/gas_check.rs index 9c5ca08114738..abee05c7c27a3 100644 --- a/testsuite/smoke-test/src/aptos/gas_check.rs +++ b/testsuite/smoke-test/src/aptos/gas_check.rs @@ -19,7 +19,7 @@ impl AptosTest for GasCheck { async fn run<'t>(&self, ctx: &mut AptosContext<'t>) -> Result<()> { let mut account1 = ctx.random_account(); ctx.create_user_account(account1.public_key()).await?; - let account2 = ctx.random_account(); + let mut account2 = ctx.random_account(); ctx.create_user_account(account2.public_key()).await?; let transfer_txn = @@ -35,6 +35,19 @@ impl AptosTest for GasCheck { assert!(format!("{:?}", err).contains("INSUFFICIENT_BALANCE_FOR_TRANSACTION_FEE")); ctx.mint(account1.address(), 1000).await?; + ctx.mint(account2.address(), 1000).await?; + + let transfer_too_much = + account2.sign_with_transaction_builder(ctx.aptos_transaction_factory().payload( + aptos_stdlib::encode_test_coin_transfer(account1.address(), 1000), + )); + + let err = ctx + .client() + .submit_and_wait(&transfer_too_much) + .await + .unwrap_err(); + assert!(format!("{:?}", err).contains("execution failed")); // succeed with enough gas ctx.client().submit_and_wait(&transfer_txn).await?;