Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"env": {
"node": true,
"es2021": true,
"mocha": true
},
"extends": [
"eslint:recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "commonjs"
},
"globals": {
"artifacts": "readonly",
"ethers": "readonly",
"network": "readonly"
},
"rules": {
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-console": "off"
},
"ignorePatterns": [
"node_modules/",
"artifacts/",
"cache/",
"coverage/",
"typechain-types/",
"deployments/*.json"
]
}
1 change: 0 additions & 1 deletion scripts/demo-scenario.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ async function main() {
console.log(` Gas Used: ${submitReceipt.gasUsed}\n`);

// Show task status
const taskAfterSubmit = await escrow.getTask(taskId);
console.log(`📋 Task Status: Submitted (awaiting verification)\n`);

await sleep(1500);
Expand Down
4 changes: 2 additions & 2 deletions test/AgentEscrowMNEE.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ describe("AgentEscrowMNEE", function () {
});

it("Should update reputation stats on success", async function () {
const { escrow, payer, payee, verifier } = await loadFixture(createAndSubmitFixture);
const { escrow, payee, verifier } = await loadFixture(createAndSubmitFixture);

await escrow.connect(verifier).scoreAndResolve(0, 85);

Expand Down Expand Up @@ -442,7 +442,7 @@ describe("AgentEscrowMNEE", function () {
});

it("Should handle multiple concurrent tasks", async function () {
const { escrow, mnee, payer, payee, verifier } = await loadFixture(deployFixture);
const { escrow, payer, payee, verifier } = await loadFixture(deployFixture);

// Create 5 tasks
for (let i = 0; i < 5; i++) {
Expand Down
Loading