aave / aave-utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

expose chainId on contract level

sakulstra opened this issue · comments

commented

Feature Request

At multiple places we call provider.getNetwork which is kinda unnecessary rpc call.
We might want to provide it to the contract or fetch it only once & cache it instead.