Commit Graph

13 Commits

Author SHA1 Message Date
MrChico b236ce7a9a
Defensive handling of dead path (#13) 2020-05-13 14:46:58 +01:00
Alex Beregszaszi df7c2c538a
Require deposit amount to fit into uint64 (#9)
Ref https://github.com/ethereum/eth2.0-specs/issues/1726
2020-05-13 14:41:37 +01:00
Alex Beregszaszi a8ed83e087
Inline bytesN(0) instead of custom zero_bytesN vars (#8)
Co-authored-by: Martin Lundfall <martin.lundfall@protonmail.com>
2020-05-12 19:04:18 +01:00
chriseth acb658fbda
Make use of constants. (#7) 2020-05-12 19:01:27 +01:00
Alex Beregszaszi cd323c75db
Drop masking because of explicit uint8 conversion (#5) 2020-05-12 18:59:15 +01:00
Alex Beregszaszi 9957540744 Consider get_deposit_count and get_deposit_root part of the external interface 2020-05-12 01:07:22 +01:00
Alex Beregszaszi 3aaf6f06ad Add license header and clarify comment 2020-05-12 01:06:31 +01:00
Alex Beregszaszi 2000988671 Fix a typo in the assertion (within the comments) 2020-04-16 18:12:58 +01:00
Alex Beregszaszi 304bdc9d4e Add .gitattributes with Solidity 2020-04-15 14:37:41 +01:00
Alex Beregszaszi faecab1100 Add Makefile and instructions for the tests in the README 2020-04-15 12:04:31 +01:00
Alex Beregszaszi b0c9d8c2fd Implement get_deposit_count() and get_deposit_root() 2020-04-15 02:40:46 +01:00
Alex Beregszaszi 65ce39b500 First implementation of the deposit() function only 2020-04-15 02:40:41 +01:00
Alex Beregszaszi f441301d16 Genesis 2020-04-15 00:32:40 +01:00