Closed ivanmmurciaua closed 2 years ago
in my case this command in the terminal before run gsn start worked:
export NODE_OPTIONS=--openssl-legacy-provider
but then when I use then relayhub address for funding the relayhub I get this error:
Error: VM Exception while processing transaction: reverted with reason string 'target is not a valid IRelayHub'
at WhitelistPaymaster.setRelayHub (@opengsn/contracts/src/BasePaymaster.sol:99)
Hi @albatros-github . My issue dissapeared just using Node 16 instead 19 with nvm use 16
. I think this issue could be closed.
Hi @albatros-github . My issue dissapeared just using Node 16 instead 19 with
nvm use 16
. I think this issue could be closed.
hi @ivanmmurciaua did you setRelayHub in the local paymaster using gsn start without any problem?
I get this error: Error: VM Exception while processing transaction: reverted with reason string 'target is not a valid IRelayHub'
//SPDX-License-Identifier: MIT pragma solidity ^0.8.7;
import "@opengsn/paymasters/contracts/WhitelistPaymaster.sol"; import "@opengsn/contracts/src/RelayHub.sol";
on deploy script with hardhat-deploy
const RelayHub = await ethers.getContractFactory("RelayHub"); const relayHub = await RelayHub.attach(RELAY_HUB);
const whitelistPaymaster = await ethers.getContract("WhitelistPaymaster", deployer) await whitelistPaymaster.setRelayHub(RELAY_HUB_ADDRESS_FROM_GSNStart);
Hi,
I try to make
npx gsn start
and returns me this error:Manjaro Linux; Build ID: rolling 64 bits Truffle v5.6.0 (core: 5.6.0) Ganache v7.4.3 Solidity - 0.8.17 (solc-js) Node v18.10.0 Web3.js v1.7.4