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
On a fresh sandbox, deploy one contract with a specific salt, send a transaction to it, deploy the same ABI with a different salt, try to send a transaction to it, it doesn't compute correctly the contract tree root
The cause is that we are caching membership witnesses, so after the first transfer the witness for the account contract and the token contract is cached. Then we deploy another contract and the witnesses are invalid. We should switch to only cache contract indexes, that is the only data that is both expensive to calculate and shouldn't change.
The text was updated successfully, but these errors were encountered:
The following sequence fails:
On a fresh sandbox, deploy one contract with a specific salt, send a transaction to it, deploy the same ABI with a different salt, try to send a transaction to it, it doesn't compute correctly the contract tree root
The cause is that we are caching membership witnesses, so after the first transfer the witness for the account contract and the token contract is cached. Then we deploy another contract and the witnesses are invalid. We should switch to only cache contract indexes, that is the only data that is both expensive to calculate and shouldn't change.
The text was updated successfully, but these errors were encountered: