Generated tests fail
secretshardul opened this issue · 1 comments
secretshardul commented
I used move-to-ts to generate SDK and tests for the hello world module.
move-to-ts -t -o typescript-3 -n hello-blockchain
cd typescript-3
npm i
npm test # fails
The tests fail with these errors. I generated an SDK two weeks ago where the tests worked. How to fix?
> hello-blockchain@0.0.1 test
> jest
RUNS src/tests/aptos_framework/coin.test.ts
RUNS src/tests/aptos_framework/aptos_governance.test.ts
RUNS src/tests/aptos_framework/managed_coin.test.ts
RUNS src/tests/aptos_framework/account.test.ts
RUNS src/tests/aptos_framework/block.test.ts
RUNS src/tests/aptos_framework/coin.test.ts
RUNS src/tests/aptos_framework/aptos_governance.test.ts
RUNS src/tests/aptos_framework/managed_coin.test.ts
RUNS src/tests/aptos_framework/account.test.ts
RUNS src/tests/aptos_framework/block.test.ts
FAIL src/tests/HelloBlockchain/message.test.ts
● Test suite failed to run
src/HelloBlockchain/message.ts:127:12 - error TS2554: Expected 5 arguments, but got 3.
127 return $.buildPayload(
~~~~~~~~~~~~~
128 "0x2::message::sender_can_set_message",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
130 []
~~~~~~
131 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/HelloBlockchain/message.ts:159:12 - error TS2554: Expected 5 arguments, but got 3.
159 return $.buildPayload(
~~~~~~~~~~~~~
160 "0x2::message::set_message",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
164 ]
~~~~~
165 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
FAIL src/tests/aptos_framework/managed_coin.test.ts
● Test suite failed to run
src/aptos_framework/managed_coin.ts:117:12 - error TS2554: Expected 5 arguments, but got 3.
117 return $.buildPayload(
~~~~~~~~~~~~~
118 "0x1::managed_coin::burn",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
122 ]
~~~~~
123 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/managed_coin.ts:150:12 - error TS2554: Expected 5 arguments, but got 3.
150 return $.buildPayload(
~~~~~~~~~~~~~
151 "0x1::managed_coin::fail_burn",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
153 []
~~~~~~
154 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/managed_coin.ts:180:12 - error TS2554: Expected 5 arguments, but got 3.
180 return $.buildPayload(
~~~~~~~~~~~~~
181 "0x1::managed_coin::fail_mint",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
183 []
~~~~~~
184 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/managed_coin.ts:211:12 - error TS2554: Expected 5 arguments, but got 3.
211 return $.buildPayload(
~~~~~~~~~~~~~
212 "0x1::managed_coin::initialize",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
219 ]
~~~~~
220 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/managed_coin.ts:248:12 - error TS2554: Expected 5 arguments, but got 3.
248 return $.buildPayload(
~~~~~~~~~~~~~
249 "0x1::managed_coin::mint",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
254 ]
~~~~~
255 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/managed_coin.ts:272:12 - error TS2554: Expected 5 arguments, but got 3.
272 return $.buildPayload(
~~~~~~~~~~~~~
273 "0x1::managed_coin::register",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
275 []
~~~~~~
276 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/managed_coin.ts:336:12 - error TS2554: Expected 5 arguments, but got 3.
336 return $.buildPayload(
~~~~~~~~~~~~~
337 "0x1::managed_coin::test_end_to_end",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
339 []
~~~~~~
340 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
FAIL src/tests/aptos_framework/account.test.ts
● Test suite failed to run
src/aptos_framework/account.ts:279:12 - error TS2554: Expected 5 arguments, but got 3.
279 return $.buildPayload(
~~~~~~~~~~~~~
280 "0x1::account::create_account",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
284 ]
~~~~~
285 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/account.ts:493:12 - error TS2554: Expected 5 arguments, but got 3.
493 return $.buildPayload(
~~~~~~~~~~~~~
494 "0x1::account::mock_sequence_numbers",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
496 []
~~~~~~
497 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/account.ts:619:12 - error TS2554: Expected 5 arguments, but got 3.
619 return $.buildPayload(
~~~~~~~~~~~~~
620 "0x1::account::rotate_authentication_key",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
624 ]
~~~~~
625 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/account.ts:688:12 - error TS2554: Expected 5 arguments, but got 3.
688 return $.buildPayload(
~~~~~~~~~~~~~
689 "0x1::account::test_create_resource_account",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
691 []
~~~~~~
692 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/account.ts:719:12 - error TS2554: Expected 5 arguments, but got 3.
719 return $.buildPayload(
~~~~~~~~~~~~~
720 "0x1::account::test_module_capability",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
722 []
~~~~~~
723 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/account.ts:777:12 - error TS2554: Expected 5 arguments, but got 3.
777 return $.buildPayload(
~~~~~~~~~~~~~
778 "0x1::account::transfer",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
783 ]
~~~~~
784 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
FAIL src/tests/aptos_framework/block.test.ts
● Test suite failed to run
src/aptos_framework/block.ts:228:12 - error TS2554: Expected 5 arguments, but got 3.
228 return $.buildPayload(
~~~~~~~~~~~~~
229 "0x1::block::test_update_epoch_interval",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
231 []
~~~~~~
232 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/block.ts:250:12 - error TS2554: Expected 5 arguments, but got 3.
250 return $.buildPayload(
~~~~~~~~~~~~~
251 "0x1::block::test_update_epoch_interval_unauthorized_should_fail",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
253 []
~~~~~~
254 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
FAIL src/tests/aptos_framework/resource_account.test.ts
● Test suite failed to run
src/aptos_framework/resource_account.ts:93:12 - error TS2554: Expected 5 arguments, but got 3.
93 return $.buildPayload(
~~~~~~~~~~~~~
94 "0x1::resource_account::create_resource_account",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
99 ]
~~~~~
100 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/resource_account.ts:127:12 - error TS2554: Expected 5 arguments, but got 3.
127 return $.buildPayload(
~~~~~~~~~~~~~
128 "0x1::resource_account::end_to_end",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
130 []
~~~~~~
131 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
FAIL src/tests/aptos_framework/aptos_governance.test.ts
● Test suite failed to run
src/aptos_framework/aptos_governance.ts:426:12 - error TS2554: Expected 5 arguments, but got 3.
426 return $.buildPayload(
~~~~~~~~~~~~~
427 "0x1::aptos_governance::create_proposal",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
434 ]
~~~~~
435 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/aptos_governance.ts:534:12 - error TS2554: Expected 5 arguments, but got 3.
534 return $.buildPayload(
~~~~~~~~~~~~~
535 "0x1::aptos_governance::test_cannot_double_vote",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
537 []
~~~~~~
538 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/aptos_governance.ts:562:12 - error TS2554: Expected 5 arguments, but got 3.
562 return $.buildPayload(
~~~~~~~~~~~~~
563 "0x1::aptos_governance::test_cannot_double_vote_with_different_voter_addresses",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
565 []
~~~~~~
566 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/aptos_governance.ts:595:12 - error TS2554: Expected 5 arguments, but got 3.
595 return $.buildPayload(
~~~~~~~~~~~~~
596 "0x1::aptos_governance::test_voting",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
598 []
~~~~~~
599 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/aptos_governance.ts:666:12 - error TS2554: Expected 5 arguments, but got 3.
666 return $.buildPayload(
~~~~~~~~~~~~~
667 "0x1::aptos_governance::vote",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
673 ]
~~~~~
674 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
FAIL src/tests/HelloBlockchain/MessageTests.test.ts
● Test suite failed to run
src/HelloBlockchain/MessageTests.ts:41:12 - error TS2554: Expected 5 arguments, but got 3.
41 return $.buildPayload(
~~~~~~~~~~~~~
42 "0x2::MessageTests::sender_can_set_message",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
44 []
~~~~~~
45 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
FAIL src/tests/aptos_framework/coin.test.ts
● Test suite failed to run
src/aptos_framework/coin.ts:455:12 - error TS2554: Expected 5 arguments, but got 3.
455 return $.buildPayload(
~~~~~~~~~~~~~
456 "0x1::coin::create_fake_money",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
460 ]
~~~~~
461 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/coin.ts:579:12 - error TS2554: Expected 5 arguments, but got 3.
579 return $.buildPayload(
~~~~~~~~~~~~~
580 "0x1::coin::end_to_end",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
582 []
~~~~~~
583 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/coin.ts:629:12 - error TS2554: Expected 5 arguments, but got 3.
629 return $.buildPayload(
~~~~~~~~~~~~~
630 "0x1::coin::end_to_end_no_supply",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
632 []
~~~~~~
633 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/coin.ts:697:12 - error TS2554: Expected 5 arguments, but got 3.
697 return $.buildPayload(
~~~~~~~~~~~~~
698 "0x1::coin::fail_transfer",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
700 []
~~~~~~
701 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/coin.ts:881:12 - error TS2554: Expected 5 arguments, but got 3.
881 return $.buildPayload(
~~~~~~~~~~~~~
882 "0x1::coin::test_burn_from_with_capability",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
884 []
~~~~~~
885 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/coin.ts:931:12 - error TS2554: Expected 5 arguments, but got 3.
931 return $.buildPayload(
~~~~~~~~~~~~~
932 "0x1::coin::test_extract",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
934 []
~~~~~~
935 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
src/aptos_framework/coin.ts:988:12 - error TS2554: Expected 5 arguments, but got 3.
988 return $.buildPayload(
~~~~~~~~~~~~~
989 "0x1::coin::transfer",
~~~~~~~~~~~~~~~~~~~~~~~~~~
...
994 ]
~~~~~
995 );
~~~
node_modules/@manahippo/move-to-ts/dist/txSender.d.ts:8:102
8 export declare function buildPayload(moduleAddress: HexString, moduleName: string, funcName: string, typeArguments: string[], args: AcceptedScriptFuncArgType[]): TxnBuilderTypes.TransactionPayloadEntryFunction;
~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'typeArguments' was not provided.
FAIL src/tests/aptos_framework/genesis.test.ts
● Test suite failed to run
src/std/hash.ts:33:12 - error TS2339: Property 'std_hash_sip_hash' does not exist on type 'typeof import("/home/pc/Documents/aptos/hello_blockchain/typescript-3/node_modules/@manahippo/move-to-ts/dist/index")'.
33 return $.std_hash_sip_hash(v, $c, [$p[0]]);
~~~~~~~~~~~~~~~~~
FAIL src/tests/aptos_std/comparator.test.ts
● Test suite failed to run
src/std/hash.ts:33:12 - error TS2339: Property 'std_hash_sip_hash' does not exist on type 'typeof import("/home/pc/Documents/aptos/hello_blockchain/typescript-3/node_modules/@manahippo/move-to-ts/dist/index")'.
33 return $.std_hash_sip_hash(v, $c, [$p[0]]);
~~~~~~~~~~~~~~~~~
FAIL src/tests/aptos_framework/governance_proposal.test.ts
● Test suite failed to run
src/std/hash.ts:33:12 - error TS2339: Property 'std_hash_sip_hash' does not exist on type 'typeof import("/home/pc/Documents/aptos/hello_blockchain/typescript-3/node_modules/@manahippo/move-to-ts/dist/index")'.
33 return $.std_hash_sip_hash(v, $c, [$p[0]]);
~~~~~~~~~~~~~~~~~
FAIL src/tests/aptos_std/type_info.test.ts
● Test suite failed to run
src/std/hash.ts:33:12 - error TS2339: Property 'std_hash_sip_hash' does not exist on type 'typeof import("/home/pc/Documents/aptos/hello_blockchain/typescript-3/node_modules/@manahippo/move-to-ts/dist/index")'.
33 return $.std_hash_sip_hash(v, $c, [$p[0]]);
~~~~~~~~~~~~~~~~~
FAIL src/tests/aptos_std/simple_map.test.ts
● Test suite failed to run
src/std/hash.ts:33:12 - error TS2339: Property 'std_hash_sip_hash' does not exist on type 'typeof import("/home/pc/Documents/aptos/hello_blockchain/typescript-3/node_modules/@manahippo/move-to-ts/dist/index")'.
33 return $.std_hash_sip_hash(v, $c, [$p[0]]);
~~~~~~~~~~~~~~~~~
FAIL src/tests/aptos_std/big_vector.test.ts
● Test suite failed to run
src/std/hash.ts:33:12 - error TS2339: Property 'std_hash_sip_hash' does not exist on type 'typeof import("/home/pc/Documents/aptos/hello_blockchain/typescript-3/node_modules/@manahippo/move-to-ts/dist/index")'.
33 return $.std_hash_sip_hash(v, $c, [$p[0]]);
~~~~~~~~~~~~~~~~~
FAIL src/tests/aptos_std/iterable_table.test.ts
● Test suite failed to run
src/std/hash.ts:33:12 - error TS2339: Property 'std_hash_sip_hash' does not exist on type 'typeof import("/home/pc/Documents/aptos/hello_blockchain/typescript-3/node_modules/@manahippo/move-to-ts/dist/index")'.
33 return $.std_hash_sip_hash(v, $c, [$p[0]]);
~~~~~~~~~~~~~~~~~
Test Suites: 15 failed, 15 total
Tests: 0 total
Snapshots: 0 total
Time: 10.46 s
Ran all test suites.
Dependencies
move-to-ts
: commit3d6b5d7c853fefdaf46b1be5e180aa70b5347abb
aptos
: 0.2.5 (test generation fails on latest)- In package.json:
aptos
1.3.6@manahippo/move-to-ts
0.1.20
secretshardul commented