Some checks failed
Contract Performance Benchmarks / benchmark-gas-usage (push) Failing after 23s
Contract Performance Benchmarks / benchmark-execution-time (push) Has been cancelled
Contract Performance Benchmarks / benchmark-throughput (push) Has been cancelled
Contract Performance Benchmarks / compare-benchmarks (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 10s
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Deploy to Testnet / notify-deployment (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 9s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 9s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
- Create placeholder benchmark test files for gas-usage, execution-time, and throughput - Remove if: false from all benchmark jobs in contract-benchmarks.yml - Benchmark tests will now run on push to contracts/** or scripts/benchmarking/**
52 lines
1.6 KiB
JavaScript
52 lines
1.6 KiB
JavaScript
const { expect } = require("chai");
|
|
|
|
describe("Gas Usage Benchmarks", function () {
|
|
describe("EscrowService", function () {
|
|
it("Should benchmark createEscrow gas usage", async function () {
|
|
// Placeholder for gas usage benchmark
|
|
// TODO: Implement actual gas usage measurement
|
|
this.skip();
|
|
});
|
|
|
|
it("Should benchmark releaseEscrow gas usage", async function () {
|
|
// Placeholder for gas usage benchmark
|
|
// TODO: Implement actual gas usage measurement
|
|
this.skip();
|
|
});
|
|
|
|
it("Should benchmark refundEscrow gas usage", async function () {
|
|
// Placeholder for gas usage benchmark
|
|
// TODO: Implement actual gas usage measurement
|
|
this.skip();
|
|
});
|
|
});
|
|
|
|
describe("AITBCPaymentProcessor", function () {
|
|
it("Should benchmark createPayment gas usage", async function () {
|
|
// Placeholder for gas usage benchmark
|
|
// TODO: Implement actual gas usage measurement
|
|
this.skip();
|
|
});
|
|
|
|
it("Should benchmark processPayment gas usage", async function () {
|
|
// Placeholder for gas usage benchmark
|
|
// TODO: Implement actual gas usage measurement
|
|
this.skip();
|
|
});
|
|
});
|
|
|
|
describe("AgentMarketplaceV2", function () {
|
|
it("Should benchmark listCapability gas usage", async function () {
|
|
// Placeholder for gas usage benchmark
|
|
// TODO: Implement actual gas usage measurement
|
|
this.skip();
|
|
});
|
|
|
|
it("Should benchmark purchaseCall gas usage", async function () {
|
|
// Placeholder for gas usage benchmark
|
|
// TODO: Implement actual gas usage measurement
|
|
this.skip();
|
|
});
|
|
});
|
|
});
|