ExocoreNetwork / exocore

5 stars 9 forks source link

evm: client chains precompile cannot be called directly #78

Open MaxMustermann2 opened 1 month ago

MaxMustermann2 commented 1 month ago

Most of our precompiles can be called by IPrecompileInterface(PRECOMPILE_ADDRESS).func, however, the client chains precompile errors out when attempting this. Instead, it is called by using address(PRECOMPILE_ADDRESS).staticcall(func(...)).