Skip to content

Commit

Permalink
Rebasing
Browse files Browse the repository at this point in the history
  • Loading branch information
xbtmatt authored and gregnazario committed Oct 14, 2023
1 parent 13bd55d commit 46bb53b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 23 deletions.
2 changes: 2 additions & 0 deletions src/transactions/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export type EntryFunctionArgumentTypes =
| MoveVector<EntryFunctionArgumentTypes>
| MoveOption<EntryFunctionArgumentTypes>
| AccountAddress
| MoveString
| FixedBytes;
export type ScriptFunctionArgumentTypes =
| Bool
Expand All @@ -44,6 +45,7 @@ export type ScriptFunctionArgumentTypes =
| MoveObject
| MoveVector<U8>
| AccountAddress
| MoveString
| FixedBytes;

/**
Expand Down
29 changes: 6 additions & 23 deletions tests/e2e/api/transaction_arguments.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,29 +50,12 @@ describe("various transaction arguments", () => {
beforeAll(async () => {
const config = new AptosConfig({ network: Network.LOCAL });
aptos = new Aptos(config);
// const account1 = Account.fromPrivateKey({
// privateKey: new Ed25519PrivateKey({
// hexInput: "0x5aba8dab1c523be32bd4dafe2cc612f7f8050ce42a3322b60216ef67dc97768c",
// }),
// });
account1 = Account.generate({
scheme: SigningScheme.Ed25519,
});
account2 = Account.generate({
scheme: SigningScheme.Ed25519,
});
account3 = Account.generate({
scheme: SigningScheme.Ed25519,
});
account4 = Account.generate({
scheme: SigningScheme.Ed25519,
});
account5 = Account.generate({
scheme: SigningScheme.Ed25519,
});
accountFeePayer = Account.generate({
scheme: SigningScheme.Ed25519,
});
account1 = Account.generate();
account2 = Account.generate();
account3 = Account.generate();
account4 = Account.generate();
account5 = Account.generate();
accountFeePayer = Account.generate();
const accounts = [account1, account2, account3, account4, account5, accountFeePayer];
for (const account of accounts) {
await aptos.fundAccount({
Expand Down

0 comments on commit 46bb53b

Please sign in to comment.