Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Xiaxuhui opened this issue Aug 23, 2023 · 3 comments

Comments

@Xiaxuhui
Copy link

Describe the bug
Static resource not found

Steps To Reproduce
Steps to reproduce the behavior:

  • I defined a method
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;
    }
  }
  • I call
   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
Copy link

Same problem here with v.3.0.0-beta.10

@vaske
Copy link

vaske commented Jul 22, 2024

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

@lbadger
Copy link

lbadger commented Oct 11, 2024

I am also seeing this issue on v3.0.0-beta.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants