You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I calling wormholeRelayer.quoteEVMDeliveryPrice on acala mainnet, it return error
Steps to reproduce
deploy hello wormhole contract which have a logic to call the wormholeRelayer.quoteEVMDeliveryPrice on acala mainnet
call your method which call wormholeRelayer.quoteEVMDeliveryPrice
Experienced behavior
it shows the error
Error: ContractFunctionExecutionError: The contract function"quoteCrossChainMessage" reverted with the following reason:
Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).
Contract Call:
address: 0xf9982e648ee8f9e3e9039b0071ba939c3bc19652
function: quoteCrossChainMessage(uint16 targetChain)
args: (12)
Expected behavior
it should return a bigint as cost for the cross message call.
Description and context
When I calling
wormholeRelayer.quoteEVMDeliveryPrice
on acala mainnet, it return errorSteps to reproduce
wormholeRelayer.quoteEVMDeliveryPrice
on acala mainnetwormholeRelayer.quoteEVMDeliveryPrice
Experienced behavior
it shows the error
Expected behavior
it should return a bigint as cost for the cross message call.
Solution recommendation
I dig into the source code, find two code:
wormhole/relayer/ethereum/contracts/relayer/deliveryProvider/DeliveryProvider.sol
Line 42 in 78771ff
wormhole/relayer/ethereum/contracts/relayer/deliveryProvider/DeliveryProviderSetters.sol
Line 79 in 78771ff
It maybe cause by the
setAssetConversionBuffer
that admin input0
astoleranceDenominator
?The text was updated successfully, but these errors were encountered: