From c3f53aae12eab61a9fa1a007fbeba974fcc226b9 Mon Sep 17 00:00:00 2001 From: avincigu Date: Fri, 8 Nov 2024 05:19:21 +0100 Subject: [PATCH] Delete useless test --- tests/GatewayProcessor.tests.ts | 49 +-------------------------------- 1 file changed, 1 insertion(+), 48 deletions(-) diff --git a/tests/GatewayProcessor.tests.ts b/tests/GatewayProcessor.tests.ts index 9ec079a..6512f96 100644 --- a/tests/GatewayProcessor.tests.ts +++ b/tests/GatewayProcessor.tests.ts @@ -3,11 +3,7 @@ import { manifestBucket, StringManifestBuilder, } from "../src"; -import { - LTSRadixEngineToolkit, - NetworkId, - PrivateKey, -} from "@radixdlt/radix-engine-toolkit"; +import { NetworkId } from "@radixdlt/radix-engine-toolkit"; import { FungibleResource, NonFungibleItem, NonFungibleResource } from "../src"; const toolkit_test_account: string = @@ -267,46 +263,3 @@ CALL_METHOD ;`, ); }); - -test("WTFFFFF", async () => { - const processor = GatewayProcessor.fromNetworkId(NetworkId.Stokenet, 1); - const privateKey = new PrivateKey.Ed25519( - new Uint8Array( - "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" - .split(",") - .map((char) => parseInt(char, 16)), - ), - ); - const address = await LTSRadixEngineToolkit.Derive.virtualAccountAddress( - privateKey.publicKey(), - NetworkId.Stokenet, - ); - console.log(address); - const manifest = `CALL_METHOD -\tAddress("account_tdx_2_12xrs867hytec3mx63dujxwezdn7jsqw937nqjrvvlj9xzkxk40rflu") -\t"lock_fee" -\tDecimal("20") -; -CALL_METHOD -\tAddress("account_tdx_2_12xrs867hytec3mx63dujxwezdn7jsqw937nqjrvvlj9xzkxk40rflu") -\t"create_proof_of_amount" -\tAddress("resource_tdx_2_1t42n866d9cure57dy4yvg4wfnze3lc4ptwvyqsgtdt4zautca350sd") -\tDecimal("1") -; -MINT_NON_FUNGIBLE -\tAddress("resource_tdx_2_1n2zyd7q88nampc23e4urhf8w0ymuk7nk0da25x38duhqsf08nry0qa") -\tMap(NonFungibleLocalId("") => Tuple(Tuple("CirCricket", "A mix of sport and computing", "https://i.ibb.co/W2jXK6B/circricket.png", "None")), NonFungibleLocalId("") => Tuple(Tuple("Spiderboard", "Not recommended for arachnophobe developers", "https://i.ibb.co/LtJXCqJ/spiderboard.png", "None")), NonFungibleLocalId("") => Tuple(Tuple("Flyware", "Even RDX Works cannot get rid of that", "https://i.ibb.co/nR3gZ90/ultimate-bug.png", "None")), NonFungibleLocalId("") => Tuple(Tuple("CirCricket", "A mix of sport and computing", "https://i.ibb.co/W2jXK6B/circricket.png", "None")), NonFungibleLocalId("") => Tuple(Tuple("Spiderboard", "Not recommended for arachnophobe developers", "https://i.ibb.co/LtJXCqJ/spiderboard.png", "None")), NonFungibleLocalId("") => Tuple(Tuple("Flyware", "Even RDX Works cannot get rid of that", "https://i.ibb.co/nR3gZ90/ultimate-bug.png", "None"))) -; -CALL_METHOD -\tAddress("account_tdx_2_12xrs867hytec3mx63dujxwezdn7jsqw937nqjrvvlj9xzkxk40rflu") -\t"deposit_batch" -\tExpression("ENTIRE_WORKTOP") -; -`; - const result = await processor.submitRawManifest( - manifest, - NetworkId.Stokenet, - privateKey, - ); - console.log(result); -});