As requested by @ccamel, we need to update the lookupCost function to reference the module's default_predicate_cost configuration value instead of using a hard-coded constant. This change will ensure that the gas cost for unregistered (user-defined) predicates is configurable according to the module's parameters.
As requested by @ccamel, we need to update the
lookupCost
function to reference the module'sdefault_predicate_cost
configuration value instead of using a hard-coded constant. This change will ensure that the gas cost for unregistered (user-defined) predicates is configurable according to the module's parameters.PR URL: https://github.com/axone-protocol/axoned/pull/756
Comment URL: https://github.com/axone-protocol/axoned/pull/756#discussion_r1774589991
Requested by: @ccamel