Remove auction already used check
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 42s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m38s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m4s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 7m43s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m41s
Smoke Test / Run basic test suite (pull_request) Successful in 4m26s

This commit is contained in:
Prathamesh Musale 2024-10-09 11:24:17 +05:30
parent 78874a4d7f
commit 67599898dc

View File

@ -891,10 +891,4 @@ def confirm_auction(laconic: LaconicRegistryClient, record, deployer_lrn, paymen
logger.log(f"{record.id}: deployer payment address not in auction winners.") logger.log(f"{record.id}: deployer payment address not in auction winners.")
return False return False
# Check if the auction was already used on a deployment
used = laconic.app_deployments({"deployer": deployer_lrn, "auction": auction_id}, all=True)
if len(used):
logger.log(f"{record.id}: auction {auction_id} already used on deployment {used}")
return False
return True return True