Some checks failed
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m14s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 1m4s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 59s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 2s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 2s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Deploy to Testnet / deploy-testnet (push) Failing after 1m9s
Contract Performance Benchmarks / compare-benchmarks (push) Successful in 4s
Deploy to Testnet / notify-deployment (push) Successful in 2s
- Convert gas-usage.test.js from CommonJS require() to ES module import - Convert execution-time.test.js from CommonJS require() to ES module import - Convert throughput.test.js from CommonJS require() to ES module import - Required because contracts/package.json has "type": "module"
52 lines
1.6 KiB
JavaScript
52 lines
1.6 KiB
JavaScript
import { expect } from "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();
|
|
});
|
|
});
|
|
});
|