Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 07 08:21
    EvansX opened #173
  • Jul 24 14:53
    hasanatkazmi opened #172
  • Jul 21 14:03
    Juan-cc opened #171
  • Jul 21 13:40
    Juan-cc commented #89
  • Jul 13 08:39
    dasanakudigenithin opened #170
  • Jun 29 01:00
    vchain007 closed #169
  • Jun 28 14:47
    vchain007 opened #169
  • Jun 22 10:02
    Genysys opened #168
  • Jun 11 13:48
    oshin18 opened #167
  • May 20 06:30
    xiagw synchronize #166
  • May 20 04:10
    xiagw synchronize #166
  • May 20 03:53
    xiagw opened #166
  • May 13 11:13
    namlt3820 edited #165
  • May 13 11:11
    namlt3820 opened #165
  • May 04 15:07
    Juan-cc opened #164
  • May 04 12:07
    Genysys opened #163
  • Apr 30 19:01
    Ferparishuertas commented #154
  • Apr 30 16:50

    craigwilliams84 on development

    Fix/replace bintray (#162) * U… Merged master onto develop (compare)

  • Apr 30 15:15

    craigwilliams84 on master

    Fix/replace bintray (#162) * U… (compare)

  • Apr 30 15:15
    craigwilliams84 closed #162
maksim m
@maxvandl
ok thx
what if official docker hub for eventeum?
I use latest docker eventeum/eventeum still drop down
maksim m
@maxvandl
or I must use docker pull eventeum/eventeum:snapshot?
Ferparishuertas
@Ferparishuertas
maksim m
@maxvandl
what is stable version?
Ferparishuertas
@Ferparishuertas
Snapshot
maksim m
@maxvandl
thx
null
@0x25CBFC4F
Hello everyone. My eventeum crashes with infura node (even on development branch). here's the crashlog: https://pastebin.com/raw/prL6p3Ra
Docker container eventeum/eventeum:snapshot crashes too.
Ferparishuertas
@Ferparishuertas
Have you tried via wscat with ur infura key and see which is the answer
?
null
@0x25CBFC4F
@Ferparishuertas it doesn't crash all the time, that's the point. It worked ~2 days without stopping and then began crashing
Ferparishuertas
@Ferparishuertas
Will take a look
null
@0x25CBFC4F
@Ferparishuertas tried wscat, here's the response:
{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id": 1} {"jsonrpc":"2.0","id":1,"result":"0x9b098d"}
Ferparishuertas
@Ferparishuertas
Must fail in some cases...
null
@0x25CBFC4F
@Ferparishuertas Good day to you.
I traced my problem back to this issue: web3j/web3j#163
Basically web3j fails to parse used gas: Failed to get value from org.web3j.protocol.core.methods.response.TransactionReceipt.getGasUsed()
Ferparishuertas
@Ferparishuertas
👍
null
@0x25CBFC4F
The problem is: I can't do much about it
Can you think of a workaround/fix for it? I don't think web3j devs currently care about methods that doesn't end with *Raw
And their stability in production, of course
Ferparishuertas
@Ferparishuertas
Will teview then
null
@0x25CBFC4F
Much appreciated
null
@0x25CBFC4F
I wanted to debug myself a little and I saw this: it's trying to map Web3Transaction to Web3jTransaction (a wrapper as I understood)
and internal web3j model doesn't contain all required information
image.png
It crashes on 'getGasUsed' but I'm pretty sure it will crash on other fields too
null
@0x25CBFC4F
@Ferparishuertas we figured out it's not really web3j or eventeum problem. Our node (openethereum) returns some of these values as null:
image.png
Could that be because our node works in fastsync node?
Craig Williams
@craigwilliams84
Hmmm, its weird that your node is returning null for these values...I haven't seen that before
Why return cumulativeGasUsed but not gasUsed??
Oh, its a pending transaction...also weird!
Craig Williams
@craigwilliams84
You say that this is connecting to infura, but an openethereum node? Do they provide a premium service to specify the node type?
null
@0x25CBFC4F
Openethereum is a software. We just hosted it on our servers. https://github.com/openethereum/openethereum
Thank you for your help but we've decided to use our own implementation of blockchain event scanner due to this kinds of instabilities
Eventeum unfortunately haven't worked more than few days without having new problem to appear
Ferparishuertas
@Ferparishuertas
Just to know which were your problems to tag them unstable? @0x25CBFC4F
You just mentioned it was an openethereum problem
Marcelo Morgado
@marcelomorgado
Hi there, I have a question: I use Eventeum with Infura (wss) and I want to add a fallback provider, I've tried to connect to Alchemy and ChainStack services (wss endpoints as well) but didn't work. Did you use these providers before? Maybe, a better question could be: Which providers do you recommend to use that are enough battle-tested? Infura and Geth/Parity fullnode?
Craig Williams
@craigwilliams84
Hey Marcelo, Eventeum has been battle tested with Infura, Geth, Parity and Besu, but not the 2 providers mentioned unfortunately. Out of interest, what errors do you see when running with these hosted providers?
Marcelo Morgado
@marcelomorgado
Hi @craigwilliams84 thanks for the response. I've investigated a bit deeper and created this issue with what I've found: ConsenSys/eventeum#141
Ferparishuertas
@Ferparishuertas
I just answered @marcelomorgado. We Hope we can clarify with the comments
Craig Williams
@craigwilliams84
Eventeum 0.9.0 was released yesterday! https://github.com/ConsenSys/eventeum/releases/tag/v0.9.0
Vijay Rajasekar
@vijayRT

Hi. I'm trying to use the Eventeum docker image with a private Openethereum (Parity) network. My docker-compose file has configuration for my Parity node, Eventeum, and MongoDB. The containers are able to communicate with each other. However, my Eventeum container logs show this.

2020-08-03 02:09:24.889 [main] WARN  org.apache.kafka.clients.NetworkClient: processDisconnection - [Consumer clientId=consumer-1, groupId=dlt] Connection to node -1 could not be established. Broker may not be available.

2020-08-03 02:10:23.034 [main] ERROR org.springframework.boot.SpringApplication: reportFailure - Application run failed
org.springframework.context.ApplicationContextException: Failed to start bean 'org.springframework.kafka.config.internalKafkaListenerEndpointRegistry'; nested exception is org.apache.kafka.common.errors.TimeoutException: Timeout expired while fetching topic metadata

Do I need Kafka to run Eventeum? The README did not list it as a prereq, and I haven't used Kafka before. I want to use the HTTP POST mechanism provided by Eventeum to listen to events.

Vijay Rajasekar
@vijayRT
Okay I took a better look at the README. I didn't set the BROADCASTER_TYPE environment variable in my docker-compose file.
Ferparishuertas
@Ferparishuertas
Thanks for posting your issue @vijayRT. Let us know if you need support. More than happy to assist
Edward Grech
@dwardu

Hi, I am trying to understand how Eventeum is intended to work when a reorg happens.

Suppose that a particular transaction is mined in block with hash 0x12…34 at block height 1000. The transcation emits a particular event, and that event will be broadcast as UNCONFIRMED. In regular circumstances, the event would be re-broadcast as CONFIRMED a number numBlocksToWait blocks later.

But now suppose that immediately after the UNCONFIRMED event is broadcast, a reorg happens and the new block at height 1000 is now block with hash 0x56…78. Suppose that the original transaction gets included in 0x56…78. As far as I can see, a number numBlocksToWaitBeforeInvalidating of blocks later, the event is re-broadcast as INVALIDATED.

My question is, will the event never be re-broadcast as CONFIRMED?

How is this expected to work?

Thanks!