-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Destroy accounts #36
Merged
Merged
Destroy accounts #36
Conversation
This file contains 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
daria305
suggested changes
Jan 11, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. I updated the scripts with destroy account, so that we try to spam after destroyin, but it can be tested only after we fix the indexer issue. The indexer problem happens for me too after first run of the destroy script.
The problem seems separate from evil-tools:
inx-indexer-1 | 2024-01-11T08:09:20Z WARNING /scratch/pkg/indexer/indexer.go:181 UNIQUE constraint failed: accounts.account_id
inx-indexer-1 | [0.037ms] [rows:0] INSERT INTO `accounts` (`account_id`,`output_id`,`amount`,`issuer`,`sender`,`address`,`created_at_slot`,`deleted_at_slot`,`committed`) VALUES ("<binary>","<binary>","1000000000","","","<binary>",48,0,false)
inx-indexer-1 | 2024-01-11T08:09:20Z ERROR ListenToAcceptedTransactions failed: UNIQUE constraint failed: accounts.account_id
inx-indexer-1 | 2024-01-11T08:09:20Z INFO Indexer Stopping AcceptedTransactions ... done
inx-indexer-1 | 2024-01-11T08:09:20Z WARNING Shutdown App self-shutdown: Listening to AcceptedTransactions failed, error: UNIQUE constraint failed: accounts.account_id; waiting (max 300 seconds) to finish processing ...
inx-indexer-1 | 2024-01-11T08:09:20Z INFO Indexer Stopping API ...
node-1-validator-1 | 2024-01-11T08:09:20Z INFO Removed proxy indexer/v2
inx-indexer-1 | 2024-01-11T08:09:20Z INFO Indexer Stopping API ... done
inx-indexer-1 | 2024-01-11T08:09:20Z INFO Indexer Stopping LedgerUpdates ... done
inx-indexer-1 | 2024-01-11T08:09:20Z INFO Indexer Stopped Indexer
inx-indexer-1 | 2024-01-11T08:09:20Z INFO INX Stopped NodeBridge
inx-indexer-1 | 2024-01-11T08:09:20Z INFO App Shutdown complete!
inx-validator-2-1 | 2024-01-11T08:09:20Z DEBUG issued validation block: BlockID(0xa2e24fc01f35468dfac68ca89017e74493a6c275a7d7d4ac89bad38e584caffb30000000:48) - commitment CommitmentID(0x4236d47db038032dc23aa6752059803e2c8010cd1dc1257c68a664707899782926000000:38) 38 - latest finalized slot 38 - broadcast interval 1s
inx-indexer-1 exited with code 0
daria305
approved these changes
Jan 15, 2024
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.
Fix the account destruction method, rename a few things for clarity and add some more logging.