InkWhale-net / frontend

Apache License 2.0
0 stars 1 forks source link

Create token: supply 18 số 0 thì không tạo được token mới #393

Open Shinie16 opened 7 months ago

Shinie16 commented 7 months ago

if the number of Total Supply is too large, the transaction will not be completed successfully, but no error was displayed on the website. Also, if the number contains a colon, the supply is recognized as 0. In addition, I think it would be better to use a thick border or a different color for areas that the user cannot fill in(or make the input bold).

phoebehoang85 commented 7 months ago

Test: Gas balance: 435,148.4727 / 435,148.4117 Supply: 1,000,000,000,000,000,000 (18 số 0) Chỉ toast Step 1 không cho kí ví Có lúc cho kí ví nhưng không thành công (không có kết quả token mới create) Nếu thử với supply 15 số 0 thì vẫn chạy ok. --> có giới hạn supply không? nếu không thì check lại fix lỗi, nếu có giới hạn thì báo đỏ luôn ở phần note bên dưới ô supply và không cho viết quá số kí tự image

image

phoebehoang85 commented 6 months ago

Chưa được @huyp26102000 ơi Trên 5ire ok, trên testnet chỉ toast step 1 là hết không chạy nữa

image

phoebehoang85 commented 6 months ago

@huyp26102000 chưa được mà em ơi?

Toast như này, kí xong toast lỗi, token chưa lên image

Nếu đang create chưa kí ví mà cancel thì toast vẫn chạy như là create xong rồi

image

huyp26102000 commented 6 months ago

@phoebehoang85 nhờ chị check giúp

Shinie16 commented 6 months ago

@huyp26102000 Tạo token với total supply vẫn cho approval ví, nên đổi lại thông báo lỗi là trường total supply phải lớn hơn 0 nhỉ @langdon0003 image

huyp26102000 commented 6 months ago

@Shinie16 đã fix ạ