From 6729fec74ab7f2e896a303b5c5d661062ab127c8 Mon Sep 17 00:00:00 2001 From: Francisco Date: Wed, 17 Aug 2022 13:07:36 -0300 Subject: [PATCH] Add warning about issue with Arbitrum cross-chain utilities (#3626) --- .../crosschain/arbitrum/CrossChainEnabledArbitrumL2.sol | 5 +++++ contracts/crosschain/arbitrum/LibArbitrumL2.sol | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/contracts/crosschain/arbitrum/CrossChainEnabledArbitrumL2.sol b/contracts/crosschain/arbitrum/CrossChainEnabledArbitrumL2.sol index 16ebcc950..e8d2acecd 100644 --- a/contracts/crosschain/arbitrum/CrossChainEnabledArbitrumL2.sol +++ b/contracts/crosschain/arbitrum/CrossChainEnabledArbitrumL2.sol @@ -17,6 +17,11 @@ import "./LibArbitrumL2.sol"; * this specialization of {CrossChainEnabled} does not include a constructor. * * _Available since v4.6._ + * + * WARNING: There is currently a bug in Arbitrum that causes this contract to + * fail to detect cross-chain calls when deployed behind a proxy. This will be + * fixed when the network is upgraded to Arbitrum Nitro, currently scheduled for + * August 31st 2022. */ abstract contract CrossChainEnabledArbitrumL2 is CrossChainEnabled { /** diff --git a/contracts/crosschain/arbitrum/LibArbitrumL2.sol b/contracts/crosschain/arbitrum/LibArbitrumL2.sol index 6db146eca..ca3fd45ff 100644 --- a/contracts/crosschain/arbitrum/LibArbitrumL2.sol +++ b/contracts/crosschain/arbitrum/LibArbitrumL2.sol @@ -12,6 +12,11 @@ import "../errors.sol"; * * This version should only be used on L2 to process cross-chain messages * originating from L1. For the other side, use {LibArbitrumL1}. + * + * WARNING: There is currently a bug in Arbitrum that causes this contract to + * fail to detect cross-chain calls when deployed behind a proxy. This will be + * fixed when the network is upgraded to Arbitrum Nitro, currently scheduled for + * August 31st 2022. */ library LibArbitrumL2 { /**