darwinia-network / legacy-apps

Legacy apps of Darwinia Network
https://legacy-apps.vercel.app
Apache License 2.0
7 stars 3 forks source link

fix(#296): get available balances from custom hooks #298

Closed chunqiuyiyu closed 2 years ago

WoeOm commented 2 years ago

296 bug 是 types 引起的

chunqiuyiyu commented 2 years ago

296 bug 是 types 引起的

意思是解决这个问题不需要修改数据的获取方式,更新 types 就可以了吗?

WoeOm commented 2 years ago

296 bug 是 types 引起的

意思是解决这个问题不需要修改数据的获取方式,更新 types 就可以了吗?

看 issue 截图,大概率是这个问题。 @sxlwar pangoro balance 相关 types 是否有修改

sxlwar commented 2 years ago

看 issue 截图,大概率是这个问题。 @sxlwar pangoro balance 相关 types 是否有修改

没改过,和 pangolin 是一样的

WoeOm commented 2 years ago
{
  "AccountInfo": "AccountInfoWithTripleRefCount"
}

少了这个类型 @sxlwar evolution.js 中,pangoro 的 specVersion 和 crab 是同一个文件,可能没生效

hackfisher commented 2 years ago

@chunqiuyiyu Is this fixed? Can we close this?

@sxlwar Please help review this.

chunqiuyiyu commented 2 years ago

@chunqiuyiyu Is this fixed? Can we close this?

@sxlwar Please help review this.

This PR is incorrect, I will close it.