ethresearch / sharding-p2p-poc

Proof of Concept of Ethereum Serenity Peer-to-Peer Layer on libp2p PubSub System
40 stars 19 forks source link

Add git commit to version #126

Closed ChihChengLiang closed 5 years ago

ChihChengLiang commented 5 years ago

What is wrong?

107 itself is not enough, adding git commit hash to version string could better help to solve a bug by quickly pinning down what snapshot of the codebase we are using.

How can it be fixed?

$ ./sharding-p2p-poc version
0.0.0 - 36daa4486d9e27ec2f068586d98ec928e419704c