revm icon indicating copy to clipboard operation
revm copied to clipboard

Implement Precompiles::remove

Open kpp opened this issue 9 months ago • 1 comments

In previous versions it was possible to remove precompiles with:

let p = precompiles.to_mut();
p.remove(address);

Would you please provide the same functionality or tell me a suitable API for you so I can implement it?

kpp avatar Apr 06 '25 19:04 kpp

Hmm, you would need your own struct that implements PrecompileProvider, something similar to EthPrecompiles or OpPrecompiles.

rakita avatar Apr 06 '25 21:04 rakita