Skip to content

Commit

Permalink
refactor: remove validator scope for cache resignations command (#993)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarnsley authored Nov 8, 2024
1 parent 41dbee7 commit f4c583d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Console/Commands/CacheValidatorResignationIds.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace App\Console\Commands;

use App\Jobs\CacheResignationId;
use App\Models\Scopes\ValidatorResignationScope;
use App\Models\Transaction;
use Illuminate\Console\Command;

Expand All @@ -29,7 +28,7 @@ public function handle(): void
{
Transaction::query()
->select('sender_public_key', 'id')
->withScope(ValidatorResignationScope::class)
// TODO: re-add validator resignation scope - https://app.clickup.com/t/86duufu8e
->cursor()
->each(function ($transaction) {
// @phpstan-ignore-next-line
Expand Down

0 comments on commit f4c583d

Please sign in to comment.