Skip to content

Commit

Permalink
Add git commit-id to RelayHub
Browse files Browse the repository at this point in the history
expose current commit-id in relayhub
  • Loading branch information
Dror Tirosh committed Jul 28, 2019
1 parent 198c76f commit 66b3ae9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.sol linguist-language=Solidity
*.sol ident
3 changes: 3 additions & 0 deletions contracts/RelayHub.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import "openzeppelin-solidity/contracts/math/SafeMath.sol";
import "openzeppelin-solidity/contracts/cryptography/ECDSA.sol";

contract RelayHub is IRelayHub {

string constant commitId = "$Id$";

using ECDSA for bytes32;

// Minimum stake a relay can have. An attack to the network will never cost less than half this value.
Expand Down

0 comments on commit 66b3ae9

Please sign in to comment.