Add warning about issue with Arbitrum cross-chain utilities (#3626)

This commit is contained in:
Francisco
2022-08-17 13:07:36 -03:00
committed by GitHub
parent 4ae655c368
commit 6729fec74a
2 changed files with 10 additions and 0 deletions

View File

@ -17,6 +17,11 @@ import "./LibArbitrumL2.sol";
* this specialization of {CrossChainEnabled} does not include a constructor. * this specialization of {CrossChainEnabled} does not include a constructor.
* *
* _Available since v4.6._ * _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 { abstract contract CrossChainEnabledArbitrumL2 is CrossChainEnabled {
/** /**

View File

@ -12,6 +12,11 @@ import "../errors.sol";
* *
* This version should only be used on L2 to process cross-chain messages * This version should only be used on L2 to process cross-chain messages
* originating from L1. For the other side, use {LibArbitrumL1}. * 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 { library LibArbitrumL2 {
/** /**