diff --git a/app/models/ckb_sync/api.rb b/app/models/ckb_sync/api.rb index 55638428b..424484a9c 100644 --- a/app/models/ckb_sync/api.rb +++ b/app/models/ckb_sync/api.rb @@ -108,7 +108,7 @@ def xudt_data_hash end def xudt_compatible_code_hashes - [Settings.xudt_compatible_code_hash, Settings.xudt_compatible2_code_hash] + [Settings.xudt_compatible_code_hash, Settings.xudt_compatible2_code_hash, Settings.xudt_compatible3_code_hash] end def unique_cell_code_hash diff --git a/config/settings.testnet.yml b/config/settings.testnet.yml index 15e6306f1..035fee2c1 100644 --- a/config/settings.testnet.yml +++ b/config/settings.testnet.yml @@ -42,6 +42,7 @@ unique_cell_code_hash: "0x8e341bcfec6393dcd41e635733ff2dca00a6af546949f70c57a706 # xudt compatible xudt_compatible_code_hash: "0x98701eaf939113606a8a70013fd2e8f27b8f1e234acdc329f3d71f9e9d3d3233" xudt_compatible2_code_hash: "0x1142755a044bf2ee358cba9f2da187ce928c91cd4dc8692ded0337efa677d21a" +xudt_compatible3_code_hash: "0xcc9dc33ef234e14bc788c43a4848556a5fb16401a04662fc55db9bb201987037" # stable coin # hash length of an attribute(especially which comes from bytea column), # e.g. Block.uncle_block_hashes: "0x587f354162afd133b4a4f7a4b621d11e043c3c08b0af2801f1686b5403b14953", which has a length of 66 ( 2 + 64)