Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy to testnet #1574

Merged
merged 28 commits into from
Jan 18, 2024
Merged
Changes from 2 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a663d3c
Merge pull request #1478 from nervosnetwork/testnet
zmcNotafraid Oct 20, 2023
9119781
Merge pull request #1485 from nervosnetwork/testnet
zmcNotafraid Oct 23, 2023
9ccfdd4
Merge pull request #1492 from nervosnetwork/testnet
rabbitz Nov 6, 2023
1fefe97
Merge pull request #1495 from nervosnetwork/testnet
rabbitz Nov 7, 2023
2f06417
feat: adjust halving miner reward (#1505)
zmcNotafraid Nov 19, 2023
30ae902
Fix conflict with testnet branch
zmcNotafraid Nov 20, 2023
f7a912f
Merge pull request #1511 from zmcNotafraid/fix-conflict-with-testnet
zmcNotafraid Nov 20, 2023
b926c32
Merge pull request #1516 from nervosnetwork/testnet
zmcNotafraid Nov 27, 2023
fdd9cb1
Merge pull request #1521 from nervosnetwork/testnet
rabbitz Dec 1, 2023
ef6b728
Merge pull request #1524 from nervosnetwork/testnet
zmcNotafraid Dec 4, 2023
cd8c2c5
Merge pull request #1527 from nervosnetwork/testnet
zmcNotafraid Dec 8, 2023
c311576
Merge pull request #1529 from nervosnetwork/testnet
rabbitz Dec 26, 2023
7c006dc
Merge pull request #1545 from nervosnetwork/testnet
zmcNotafraid Dec 29, 2023
5377096
Merge pull request #1549 from nervosnetwork/testnet
zmcNotafraid Jan 2, 2024
9749704
Merge pull request #1552 from nervosnetwork/testnet
rabbitz Jan 2, 2024
676d60b
Merge pull request #1556 from nervosnetwork/testnet
zmcNotafraid Jan 16, 2024
08e498c
fix: xudt mainnet hash_type was data1
zmcNotafraid Jan 16, 2024
ad48ce8
Merge pull request #1572 from zmcNotafraid/issue-508-12
zmcNotafraid Jan 16, 2024
9b711fb
Merge released refs/heads/master into develop (#1573)
github-actions[bot] Jan 16, 2024
0919c22
feat: download csv of omiga_inscription transactions (#1571)
zmcNotafraid Jan 17, 2024
0950030
chore: optimize cell_type query
rabbitz Jan 18, 2024
5569f27
Merge pull request #1575 from rabbitz/feat/block_syncer
rabbitz Jan 18, 2024
f9bcac8
Merge released refs/heads/master into develop (#1576)
github-actions[bot] Jan 18, 2024
84dd41e
fix: fetch net mode use env
rabbitz Jan 18, 2024
30e5d3d
Merge pull request #1579 from rabbitz/feat/block_syncer
rabbitz Jan 18, 2024
7b3a95f
Merge branch 'develop' into master
Keith-CY Jan 18, 2024
0073a0b
Merge pull request #1580 from nervosnetwork/master
Keith-CY Jan 18, 2024
5657e8c
chore: add new relic method tracer (#1581)
zmcNotafraid Jan 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/utils/ckb_utils.rb
Original file line number Diff line number Diff line change
@@ -416,7 +416,8 @@ def self.cell_type(type_script, output_data)
[
CkbSync::Api.instance.spore_cluster_code_hash,
*CkbSync::Api.instance.spore_cell_code_hashes,
].include?(type_script&.code_hash) && type_script&.hash_type == "data1"
].include?(type_script&.code_hash) && type_script&.hash_type == "data1" ||
CkbSync::Api.instance.mode == CKB::MODE::MAINNET && [CkbSync::Api.instance.xudt_code_hash].include?(type_script&.code_hash) && type_script&.hash_type == "data1"

case type_script&.code_hash
when Settings.dao_code_hash, Settings.dao_type_hash