Skip to content

Commit 5548a79

Browse files
authored
feat: increase gas limit for receiving executor in enforced options (#83)
1 parent 09761d4 commit 5548a79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/bridges/layerZero/IexecLayerZeroBridge.s.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ contract Configure is Script {
7373
targetParams.lzChainId, bytes32(uint256(uint160(targetParams.iexecLayerZeroBridgeAddress)))
7474
);
7575
EnforcedOptionParam[] memory enforcedOptions = new EnforcedOptionParam[](2);
76-
bytes memory _extraOptions = OptionsBuilder.newOptions().addExecutorLzReceiveOption(70_000, 0); // 70_000 gas limit for the receiving executor and 0 for the executor's value
76+
bytes memory _extraOptions = OptionsBuilder.newOptions().addExecutorLzReceiveOption(90_000, 0); // 90_000 gas limit for the receiving executor and 0 for the executor's value
7777
enforcedOptions[0] = EnforcedOptionParam(targetParams.lzChainId, 1, _extraOptions); // lzReceive
7878
enforcedOptions[1] = EnforcedOptionParam(targetParams.lzChainId, 2, _extraOptions); // lzCompose
7979
sourceBridge.setEnforcedOptions(enforcedOptions);

0 commit comments

Comments
 (0)