You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hardhat chai matchers need access to historical balances and state. If possible we should implement eth_getBalance and eth_call for historical (non-latest) blocks.
🤔 Rationale
People use changeEtherBalance and chnageTokenBalance hardhat-chai-matchers. We claim right now that hardhat-chai-matchers just work, but this is not the case
📋 Additional Context
This is the essence of implementation of .changedEtherBalance in hardhat-chai-matchers:
Apologies on the delay here. We currently do not have this planned and its something we currently do not support but perhaps we should considering supporting to some extent given anvil-zksync deliberate purpose to be used in testing.
We will add it to the anvil-zksync board to be discussed for next planning session.
🌟 Feature Request
📝 Description
Hardhat chai matchers need access to historical balances and state. If possible we should implement
eth_getBalance
andeth_call
for historical (non-latest) blocks.🤔 Rationale
People use
changeEtherBalance
andchnageTokenBalance
hardhat-chai-matchers. We claim right now that hardhat-chai-matchers just work, but this is not the case📋 Additional Context
This is the essence of implementation of
.changedEtherBalance
in hardhat-chai-matchers:The text was updated successfully, but these errors were encountered: