-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Freeze transaction, fixed proto_ids which were incorrect (not u…
…sed by mirror node) Signed-off-by: Greg Scullard <gregscullard@hedera.com>
- Loading branch information
1 parent
436a288
commit 16cb8b2
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
src/main/resources/db/migration/V1.10.1__freeze_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,18 @@ | ||
INSERT INTO t_transaction_types (proto_id, name) values (23,'FREEZE'); | ||
|
||
UPDATE t_transaction_types set proto_id = 14 WHERE name = 'CRYPTOTRANSFER'; | ||
UPDATE t_transaction_types set proto_id = 15 WHERE name = 'CRYPTOUPDATEACCOUNT'; | ||
UPDATE t_transaction_types set proto_id = 12 WHERE name = 'CRYPTODELETE'; | ||
UPDATE t_transaction_types set proto_id = 10 WHERE name = 'CRYPTOADDCLAIM'; | ||
UPDATE t_transaction_types set proto_id = 13 WHERE name = 'CRYPTODELETECLAIM'; | ||
UPDATE t_transaction_types set proto_id = 7 WHERE name = 'CONTRACTCALL'; | ||
UPDATE t_transaction_types set proto_id = 8 WHERE name = 'CONTRACTCREATEINSTANCE'; | ||
UPDATE t_transaction_types set proto_id = 9 WHERE name = 'CONTRACTUPDATEINSTANCE'; | ||
UPDATE t_transaction_types set proto_id = 17 WHERE name = 'FILECREATE'; | ||
UPDATE t_transaction_types set proto_id = 16 WHERE name = 'FILEAPPEND'; | ||
UPDATE t_transaction_types set proto_id = 19 WHERE name = 'FILEUPDATE'; | ||
UPDATE t_transaction_types set proto_id = 18 WHERE name = 'FILEDELETE'; | ||
UPDATE t_transaction_types set proto_id = 11 WHERE name = 'CRYPTOCREATEACCOUNT'; | ||
UPDATE t_transaction_types set proto_id = 20 WHERE name = 'SYSTEMDELETE'; | ||
UPDATE t_transaction_types set proto_id = 21 WHERE name = 'SYSTEMUNDELETE'; | ||
UPDATE t_transaction_types set proto_id = 22 WHERE name = 'CONTRACTDELETEINSTANCE'; |