mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 04:08:01 -05:00
feat: removed all tracing-v1 related codes from github workflow (#932)
* feat: removed all tracing-v1 related codes from github workflow * feat: removed all tracing-v1 related codes from makefile, test files, and docker yml files * feat: removed all old prover, geth traces node, and traces-api in docker files * feat: removed traces-api-facade related codes from workflow * feat: update image tag of coordinator and others
This commit is contained in:
@@ -59,7 +59,6 @@ export async function isSendBundleMethodNotFound(rpcEndpoint: URL, targetBlockNu
|
||||
} catch (err) {
|
||||
if (err instanceof Error) {
|
||||
if (err.message === "Method not found") {
|
||||
// Bundle request doesn't support in traces-v1 besu nodes
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
1
e2e/src/config/global.d.ts
vendored
1
e2e/src/config/global.d.ts
vendored
@@ -4,7 +4,6 @@ import { Logger } from "winston";
|
||||
|
||||
declare global {
|
||||
var stopL2TrafficGeneration: () => void;
|
||||
var shouldSkipBundleTests: boolean;
|
||||
var logger: Logger;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,11 +3,7 @@ import { ethers } from "ethers";
|
||||
import { config } from "../tests-config";
|
||||
import { deployContract } from "../../common/deployments";
|
||||
import { DummyContract__factory, TestContract__factory } from "../../typechain";
|
||||
import {
|
||||
etherToWei,
|
||||
isSendBundleMethodNotFound,
|
||||
sendTransactionsToGenerateTrafficWithInterval,
|
||||
} from "../../common/utils";
|
||||
import { etherToWei, sendTransactionsToGenerateTrafficWithInterval } from "../../common/utils";
|
||||
import { EMPTY_CONTRACT_CODE } from "../../common/constants";
|
||||
import { createTestLogger } from "../logger";
|
||||
|
||||
@@ -22,8 +18,6 @@ export default async (): Promise<void> => {
|
||||
await configureOnceOffPrerequisities();
|
||||
}
|
||||
|
||||
process.env.SHOULD_SKIP_BUNDLE_TESTS = (await isSendBundleMethodNotFound(config.getL2BesuNodeEndpoint()!)).toString();
|
||||
|
||||
logger.info("Generating L2 traffic...");
|
||||
const pollingAccount = await config.getL2AccountManager().generateAccount(etherToWei("200"));
|
||||
const stopPolling = await sendTransactionsToGenerateTrafficWithInterval(pollingAccount, 2_000);
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { createTestLogger } from "../logger";
|
||||
|
||||
global.logger = createTestLogger();
|
||||
global.shouldSkipBundleTests = process.env.SHOULD_SKIP_BUNDLE_TESTS === "true";
|
||||
|
||||
@@ -10,12 +10,7 @@ import {
|
||||
} from "./common/utils";
|
||||
import { ethers, TransactionRequest } from "ethers";
|
||||
|
||||
const describeIf = shouldSkipBundleTests ? describe.skip : describe;
|
||||
if (shouldSkipBundleTests) {
|
||||
logger.info("Skip bundle tests due to tracing-v1 besu nodes");
|
||||
}
|
||||
|
||||
describeIf("Send bundle test suite", () => {
|
||||
describe("Send bundle test suite", () => {
|
||||
const l2AccountManager = config.getL2AccountManager();
|
||||
const lineaCancelBundleClient = new LineaBundleClient(config.getSequencerEndpoint()!);
|
||||
const lineaSendBundleClient = new LineaBundleClient(config.getL2BesuNodeEndpoint()!);
|
||||
|
||||
Reference in New Issue
Block a user