opengsn / workshop

About A sample project to how how to add GSN to a simple Web3 project. See the PRs to see the needed changes. NOTE: the video was created for a previous version
https://youtu.be/tb4hkbofmou
GNU General Public License v3.0
32 stars 24 forks source link

Fail to relay calls: #13

Closed omryozgrappa closed 1 year ago

omryozgrappa commented 1 year ago

Hi, I'm trying to relay calls on polygon using a custom paymaster which already been funded however i get the following error:

Relaying errors (1): https://polygon.3-0-0-beta-3.opengsn.org/v3 => local view call to 'relayCall()' reverted: view call to 'relayCall' reverted in client: {"code":-32603,"message":"Internal JSON-RPC error.","data":{"code":-32000,"message":"err: insufficient funds for gas price + value: address 0x434EFBCA662f6F846f8DeC3fdE52Fac4c8792e03 have 2550816605859437982 want 3273095523480000000 (supplied gas 12000000)"}} stack:Error: local view call to 'relayCall()' reverted: view call to 'relayCall' reverted in client: {"code":-32603,"message":"Internal JSON-RPC error.","data":{"code":-32000,"message":"err: insufficient funds for gas price + value: address 0x434EFBCA662f6F846f8DeC3fdE52Fac4c8792e03 have 2550816605859437982 want 3273095523480000000 (supplied gas 12000000)"}}

I'm using the following configuration: {logLevel: 'debug'}, paymasterAddress: '0xFcA1200C2f42197539b70d17714eEf98D1af8204', performDryRunViewRelayCall: false, minMaxPriorityFeePerGas: 82716215680, // maxViewableGasLimit: '3157770248985000000',

        }

I've tried to set the maxViewableGasLimit but nothing helped.