Instead of using a hardcoded list of chains where simulation isn't supported, use CGW/config service to get the config of the current chain and check its features list.
How this PR fixes it
I've replaced a hardcoded array of chain ids with an async call to CGW. I've added useAsync from the wallet repo for this.
What it solves
Instead of using a hardcoded list of chains where simulation isn't supported, use CGW/config service to get the config of the current chain and check its features list.
How this PR fixes it
I've replaced a hardcoded array of chain ids with an async call to CGW. I've added
useAsync
from the wallet repo for this.