Open MaxMustermann2 opened 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(...)).
IPrecompileInterface(PRECOMPILE_ADDRESS).func
address(PRECOMPILE_ADDRESS).staticcall(func(...))
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 usingaddress(PRECOMPILE_ADDRESS).staticcall(func(...))
.