Currently we use laos-evolution pallet through a LaosEvolution trait and there is no notion of weights for precompile calls.
Solution for this is to start following the pattern that moonbeam, astar and other EVM chains use: dispatch precompile calls to the respective extrinsic of the pallet. However, since we don't want to allow external calls from Substrate side, we might want to restrict the origin for the pallet extrinsics, i.e have a custom PrecompileOrigin
Currently we use
laos-evolution
pallet through aLaosEvolution
trait and there is no notion of weights for precompile calls.Solution for this is to start following the pattern that
moonbeam
,astar
and other EVM chains use: dispatch precompile calls to the respective extrinsic of the pallet. However, since we don't want to allow external calls from Substrate side, we might want to restrict the origin for the pallet extrinsics, i.e have a customPrecompileOrigin