describe("noop", () => { it("noop", () => { expect(1).toBe(1); }); }); // TODO disabled because of the reflect-metadata error in the CI // import "reflect-metadata"; // import { container } from "tsyringe"; // import { // RuntimeMethodExecutionContext, // RuntimeTransaction, // NetworkState, // } from "@proto-kit/protocol"; // // import { MethodIdResolver } from "../src"; // // import { Balances } from "./modules/Balances"; // import { createTestingRuntime } from "./TestingRuntime"; // // describe.skip("runtime", () => { // it("should encode methodnames correctly", () => { // expect.assertions(2); // // const { runtime } = createTestingRuntime( // { // Balances, // }, // { // Balances: {}, // } // ); // // const balances = runtime.resolve("Balances"); // // expect(balances).toBeDefined(); // // console.log(Object.keys(balances)); // console.log(balances.getTotalSupply); // // const moduleName = "Balances"; // const methodName = "getTotalSupply"; // // const methodId = runtime.dependencyContainer // .resolve("MethodIdResolver") // .getMethodId(moduleName, methodName); // const method = runtime.getMethodById(methodId); // // expect(method).toBeDefined(); // }); // // it("regression - check that analyzeMethods works on runtime", async () => { // const { runtime } = createTestingRuntime( // { // Balances, // }, // { // Balances: {}, // } // ); // // const context = container.resolve(RuntimeMethodExecutionContext); // context.setup({ // transaction: RuntimeTransaction.dummyTransaction(), // networkState: NetworkState.empty(), // }); // // await runtime.zkProgrammable.zkProgram.analyzeMethods(); // }); // });