Files
aitbc/contracts/contracts/MockVerifier.sol
aitbc 7c51f3490b Remove outdated GPU marketplace endpoint and fix staking service logic
- Remove duplicate `/marketplace/gpu/{gpu_id}` endpoint from marketplace_gpu.py
- Remove marketplace_gpu router inclusion from main.py (already included elsewhere)
- Fix staking service staker_count logic to check existing stakes before increment/decrement
- Add minimum stake amount validation (100 AITBC)
- Add proper error handling for stake not found cases
- Fix staking pool update to commit and refresh after modifications
- Update CLI send_transaction to use chain
2026-04-13 22:07:51 +02:00

21 lines
475 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title MockVerifier
* @dev Mock verifier for testing purposes
*/
contract MockVerifier {
function verifyPerformance(
uint256 _agentWallet,
uint256 _responseTime,
uint256 _accuracy,
uint256 _availability,
uint256 _computePower,
bytes memory _zkProof
) external pure returns (bool) {
// Always return true for testing
return true;
}
}