diff --git a/Gemfile.lock b/Gemfile.lock index d1d6270aa..3634b1966 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -231,8 +231,8 @@ GEM activesupport (>= 6.1) hashdiff (1.0.1) hiredis (0.6.3) - hiredis-client (0.14.1) - redis-client (= 0.14.1) + hiredis-client (0.22.2) + redis-client (= 0.22.2) http (5.1.0) addressable (~> 2.8) http-cookie (~> 1.0) @@ -398,7 +398,7 @@ GEM rubyzip (~> 2.3) redis (5.0.6) redis-client (>= 0.9.0) - redis-client (0.14.1) + redis-client (0.22.2) connection_pool redis-objects (2.0.0.beta) redis (~> 5.0) @@ -439,11 +439,11 @@ GEM shoulda-context (2.0.0) shoulda-matchers (5.2.0) activesupport (>= 5.2.0) - sidekiq (7.2.0) + sidekiq (7.2.4) concurrent-ruby (< 2) connection_pool (>= 2.3.0) rack (>= 2.2.4) - redis-client (>= 0.14.0) + redis-client (>= 0.19.0) sidekiq-unique-jobs (8.0.10) concurrent-ruby (~> 1.0, >= 1.0.5) sidekiq (>= 7.0.0, < 8.0.0) diff --git a/app/models/ckb_sync/transaction_parser.rb b/app/models/ckb_sync/transaction_parser.rb index 8e04dfa3d..f21285e03 100644 --- a/app/models/ckb_sync/transaction_parser.rb +++ b/app/models/ckb_sync/transaction_parser.rb @@ -93,7 +93,7 @@ def prepare_cell_outputs_params if output_data != "0x" @cell_data_attrs << { - data: output_data, + data: binary_data, cell_index: index, tx_hash: transaction.hash, } diff --git a/lib/tasks/migration/fill_contracts_info.rake b/lib/tasks/migration/fill_contracts_info.rake index bbc6933d0..c65d8ef43 100644 --- a/lib/tasks/migration/fill_contracts_info.rake +++ b/lib/tasks/migration/fill_contracts_info.rake @@ -51,7 +51,7 @@ namespace :migration do { code_hash: "0xe4d4ecc6e5f9a059bf2f7a82cca292083aebc0c421566a52484fe2ec51a9fb0c", hash_type: "type", name: "CHEQUE", tx_hashes: ["0x04632cc459459cf5c9d384b43dee3e36f542a464bdd4127be7d6618ac6f8d268-0"], - dep_type: "code", + dep_type: "dep_group", description: "" }, { code_hash: "0x1122a4fb54697cf2e6e3a96c9d80fd398a936559b90954c6e88eb7ba0cf652df", hash_type: "type", name: "CoTA", @@ -74,7 +74,6 @@ namespace :migration do tx_hashes: ["0x0f0c22372a05f3c5f47acb066c65f9bae86bdce043762310e50309cc5a77abd4-0"], dep_type: "dep_group", description: "" }, - { code_hash: "0x000f87062a2fe9bb4a6cc475212ea11014b84deb32e0375ee51e6ec4a553e009", hash_type: "type", name: "Godwoken Custodian Lock", tx_hashes: ["0x71b55e3641fdc8d00d9943a93b2c6e6ab42f7e57909009c2a1ad5c234956cdc5-0"],