title: Trying to call a web3 smart contract function causes firebase deploy to fail
body: <p>I am trying to call a view method in a web3smart contract using the web3 library for Typescript. I can run the function locally, and even when using the firebase emulator everything works without any problems.</p>
  <p>For some reason when I try to deploy this function using the command <code>firebase deploy </code>, it reverts with the following error message:</p>
  <pre><code>✔  functions: required API cloudfunctions.googleapis.com is enabled
  i  functions: preparing functions directory for uploading...
  i  functions: packaged /home/eduardo/projects/institutional_backend/functions (165.91 KB) for uploading
  ✔  functions: functions folder uploaded successfully
  i  functions: updating Node.js 16 function fetchWeb3Call(us-central1)...
  
  Functions deploy had errors with the following functions:
      fetchWeb3Call(us-central1)
  i  functions: cleaning up build files...
  
  Error: There was an error deploying functions 
  </code></pre>
  <p>The code goes as follows:</p>
  <pre><code>import fuji = require('./fuji.json')
  import controller = require('./abi/controller.json')
  
  import Web3 from 'web3';
  import { AbiItem } from 'web3-utils';
  
  export async function fetchWeb3Call() {
  
      const contracsAddrs = fuji.addresses;
  
      const web3 = new Web3('https://api.avax-test.network/ext/bc/C/rpc');
      const contract = new web3.eth.Contract(controller as AbiItem[], contracsAddrs.contractAddress);
      const allCollateral = await contract.methods.contractFuction().call();
      console.log(allCollateral)
  }
  </code></pre>
  <p>Is this some kind of firebase policy against interacting with web3 contracts? There is no apparent reason for this behavior.</p>