Skip to content

Commit

Permalink
add new response codes
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Li <xin.li@hedera.com>
  • Loading branch information
xin-hedera committed Jul 9, 2021
1 parent cde0c1f commit 792d164
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-------------------
-- Add new response codes
-------------------

insert into t_transaction_results (result, proto_id)
values ('INVALID_TOKEN_MINT_METADATA', 248),
('INVALID_TOKEN_BURN_METADATA', 249),
('CURRENT_TREASURY_STILL_OWNS_NFTS', 250);
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,10 @@ values ('OK', 0),
('CUSTOM_SCHEDULE_ALREADY_HAS_NO_FEES', 244),
('CUSTOM_FEE_DENOMINATION_MUST_BE_FUNGIBLE_COMMON', 245),
('CUSTOM_FRACTIONAL_FEE_ONLY_ALLOWED_FOR_FUNGIBLE_COMMON', 246),
('INVALID_CUSTOM_FEE_SCHEDULE_KEY', 247);
('INVALID_CUSTOM_FEE_SCHEDULE_KEY', 247),
('INVALID_TOKEN_MINT_METADATA', 248),
('INVALID_TOKEN_BURN_METADATA', 249),
('CURRENT_TREASURY_STILL_OWNS_NFTS', 250);

-- t_transaction_types
insert into t_transaction_types (proto_id, name, entity_type)
Expand Down

0 comments on commit 792d164

Please sign in to comment.