memory to calldata for external functions in WormholeRelayerSend
This commit is contained in:
parent
9e6fa2fb77
commit
42fcaad884
|
@ -36,7 +36,7 @@ abstract contract WormholeRelayerSend is WormholeRelayerBase, IWormholeRelayerSe
|
|||
function sendPayloadToEvm(
|
||||
uint16 targetChain,
|
||||
address targetAddress,
|
||||
bytes memory payload,
|
||||
bytes calldata payload,
|
||||
TargetNative receiverValue,
|
||||
Gas gasLimit
|
||||
) external payable returns (uint64 sequence) {
|
||||
|
@ -58,7 +58,7 @@ abstract contract WormholeRelayerSend is WormholeRelayerBase, IWormholeRelayerSe
|
|||
function sendPayloadToEvm(
|
||||
uint16 targetChain,
|
||||
address targetAddress,
|
||||
bytes memory payload,
|
||||
bytes calldata payload,
|
||||
TargetNative receiverValue,
|
||||
Gas gasLimit,
|
||||
uint16 refundChain,
|
||||
|
@ -82,7 +82,7 @@ abstract contract WormholeRelayerSend is WormholeRelayerBase, IWormholeRelayerSe
|
|||
function sendVaasToEvm(
|
||||
uint16 targetChain,
|
||||
address targetAddress,
|
||||
bytes memory payload,
|
||||
bytes calldata payload,
|
||||
TargetNative receiverValue,
|
||||
Gas gasLimit,
|
||||
VaaKey[] memory vaaKeys
|
||||
|
@ -105,10 +105,10 @@ abstract contract WormholeRelayerSend is WormholeRelayerBase, IWormholeRelayerSe
|
|||
function sendVaasToEvm(
|
||||
uint16 targetChain,
|
||||
address targetAddress,
|
||||
bytes memory payload,
|
||||
bytes calldata payload,
|
||||
TargetNative receiverValue,
|
||||
Gas gasLimit,
|
||||
VaaKey[] memory vaaKeys,
|
||||
VaaKey[] calldata vaaKeys,
|
||||
uint16 refundChain,
|
||||
address refundAddress
|
||||
) external payable returns (uint64 sequence) {
|
||||
|
@ -158,7 +158,7 @@ abstract contract WormholeRelayerSend is WormholeRelayerBase, IWormholeRelayerSe
|
|||
function forwardPayloadToEvm(
|
||||
uint16 targetChain,
|
||||
address targetAddress,
|
||||
bytes memory payload,
|
||||
bytes calldata payload,
|
||||
TargetNative receiverValue,
|
||||
Gas gasLimit
|
||||
) external payable {
|
||||
|
@ -182,10 +182,10 @@ abstract contract WormholeRelayerSend is WormholeRelayerBase, IWormholeRelayerSe
|
|||
function forwardVaasToEvm(
|
||||
uint16 targetChain,
|
||||
address targetAddress,
|
||||
bytes memory payload,
|
||||
bytes calldata payload,
|
||||
TargetNative receiverValue,
|
||||
Gas gasLimit,
|
||||
VaaKey[] memory vaaKeys
|
||||
VaaKey[] calldata vaaKeys
|
||||
) external payable {
|
||||
(address deliveryProvider,) =
|
||||
getOriginalOrDefaultDeliveryProvider(targetChain);
|
||||
|
|
Loading…
Reference in New Issue