Skip to content

Commit

Permalink
Merge pull request #2264 from nervosnetwork/testnet
Browse files Browse the repository at this point in the history
Deploy to mainnet
  • Loading branch information
zmcNotafraid authored Oct 29, 2024
2 parents e9df744 + cf07f62 commit c63698c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,7 @@ GEM
redis-objects (2.0.0.beta)
redis (~> 5.0)
regexp_parser (2.7.0)
rexml (3.3.6)
strscan
rexml (3.3.9)
rubocop (1.50.1)
json (~> 2.3)
parallel (~> 1.10)
Expand Down Expand Up @@ -459,7 +458,6 @@ GEM
spring-watcher-listen (2.1.0)
listen (>= 2.7, < 4.0)
spring (>= 4)
strscan (3.1.0)
thor (1.3.1)
timeout (0.4.1)
timers (4.3.5)
Expand Down
2 changes: 1 addition & 1 deletion app/jobs/import_transaction_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def process_deployed_cell(lock_script_or_type_script)

dep =
case lock_script_or_type_script.hash_type
when "data", "data1"
when "data", "data1", "data2"
by_data_hash[lock_script_or_type_script.code_hash]
when "type"
by_type_hash[lock_script_or_type_script.code_hash]
Expand Down
2 changes: 1 addition & 1 deletion app/models/deployed_cell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def self.create_initial_data_for_ckb_transaction(ckb_transaction, cell_deps)
scripts.each do |lock_script_or_type_script|
dep =
case lock_script_or_type_script.hash_type
when "data", "data1"
when "data", "data1", "data2"
by_data_hash[lock_script_or_type_script.code_hash]
when "type"
by_type_hash[lock_script_or_type_script.code_hash]
Expand Down

0 comments on commit c63698c

Please sign in to comment.