-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opt(torii): avoid re-processing of transactions in certain case
fix: #2355 commit-id:a510b985
- Loading branch information
Showing
3 changed files
with
70 additions
and
34 deletions.
There are no files selected for viewing
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
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
5 changes: 5 additions & 0 deletions
5
crates/torii/migrations/20240903110847_add_column_for_non_world_transaction.sql
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- Rename pending_block_tx to last_pending_block_world_tx | ||
ALTER TABLE contracts RENAME COLUMN pending_block_tx TO last_pending_block_world_tx; | ||
|
||
-- Add new column last_pending_block_tx | ||
ALTER TABLE contracts ADD COLUMN last_pending_block_tx TEXT; |