Skip to content

Commit c3f53aa

Browse files
committed
Delete useless test
1 parent 1735397 commit c3f53aa

1 file changed

Lines changed: 1 addition & 48 deletions

File tree

tests/GatewayProcessor.tests.ts

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ import {
33
manifestBucket,
44
StringManifestBuilder,
55
} from "../src";
6-
import {
7-
LTSRadixEngineToolkit,
8-
NetworkId,
9-
PrivateKey,
10-
} from "@radixdlt/radix-engine-toolkit";
6+
import { NetworkId } from "@radixdlt/radix-engine-toolkit";
117
import { FungibleResource, NonFungibleItem, NonFungibleResource } from "../src";
128

139
const toolkit_test_account: string =
@@ -267,46 +263,3 @@ CALL_METHOD
267263
;`,
268264
);
269265
});
270-
271-
test("WTFFFFF", async () => {
272-
const processor = GatewayProcessor.fromNetworkId(NetworkId.Stokenet, 1);
273-
const privateKey = new PrivateKey.Ed25519(
274-
new Uint8Array(
275-
"209,214,17,209,221,157,43,100,145,156,29,165,22,196,133,74,217,107,190,184,62,45,127,80,20,98,106,128,241,218,153,15"
276-
.split(",")
277-
.map((char) => parseInt(char, 16)),
278-
),
279-
);
280-
const address = await LTSRadixEngineToolkit.Derive.virtualAccountAddress(
281-
privateKey.publicKey(),
282-
NetworkId.Stokenet,
283-
);
284-
console.log(address);
285-
const manifest = `CALL_METHOD
286-
\tAddress("account_tdx_2_12xrs867hytec3mx63dujxwezdn7jsqw937nqjrvvlj9xzkxk40rflu")
287-
\t"lock_fee"
288-
\tDecimal("20")
289-
;
290-
CALL_METHOD
291-
\tAddress("account_tdx_2_12xrs867hytec3mx63dujxwezdn7jsqw937nqjrvvlj9xzkxk40rflu")
292-
\t"create_proof_of_amount"
293-
\tAddress("resource_tdx_2_1t42n866d9cure57dy4yvg4wfnze3lc4ptwvyqsgtdt4zautca350sd")
294-
\tDecimal("1")
295-
;
296-
MINT_NON_FUNGIBLE
297-
\tAddress("resource_tdx_2_1n2zyd7q88nampc23e4urhf8w0ymuk7nk0da25x38duhqsf08nry0qa")
298-
\tMap<NonFungibleLocalId, Tuple>(NonFungibleLocalId("<OKK_1>") => Tuple(Tuple("CirCricket", "A mix of sport and computing", "https://i.ibb.co/W2jXK6B/circricket.png", "None")), NonFungibleLocalId("<OKK_2>") => Tuple(Tuple("Spiderboard", "Not recommended for arachnophobe developers", "https://i.ibb.co/LtJXCqJ/spiderboard.png", "None")), NonFungibleLocalId("<OKK_3>") => Tuple(Tuple("Flyware", "Even RDX Works cannot get rid of that", "https://i.ibb.co/nR3gZ90/ultimate-bug.png", "None")), NonFungibleLocalId("<OK_4>") => Tuple(Tuple("CirCricket", "A mix of sport and computing", "https://i.ibb.co/W2jXK6B/circricket.png", "None")), NonFungibleLocalId("<OK_5>") => Tuple(Tuple("Spiderboard", "Not recommended for arachnophobe developers", "https://i.ibb.co/LtJXCqJ/spiderboard.png", "None")), NonFungibleLocalId("<OK_6>") => Tuple(Tuple("Flyware", "Even RDX Works cannot get rid of that", "https://i.ibb.co/nR3gZ90/ultimate-bug.png", "None")))
299-
;
300-
CALL_METHOD
301-
\tAddress("account_tdx_2_12xrs867hytec3mx63dujxwezdn7jsqw937nqjrvvlj9xzkxk40rflu")
302-
\t"deposit_batch"
303-
\tExpression("ENTIRE_WORKTOP")
304-
;
305-
`;
306-
const result = await processor.submitRawManifest(
307-
manifest,
308-
NetworkId.Stokenet,
309-
privateKey,
310-
);
311-
console.log(result);
312-
});

0 commit comments

Comments
 (0)