diff --git a/tests/e2e/api/transaction_submission.test.ts b/tests/e2e/api/transaction_submission.test.ts index 2c303d356..36a277b37 100644 --- a/tests/e2e/api/transaction_submission.test.ts +++ b/tests/e2e/api/transaction_submission.test.ts @@ -7,11 +7,7 @@ import { MoveObject } from "../../../src/bcs/serializable/move-structs"; import { Account } from "../../../src/core/account"; import { Ed25519PrivateKey } from "../../../src/crypto/ed25519"; import { AccountAuthenticator, AccountAuthenticatorEd25519 } from "../../../src/transactions/authenticator/account"; -import { - RawTransaction, - ScriptTransactionArgumentAddress, - ScriptTransactionArgumentU64, -} from "../../../src/transactions/instances"; +import { RawTransaction } from "../../../src/transactions/instances"; import { TransactionPayloadEntryFunction, TransactionPayloadMultisig, @@ -115,11 +111,11 @@ describe("transaction submission", () => { "a11ceb0b060000000701000402040a030e18042608052e4307713e08af01200000000101020401000100030800010403040100010505060100010607040100010708060100000201020202030207060c060c0303050503030b000108010b000108010b0001080101080102060c03010b0001090002070b000109000b000109000002070b000109000302050b000109000a6170746f735f636f696e04636f696e04436f696e094170746f73436f696e087769746864726177056d657267650765787472616374076465706f73697400000000000000000000000000000000000000000000000000000000000000010000011a0b000a0238000c070b010a0338000c080d070b0838010d070b020b03160b061738020c090b040b0738030b050b09380302", type_arguments: [], arguments: [ - new ScriptTransactionArgumentU64(BigInt(100)), - new ScriptTransactionArgumentU64(BigInt(200)), - new ScriptTransactionArgumentAddress(bob.accountAddress), - new ScriptTransactionArgumentAddress(alice.accountAddress), - new ScriptTransactionArgumentU64(BigInt(50)), + new U64(BigInt(100)), + new U64(BigInt(200)), + bob.accountAddress, + alice.accountAddress, + new U64(BigInt(50)), ], }, }); @@ -236,11 +232,11 @@ describe("transaction submission", () => { "a11ceb0b060000000701000402040a030e18042608052e4307713e08af01200000000101020401000100030800010403040100010505060100010607040100010708060100000201020202030207060c060c0303050503030b000108010b000108010b0001080101080102060c03010b0001090002070b000109000b000109000002070b000109000302050b000109000a6170746f735f636f696e04636f696e04436f696e094170746f73436f696e087769746864726177056d657267650765787472616374076465706f73697400000000000000000000000000000000000000000000000000000000000000010000011a0b000a0238000c070b010a0338000c080d070b0838010d070b020b03160b061738020c090b040b0738030b050b09380302", type_arguments: [], arguments: [ - new ScriptTransactionArgumentU64(BigInt(100)), - new ScriptTransactionArgumentU64(BigInt(200)), - new ScriptTransactionArgumentAddress(bob.accountAddress), - new ScriptTransactionArgumentAddress(alice.accountAddress), - new ScriptTransactionArgumentU64(BigInt(50)), + new U64(BigInt(100)), + new U64(BigInt(200)), + bob.accountAddress, + alice.accountAddress, + new U64(BigInt(50)), ], }, });