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
This commit is contained in:
1934
contracts/cache/solidity-files-cache.json
vendored
Normal file
1934
contracts/cache/solidity-files-cache.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user