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

Fix/sync spore udt info #1460

Merged
merged 29 commits into from
Sep 22, 2023
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
0133f73
Merge pull request #1349 from nervosnetwork/develop
Keith-CY Jul 28, 2023
2f07029
Merge pull request #1353 from nervosnetwork/develop
Keith-CY Aug 1, 2023
2f6b78f
Merge pull request #1361 from nervosnetwork/develop
rabbitz Aug 2, 2023
44e3491
Merge pull request #1365 from nervosnetwork/develop
zmcNotafraid Aug 2, 2023
9578fd7
Merge pull request #1370 from nervosnetwork/develop
zmcNotafraid Aug 9, 2023
feeeaef
Merge pull request #1377 from nervosnetwork/develop
zmcNotafraid Aug 9, 2023
4a8e408
Merge pull request #1382 from nervosnetwork/develop
zmcNotafraid Aug 11, 2023
1b5ab56
Merge pull request #1385 from nervosnetwork/develop
rabbitz Aug 21, 2023
19a53d4
Merge pull request #1397 from nervosnetwork/develop
rabbitz Aug 21, 2023
8525776
Merge pull request #1398 from nervosnetwork/develop
zmcNotafraid Aug 25, 2023
36f754c
Merge pull request #1410 from nervosnetwork/develop
rabbitz Aug 26, 2023
680abb6
Merge pull request #1412 from nervosnetwork/develop
zmcNotafraid Aug 29, 2023
c457c59
Merge pull request #1415 from nervosnetwork/develop
Keith-CY Aug 29, 2023
b2dfc17
Merge pull request #1418 from nervosnetwork/develop
zmcNotafraid Aug 29, 2023
d773622
Merge pull request #1420 from nervosnetwork/develop
zmcNotafraid Aug 30, 2023
ca0a630
Merge pull request #1422 from nervosnetwork/develop
rabbitz Aug 31, 2023
bb754f7
Merge pull request #1424 from nervosnetwork/develop
zmcNotafraid Aug 31, 2023
557248d
Merge pull request #1426 from nervosnetwork/develop
rabbitz Aug 31, 2023
24a4224
Merge pull request #1429 from nervosnetwork/develop
Keith-CY Sep 4, 2023
a8ad48e
Merge pull request #1430 from nervosnetwork/develop
rabbitz Sep 4, 2023
37fabab
Merge pull request #1433 from nervosnetwork/develop
rabbitz Sep 5, 2023
7f6dcc7
Merge pull request #1435 from nervosnetwork/develop
rabbitz Sep 6, 2023
ba54117
Merge pull request #1439 from nervosnetwork/develop
rabbitz Sep 12, 2023
8ab6232
Merge pull request #1444 from nervosnetwork/develop
rabbitz Sep 12, 2023
6dec9b6
Merge pull request #1447 from nervosnetwork/develop
zmcNotafraid Sep 13, 2023
54c493c
Merge pull request #1452 from nervosnetwork/develop
rabbitz Sep 15, 2023
c875e78
fix: sync spore udt info error
rabbitz Sep 22, 2023
2d7d454
Merge pull request #1459 from rabbitz/fix/sync_spore_udt_info
rabbitz Sep 22, 2023
f667d80
Merge branch 'testnet' into fix/sync_spore_udt_info
rabbitz Sep 22, 2023
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
1 change: 1 addition & 0 deletions app/utils/ckb_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ def self.parse_spore_cluster_data(hex_data)
description_offset = [data.slice(16, 8)].pack("H*").unpack1("l") * 2
name = [data.slice(name_offset + 8..description_offset - 1)].pack("H*")
description = [data.slice(description_offset + 8..-1)].pack("H*")
name = "#{name[0,97]}..." if name.length > 100
{ name: name, description: description }
rescue => _e
{ name: nil, description: nil }
Expand Down