Web: Getting an Error When Trying to Tip User

Created on 3 Apr 2018  路  10Comments  路  Source: gitcoinco/web

Pre-condition

  1. Via Metamask, be connected to the Main Ethereum Network

Steps to Reproduce

  1. Navigate to someone's Github profile and click the Tip User Button.
  2. Fill out the Amount of ETH. I am trying with 0.0001
  3. Agree to ToS and sent tip (or fill out info in Advanced, seeing same error for both Simple and Advanced)

gitcoin co_tip_send_2_

Expected Behavior

  1. Tip goes through correctly and recipient lavishes praise upon me for giving them ETH.

Actual Behavior

  1. Encounters this error.

screen shot 2018-04-03 at 7 38 06 am

@vs77bb @mbeacom do you see this error?

bug

All 10 comments

do you get the Accounts errror on pageload and the 'txParams' error upon click? or are both errors upon click?

51a4c529d2958a0be9bdb099fe8058d1e6a30232 should fix this. . wanna retry Mitch?

@owocki sure, will test sending tipping ETH to @vs77bb. Do you recommend sending 1, 0.1, 0.01, 0.001, or 0.0001 ETH? 馃

10000000 ETH, send it to kevinowocki.eth

Unforunately still seeing the error :( looks like our old friend Vivek is gonna die penniless in the gutter 馃槶

I may be reading the error wrong but if it's complaining that gasLimit in txParams is not a string wouldn't we want to go the other way from parseInt and instead do something like

var _gasLimit = String(_gas * 1.01);

or

var _gasLimit =(_gas * 1.01) + "";

or whatever other BS that JavaScript accepts? 馃槀

If parseInt functionality is what we're after, we may have to try to use Number() instead per this StackOverflow

Is it working on your end?

@owocki Let me know if you've got a bit of time to hop on a Zoom, would like to resolve this (either on my end or for Gitcoin at large) as it's blocking launch of my baby #760 馃憤馃徎

yeah its working on my end.. which is why its all the more strange im not seeing the same error as you

just deployed e82624d2a905109be30b722ff5116ff79c0dbc68 -- want to hard refresh and try one more time?

@owocki sure bet. I hard refreshed and even restarted to try to make sure 馃槀one possible confounding factor is that I was switching between networks on Metamask but I am most certainly on the Main Ethereum Network

Success! Thanks for taking a look. Our friend is now 0.0001 ETH richer

I swear I hard refreshed earlier, maybe I did it before the deploy went live? Or perhaps the classic PEBCAK (problem exists between chair and keyboard 馃槀)

Thanks!

I swear I hard refreshed earlier, maybe I did it before the deploy went live? Or perhaps the classic PEBCAK (problem exists between chair and keyboard 馃槀)

i made two seperate fixes.. looks like the second one is the one that worked

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wizzfile picture wizzfile  路  3Comments

jasonrhaas picture jasonrhaas  路  4Comments

abitrolly picture abitrolly  路  4Comments

Skyge picture Skyge  路  3Comments

kziemianek picture kziemianek  路  3Comments