@layerzerolabs/lz-evm-v1-0.7 2.1.2 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/RelayerV2.sol +7 -1
- package/package.json +1 -1
package/contracts/RelayerV2.sol
CHANGED
|
@@ -130,7 +130,13 @@ contract RelayerV2 is ReentrancyGuard, OwnableUpgradeable, Proxied, ILayerZeroRe
|
|
|
130
130
|
nativeDecimalsRate = _nativeDecimalsRate;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
function onUpgrade(
|
|
133
|
+
function onUpgrade(
|
|
134
|
+
address _stargateBridgeAddr,
|
|
135
|
+
address _stargateComposer,
|
|
136
|
+
uint256 _nativeDecimalsRate
|
|
137
|
+
) public proxied {
|
|
138
|
+
stargateBridgeAddr = _stargateBridgeAddr;
|
|
139
|
+
stargateComposer = IStargateComposer(_stargateComposer);
|
|
134
140
|
nativeDecimalsRate = _nativeDecimalsRate;
|
|
135
141
|
}
|
|
136
142
|
|