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:
jonesho
2025-05-06 01:19:33 +08:00
committed by GitHub
parent 19880cd8a9
commit 1b874b45fb
24 changed files with 14 additions and 762 deletions

View File

@@ -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;
}
}

View File

@@ -4,7 +4,6 @@ import { Logger } from "winston";
declare global {
var stopL2TrafficGeneration: () => void;
var shouldSkipBundleTests: boolean;
var logger: Logger;
}

View File

@@ -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);

View File

@@ -1,4 +1,3 @@
import { createTestLogger } from "../logger";
global.logger = createTestLogger();
global.shouldSkipBundleTests = process.env.SHOULD_SKIP_BUNDLE_TESTS === "true";

View File

@@ -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()!);