osarrouy / robinhoodcoop

1 stars 5 forks source link

not sending emails while registrating new members #35

Closed whysthatso closed 3 years ago

whysthatso commented 4 years ago

at the moment, it seems that there is a bug somewhere in the check of the transaction state.

when i submit the transaction the metamask plugin takes over, and all is well. at the same time i get this error in the console:

index.mjs:629 Uncaught (in promise) Error: Function called outside component initialization
    at K (index.mjs:629)
    at X (index.mjs:662)
    at Pt (context.js:10)
    at nr (notifications.js:27)
    at et.<anonymous> (Create.svelte:69)
  K @ index.mjs:629
  X @ index.mjs:662
  Pt @ context.js:10
  nr @ notifications.js:27
  (anonymous) @ Create.svelte:69
  async function (async)    
  (anonymous) @ Create.svelte:56
  (anonymous) @ index.mjs:653
  (anonymous) @ index.mjs:652
  (anonymous) @ Form.svelte:10
  (anonymous) @ index.mjs:238
whysthatso commented 4 years ago

this might be related https://github.com/sveltejs/sapper/issues/592

osarrouy commented 3 years ago

I could not reproduce this issue. It worked both on Brave and Metamask. Questions:

  1. Which browser are you using ?
  2. Does this happen all the time ?
  3. Did the transaction succeeded or failed in the end ? Cause the line the errors points to is about error handling - if the transaction did fail it's a normal behavior that the user received no mail. The Ethereum is quite clogged these days so a lot of transactions fail and there is not much we can do about it ...
whysthatso commented 3 years ago

Screenshot-20201012100630-1712x936

happens both on chrome 86.0.4240.75 (Official Build) (64-bit) firefox 81.0.1 (64-bit)

error appears as soon as i click the Confirm in the metamask extension.

happens reproducibly all the time.

happens with short running/immediate and long running transactions (browser open for 1-2 hours). i played around a bit with different gas prices, there have been no failed transactions, not sure such a thing even exists. (i'm not aware of a hard limit after which network nodes would drop unconfirmed transactions, i guess that depends on the node's client software?)

problem still exists.

whysthatso commented 3 years ago

Screenshot-20201012102814-1712x936 by chance i just rejected a transaction, and i get exactly the same error. this does not seem to be related to the state of the transaction at all.