Hi. I have this error transact to SaveLastBlockHash.save_last_hash errored: NotFoundError: Key not found in database [hn] when trying to interact with a deployed contract on Javascript VM (Berlin or London) using the online version of remix from a fresh chromium incognito session. Testing this with metamask on ropsten or with ganache-cli 6.12.2 (without remix) works fine.
I have found a simpler way to reproduce the exact same crash and edited the original post. My guess is that this error is because remix uses a quite old ganache version.
Hi. I have this error
transact to SaveLastBlockHash.save_last_hash errored: NotFoundError: Key not found in database [hn]
when trying to interact with a deployed contract on Javascript VM (Berlin or London) using the online version of remix from a fresh chromium incognito session. Testing this with metamask on ropsten or with ganache-cli 6.12.2 (without remix) works fine.Steps to reproduce:
SaveLastBlockHash.sol: