Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 06:45
    ajsutton synchronize #1520
  • 06:42
    ajsutton edited #1520
  • 06:42
    ajsutton edited #1520
  • 06:41
    ajsutton synchronize #1520
  • 06:40
    ajsutton synchronize #1414
  • 05:49

    CjHare on master

    Prevent loss of exception by lo… (compare)

  • 05:49
    CjHare closed #1518
  • 05:22
    CjHare synchronize #1518
  • 05:20
    ajsutton opened #1520
  • 05:09
    ajsutton opened #1519
  • 05:08
    ajsutton synchronize #1414
  • 05:04

    ajsutton on master

    Set attestation data index corr… (compare)

  • 05:04
    ajsutton closed #1517
  • 05:01
    CjHare review_requested #1518
  • 05:01
    CjHare review_requested #1518
  • 05:01
    CjHare review_requested #1518
  • 05:01
    CjHare opened #1518
  • 04:47
    ajsutton synchronize #1414
  • 04:46
    ajsutton opened #1517
  • 04:12
    ajsutton synchronize #1414
Hans Enlin
@hansenlin
Thanks @faraggi !
Jonny Rhea
@jrhea
Welcome @hansenlin!
Lemme see if I can dig up an issue for you
Antoine Toulme
@atoulme
I opened up some issues related to metrics and Prometheus: https://github.com/PegaSysEng/artemis/issues. HTH.
Jonny Rhea
@jrhea
Thanks @atoulme!! @hansenlin and @mankenavenkatesh take a look at those issues and see what you can do
Venkatesh Mankena
@mankenavenkatesh
Thanks @atoulme Sure @jrhea
Ajoy Das
@ajoydas
Can anyone confirm me that is MessageSender class of package org.apache.tuweni.plumtree is implemented or not?
Antoine Toulme
@atoulme
huh?
Antoine Toulme
@atoulme
Ajoy I can confirm. It’s implemented as a lambda function. Intellij or eclipse can help inspect
Diederik Loerakker
@protolambda
@jrhea Could you please take a look at ethereum/eth2.0-specs#1311 and send me a survey response? (or just a few suggestions, anything helps)
Felipe Faraggi
@faraggi
Would anyone here be interested in writing some community technical content about Artemis? If so, reply or PM me.
Marcel Koopman
@marcelkoopman
Hey guys, I was wondering why the jdk used was version 8, would it not be better to switch to jdk 11 to take advantage of type inference (var) and have less code?
Danno Ferrin
@shemnon
var everywhere
Venkatesh Mankena
@mankenavenkatesh

Hi Guys,
We won EthIndia 2.0 Hackathon. :) :)

Developed Selective-ZKP At EthIndia 2.0.
It is a Decentralized platform for Role based access view of Confidential Assets created using Zero Knowledge Proofs.
Github Link - https://github.com/mankenavenkatesh/Selective-ZKP
Please have a look and let me know your feedback. :)

Ben Edgington
@benjaminion
:tada: Congratulations - that's awesome! :tada:
Marcel Koopman
@marcelkoopman
@shemnon yeah well i was expecting an argument instead of a meme?
Danno Ferrin
@shemnon
It’s an attempt at humor to say we are not sure what to do about new Java 11 language features. Pantheon has transitioned to Java 11 and we have yet to use var. The meme represents the two extremes of people who are scared of change and people who are overly eager.
On a serious note, for Pantheon we are needing a more complete notion of when to use var and when not to. On one hand types add comprehension and readability to the code, but then there are also some extreme generics constructions that are incomprehensible and would benefit from a var decleration.
If it wouldn’t violate confidentiality I would ping my Google contacts to see what theire internal code styles and readability guidelines around var are, but I think there is a good chance they are still based on Java 8.
Semi-related, I agree that Artemis for it’s next release should go to Java 11 minimum.
Marcel Koopman
@marcelkoopman
@shemnon ok so maybe i can help there if you want to experiment later
Felipe Faraggi
@faraggi

Hello PegaSys/Artemis community! In the spirit of improving the way we communicate and the information you receive, we've put together a short survey to gather your feedback. All answers are optional, and we'd love to hear what you have to say!

The survey is centered on Pantheon but we'd appreciate all your responses as well.
https://forms.gle/4Jddy7bSPFa9a2zz6

Fabio Tudone
@circlespainter
Hi all, a tech question for Artemis developers (potentially Besu too): have you considered using other JVM languages besides (in addition to?) Java? Thinking mostly of Kotlin due to its non-revolutionary and very pragmatic approach.
Jonny Rhea
@jrhea
ya, there is definitely interest in Kotlin. Our team participates in the jvm-libp2p implementation written in Kotlin.
thor314
@thor314
Apologies in advance if this is not the best place to post about this; I’m trying to build the project repo and getting build issues
I tried both the curl and git clone methods, and in each case, I’m getting build failed, with the error msg
check-licenses.gradle’ line: 169
execution failed for task ‘:checkLicenses’
with a java exception calling out a directory trace with at one point, /5.2.1/build/.....
where I don’t have a build directory beneath my 5.2.1 directory. Is this something trivial to fix?
Fabio Tudone
@circlespainter
@jrhea Cool, so would a PR enabling Kotlin code (and including a proposal for reasonable coding conventions) be considered? As for Java coding conventions, I suggest to add that classes and methods too should be final unless explicitly designed for inheritance/override, what are your thoughts about that?
Fabio Tudone
@circlespainter
@thor314 Strange, I've just (re-)tried and it works for me; 5.2.1 is the gradle version configured for the Gradle wrapper, maybe a broken download? Maybe try to clear ~/.gradle/wrapper and retry from another dir . Also check that JAVA_HOME points to an OpenJDK 11 (even though the error should be different if that's not the case)
Adrian Sutton
@ajsutton
@circlespainter At this stage I would be against adding Kotlin into Artemis itself. We've found a lot of benefit with Besu in using plain java and thus being familiar to the huge community of Java developers. While Kotlin is a nice language, it has a much smaller community of developers around it and adds a barrier to entry for developers. It's extremely rare that the productivity benefits of a language actually outweigh the cost of that barrier. There are also extra costs of having a mix of languages in the code base (Kotlin has good interaction with java but still needs to be designed the right way and there are a number of places it can be confusing).
wschwab
@wschwab
Hi! I'm trying to run Artemis/Teku, and I'm having some trouble. Is anyone available to help?
Adrian Sutton
@ajsutton
I’m just heading to bed but if you can let me know what you’re trying to do and what errors you’re getting I’d be happy to help. There are people in various time zones around as well so they may be able to help before I wake up again. :)
wschwab
@wschwab
Cool - thanks. I had a problem building off of the Readme, but I got through it. I odn't know Java, so this has been an experience, but as of right now, I think my only question is how to set where the data is stored, like --datadir in some clients.
wschwab
@wschwab
Now that I'm looking into it more, I'm also wondering if there's an Artemis/Teku testnet that I'm connecting to by default, or if I'm running in isolation. If it's the latter, is there a testnet I can connect to?
mbaxter
@mbaxter

I think my only question is how to set where the data is stored, like --datadir in some clients.

Currently the data directory isn’t configurable - the data will be stored in the current working directory. We are planning on doing some work to clean up configuration, so this should be configurable in the future.

mbaxter
@mbaxter

I'm also wondering if there's an Artemis/Teku testnet that I'm connecting to by default, or if I'm running in isolation.

We don’t have a public testnet available currently. If you want to see nodes interacting, you can spin up a couple of nodes, and set the node.peers value in config.toml to contain the addresses of the nodes you want to connect to. When a node starts up, it will print a line like: Listening for connections on: /ip4/127.0.0.1/tcp/9000/p2p/16Uiu2HAmLXQVaTd93uM399BEdxn4a8WHKGeeNeqADYq5h84Pmp1u - this is the address you can add to the peers list for your other node.

wschwab
@wschwab
Thanks for the answers!
wschwab
@wschwab
Hi! I saw the tweet that Teku can connected to the Prysm testnet. Is that just an in-house thing, or would I also be able to try?
Adrian Sutton
@ajsutton
Probably a bit early to try yourself. The command line and config is still very unfriendly and getting it running on the test net is fiddly and still a bit unstable. But it’s improving rapidly so we hope to have something ready for everyone to use reasonably soon.
It’s definitely exciting to be able to connect, sync blocks and agree on state though.
mbaxter
@mbaxter
@wschwab - the data path is now configurable via the output.dataPath field in your config.toml. See: PegaSysEng/teku#1233
wschwab
@wschwab
Thanks!
mbaxter
@mbaxter
fyi - this option has moved to database.dataPath: PegaSysEng/teku#1244 @wschwab
wschwab
@wschwab
Cool - thanks for keeping me updated.
Adrian Sutton
@ajsutton
With the rename from Artemis to Teku, we now have a new channel: https://gitter.im/PegaSysEng/teku
juharahmed
@juharahmed
Hi guys, is Artemis currently ready to run it on private network? such as running smart contracts , querying nodes via RPC API calls...
Adrian Sutton
@ajsutton
Hi @juharahmed Artemis (now renamed to Teku) is an implementation of the Ethereum 2 beacon chain. That's only phase 0 of building out ETH2. The beacon chain is essentially just the coordination layer and in phase 0 provides little more than the infrastructure required for proof of stake (tracking validators, incentives and how to reach consensus on the current chain head). So there's not currently any smart contracts, data storage, funds transfer or even real user accounts (just validator state and balances). All of that functionality is still being worked through and will roll out with phases 1 and 2. http://eth2.info has lots more info.
If you're looking to build a private network today for actual use (as opposed to just getting a better understanding of Eth2) I'd recommend sticking with Eth1 and looking at Hyperledger Besu https://pegasys.tech/solutions/hyperledger-besu/ is a good overview of it and https://besu.hyperledger.org is the offical docs.
juharahmed
@juharahmed
@ajsutton thank you Adrian. I am already using Besu on a Private Network with PoW and PoA algorithms. I was also interested to experiment with PoS in case it was ready. I got the answer now. Thanks
Adrian Sutton
@ajsutton
:thumbsup:
Ben Edgington
@benjaminion
@/all Heads up: we're moving chat over to https://gitter.im/PegaSysEng/teku - see you there!