opengsn / gsn

GSN v3.0.0-beta.10 - Ethereum Gas Station Network
https://opengsn.org/
590 stars 210 forks source link

ERROR: GET https://client-config.opengsn.org/3.0.0-beta.9/client-config.json 404 #990

Open Xiaxuhui opened 1 year ago

Xiaxuhui commented 1 year ago

Describe the bug Static resource not found

Steps To Reproduce Steps to reproduce the behavior:

import { RelayProvider } from '@opengsn/provider';
import {  Contract, Wallet } from 'ethers';
  const transfer = (
    from: string,
    to: string,
    amount: number,
    privateKey: string,
  )  => {
    const wallet = new Wallet(privateKey, this.provider);
    try {
      const { gsnSigner } = await RelayProvider.newEthersV5Provider({
        provider: wallet,
        config: {
          paymasterAddress: this.paymasterAddress,
          performDryRunViewRelayCall: false,
        },
      }).catch((_err) => {
        return {} as any;
      });

     // ...
     // ...
      const contract = new Contract(
        this.contractAddress,
        ERC20ContractABI,
        gsnSigner,
      );
      const transferTx = await contract.transferFrom(from, to, value, {
        gasPrice,
        gasLimit,
      });
      return transferTx;
    } catch (err) {
      return err;
    }
  }
   transition = await web3Transfer.transfer(
        publicKey,
        address,
        +amount,
        privateKey!,
      );

Expected behavior https://client-config.opengsn.org/3.0.0-beta.9/client-config.json can be found

louis-md commented 11 months ago

Same problem here with v.3.0.0-beta.10

vaske commented 1 month ago

any updates on this one? I'm still seeing this on v3.0.0-beta.10