diff --git a/.ckb-light-version b/.ckb-light-version
index f0cfd3bb67..576b77719a 100644
--- a/.ckb-light-version
+++ b/.ckb-light-version
@@ -1 +1 @@
-v0.2.2
+v0.2.3
diff --git a/packages/neuron-ui/src/components/SUDTMigrateToExistAccountDialog/index.tsx b/packages/neuron-ui/src/components/SUDTMigrateToExistAccountDialog/index.tsx
index 06082136ca..2b27e7a47d 100644
--- a/packages/neuron-ui/src/components/SUDTMigrateToExistAccountDialog/index.tsx
+++ b/packages/neuron-ui/src/components/SUDTMigrateToExistAccountDialog/index.tsx
@@ -17,6 +17,7 @@ const SUDTMigrateToExistAccountDialog = ({
sUDTAccounts,
isMainnet,
walletID,
+ isLightClient,
}: {
cell: SpecialAssetCell
closeDialog: () => void
@@ -24,6 +25,7 @@ const SUDTMigrateToExistAccountDialog = ({
sUDTAccounts: State.SUDTAccount[]
isMainnet: boolean
walletID: string
+ isLightClient: boolean
}) => {
const [t] = useTranslation()
const [address, setAddress] = useState('')
@@ -92,6 +94,7 @@ const SUDTMigrateToExistAccountDialog = ({
onChange={onAddressChange}
value={address}
className={styles.addressInputSelect}
+ inputDisabeld={isLightClient}
/>
{addressError &&
{addressError}
}
diff --git a/packages/neuron-ui/src/components/SpecialAssetList/index.tsx b/packages/neuron-ui/src/components/SpecialAssetList/index.tsx
index 43e170ac89..0d23056d66 100644
--- a/packages/neuron-ui/src/components/SpecialAssetList/index.tsx
+++ b/packages/neuron-ui/src/components/SpecialAssetList/index.tsx
@@ -36,6 +36,7 @@ import {
useGetAssetAccounts,
} from './hooks'
import styles from './specialAssetList.module.scss'
+import { LIGHT_NETWORK_TYPE } from 'utils/const'
const { PAGE_SIZE } = CONSTANTS
@@ -113,6 +114,10 @@ const SpecialAssetList = () => {
} = useGlobalState()
const { suggestFeeRate } = useGetCountDownAndFeeRateStats()
const isMainnet = isMainnetUtil(networks, networkID)
+ const isLightClient = useMemo(() => networks.find(n => n.id === networkID)?.type === LIGHT_NETWORK_TYPE, [
+ networkID,
+ networks,
+ ])
const foundTokenInfo = tokenInfoList.find(token => token.tokenID === accountToClaim?.account.tokenID)
const accountNames = useMemo(() => sUDTAccounts.filter(v => !!v.accountName).map(v => v.accountName!), [sUDTAccounts])
const updateAccountDialogProps: SUDTUpdateDialogProps | undefined = accountToClaim?.account
@@ -384,6 +389,7 @@ const SpecialAssetList = () => {
sUDTAccounts={sUDTAccounts}
isMainnet={isMainnet}
walletID={id}
+ isLightClient={isLightClient}
/>
)}
diff --git a/packages/neuron-ui/src/widgets/InputSelect/index.tsx b/packages/neuron-ui/src/widgets/InputSelect/index.tsx
index bc7728a98e..6341b30953 100644
--- a/packages/neuron-ui/src/widgets/InputSelect/index.tsx
+++ b/packages/neuron-ui/src/widgets/InputSelect/index.tsx
@@ -16,6 +16,7 @@ export interface InputSelectProps {
onChange?: (value: string, arg?: SelectOptions) => void
value?: string
placeholder?: string
+ inputDisabeld?: boolean
}
function parseValue(value: string, options: SelectOptions[]) {
@@ -23,7 +24,7 @@ function parseValue(value: string, options: SelectOptions[]) {
return option?.value || value
}
-const Select = ({ value, options, placeholder, disabled, onChange, className }: InputSelectProps) => {
+const Select = ({ value, options, placeholder, disabled, onChange, className, inputDisabeld }: InputSelectProps) => {
const mounted = useRef(true)
const root = useRef(null)
const openRef = useRef(false)
@@ -121,7 +122,7 @@ const Select = ({ value, options, placeholder, disabled, onChange, className }:
tabIndex={0}
data-open={openRef.current}
>
-
+
{openRef.current ? (