From 4cfaa55605f281a9d3fa9a2e34edf255c8329c69 Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Tue, 19 Nov 2024 12:40:13 +0300 Subject: [PATCH] immutable gas limit --- examples/nft/contracts/Connected.sol | 2 +- examples/nft/contracts/Universal.sol | 2 +- examples/token/contracts/Universal.sol | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/nft/contracts/Connected.sol b/examples/nft/contracts/Connected.sol index 9c19544..6bd78ee 100644 --- a/examples/nft/contracts/Connected.sol +++ b/examples/nft/contracts/Connected.sol @@ -20,7 +20,7 @@ contract Connected is GatewayEVM public immutable gateway; uint256 private _nextTokenId; address public counterparty; - uint256 public gasLimit; + uint256 public immutable gasLimit; error InvalidAddress(); error Unauthorized(); diff --git a/examples/nft/contracts/Universal.sol b/examples/nft/contracts/Universal.sol index af49446..66aaa4b 100644 --- a/examples/nft/contracts/Universal.sol +++ b/examples/nft/contracts/Universal.sol @@ -26,7 +26,7 @@ contract Universal is address public immutable uniswapRouter; uint256 private _nextTokenId; bool public isUniversal = true; - uint256 public gasLimit; + uint256 public immutable gasLimit; error TransferFailed(); error Unauthorized(); diff --git a/examples/token/contracts/Universal.sol b/examples/token/contracts/Universal.sol index f566869..ad4024a 100644 --- a/examples/token/contracts/Universal.sol +++ b/examples/token/contracts/Universal.sol @@ -16,7 +16,7 @@ contract Universal is ERC20, Ownable2Step, UniversalContract, Events { address public immutable uniswapRouter; uint256 private _nextTokenId; bool public isUniversal = true; - uint256 public gasLimit; + uint256 public immutable gasLimit; error TransferFailed(); error Unauthorized();