Closed
Description
Background
Currently, there are several Lumos modules was reimplemented in Neuron, this results in higher maintenance cost for Neuron as the reimplementation causes us to rewrite unit tests
List
- neuron-wallet
-
LumosCell
->lumos/base/Cell
- not compatible -
LumosCellQuery
->lumos/ckb-indexer/QueryOptions
- compatible -
IndexerCacheService.fetchTxMapping
->TransactionCollector
with grouped transaction feature- Move to backlog
-
-
HexUtils
->@ckb-lumos/codec
- compatible #187 - many
HexString === HexString
->bytes.equal
to avoid0xAA !== 0xaa
- Not found / Not important for now
-
shannonToCKB
,sudtValueToAmount
->BI.formatUnit
- refactor: rewrite shannonToCKB with lumos formatUnit nervosnetwork/neuron#3114
- refactor: rewrite sudtValueToAmount with formatUnit in neuron-wallet nervosnetwork/neuron#3119
- refactor: rewrite sudtValueToAmount with formatUnit in neuron-ui nervosnetwork/neuron#3126
- refactor: rewrite shannonToCKBFormatter with formatUnit nervosnetwork/neuron#3129
-
models/blake2b
->lumos/base/utils/blake2b
-
models/multisig
->lumos/base/since
- refactor all the
ckb indexer url
with theckb url
, since the CKB Indexer has been integrated into CKB -
models/keys
->@ckb-lumos/hd
@nervosnetwork/ckb-sdk-x
can be refactored with the lumos-
Refactor ckb-sdk-utils by lumos #201
- refactor: remove address and script convertion from ckb-sdk-js nervosnetwork/neuron#2801
- refactor: use lumos to calculate script hash nervosnetwork/neuron#2802
- refactor: remove usage of serialization methods from ckb-sdk-js nervosnetwork/neuron#2803
- refactor: remove systemScripts from ckb-sdk-js nervosnetwork/neuron#2814
- refactor: remove ckb-sdk-js from dependency list nervosnetwork/neuron#2817
-
the global variable
ckbCore
-
@nervosnetwork/ckb-sdk-utils
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done