Bump CVAT oracle deps, improve container structure - #3967
Merged
Conversation
Recording-oracle integration tests spun up a local blockchain node (create/fund/setup escrow, on-chain store_results) which was slow and flaky (deploy addresses drifting from the SDK LOCALHOST constants). Mock the human-protocol-sdk boundary instead, matching the exchange-oracle approach: - chain/test_escrow: patch EscrowUtils.get_escrow -> EscrowData for reads; mock get_web3 + EscrowClient for store_results (the SDK validates url/hash before any chain call, so invalid-input cases use a real client with a mock web3). - cron webhook tests: use a constant escrow address + mock validate_escrow and the handlers rather than a real escrow. - remove the chain test helpers (setup_escrow, setup_kvstore) and the blockchain node infra (docker-compose.test.blockchain.yml, blockchain-node.Dockerfile); point test.head WEB3 URI at localhost. Also refresh the exchange-oracle chain tests for the human-protocol-sdk 7.3.1 EscrowData signature. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Regenerate both oracles' lockfiles for the 7.3.1 bump on top of develop (without the audio feature's extra deps). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
zhiltsov-max
force-pushed
the
zm/cvat-lib-bump-drop-blockchain
branch
from
July 13, 2026 12:29
c1cdab4 to
2e81450
Compare
zhiltsov-max
force-pushed
the
zm/cvat-lib-bump-drop-blockchain
branch
from
July 13, 2026 13:06
de8fc02 to
0375224
Compare
zhiltsov-max
force-pushed
the
zm/cvat-lib-bump-drop-blockchain
branch
from
July 13, 2026 13:16
0375224 to
ecda38d
Compare
Dzeranov
approved these changes
Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue tracking
Context behind the change
human-protocol-sdkdeps in CVAT EO/RO to 7.3.1, migrated the codeblockchain-nodefrom RO tests that were blocking the migrationdevgroupHow has this been tested?
Release plan
Potential risks; What to monitor; Rollback plan