@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.
@@ -130,7 +130,13 @@ contract RelayerV2 is ReentrancyGuard, OwnableUpgradeable, Proxied, ILayerZeroRe
130
130
  nativeDecimalsRate = _nativeDecimalsRate;
131
131
  }
132
132
 
133
- function onUpgrade(uint256 _nativeDecimalsRate) public proxied {
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/lz-evm-v1-0.7",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "license": "BUSL-1.1",
5
5
  "files": [
6
6
  "contracts/**/*"