* using little endian and tests for encoding dep inputs
* use decode value and timestamp method in state
* updated comments to match serialization format
* latest compiled contract, abi, bytecode, and bindings
* to little endian everywhere
* fix all tests except for contract tests
* include contract changes
* address broken build
* compile with vyper v8
* update readme
* fix pkg name
* add skip chainstart delay
* skip chainstart delay tests pass
* to little endian timestamp
* using genesis timestamp instead of bool
* update with gofmt
* make more fields public
* duplicate log spam inconsistent root fixed by tracking last seen index
* sync with master
* readd weird removal of import
* readd libp2p import
* gazelle
* readd eth
* comments
* using little endian and tests for encoding dep inputs
* use decode value and timestamp method in state
* updated comments to match serialization format
* latest compiled contract, abi, bytecode, and bindings
* to little endian everywhere
* fix all tests except for contract tests
* include contract changes
* address broken build
* compile with vyper v8
* update readme
* fix pkg name
* add skip chainstart delay
* skip chainstart delay tests pass
* to little endian timestamp
* initial validator attesthead rewrite based on proposer rewrite
* proceed with fetching committees and tree hashing the canonical head at assigned attester slot
* complete filling the properties of attestation data and all associated root hashes
* add when to attest todo
* finish entire attester client logic
* tests with mocks checked in
* tests passing in client
* stubbed out server implementation
* fixed build due to old property
* regen mocks with new mockgen version
* fixed broken tests
* complete bazel build fix
* address some review comments
* deep proto test
* tests passing after checking for empty committee and crosslink root
* address nishant comments
* initialize beacon state separately
* extracting out testcase into another func
* creating function for simulated objects
* creating simulated object struct
* final clean up
* documentation
* lint
* adding chain advancer
* review comments
* replacing lib
* adding initialization for chain and new vars in struct
* added func
* fixing tests and all other bugs
* fixing tests
* docs
* adding a new nil block function
* adding test
* remove check for nil blocks
* godoc
* fixing merge conflicts, tests
* fix test
* WIP - with TODOs
* interface w/ test
* basic test for broadcast
* Add computeStateRoot funciton
* remove custody challenge
* resolve TODO lint issues
* more TODOs
* revert new line in types.proto
* broadcaster comment
* one of several failure condition tests
* Add test cases
* handle compute state error test case
* fix config in validator helpers
* fix tests too
* fix conflict
* partial PR feedback
* remove p2p
* gazelle
* package comment
* Better godoc
* update proto fileds
* Start writing ProcessETH1Data function
* More progress on tests
* Continue more work on tests
* Fix almost all the tests
* Fix all tests
* Fix everything
* Fix after rebase
* Fix for suggestions and fix per-epoch operation
* Remove method usage
* Fix build
* Fix suggestions
* Fix merge issues and suggestions
* Fix rebase issues
* Remove the error from ProcessETH1Data
* WIP write test
* Update test to reach crosslinks
* Revert "Update test to reach crosslinks"
This reverts commit 5ff9177f96c12c98c54eafffcfb385bd966b0888.
* Revert "WIP write test"
This reverts commit f7e7ed715c4af6b7e3c95643f7ebf85830caf638.
* add fork choice helpers
* LMD GHOST basic implementation
* add todos
* add in the initial test and finalize rest of functions
* added tests
* more simulation, adding trivial case with only one option for a head
* panics
* begin helper function tests
* more helper tests
* higher vote wins
* LMD Ghost full test
* comment
* add types
* optimize
* prepared
* deposits for chain
* lint
* use the hash beacon block util
* rem unnecessary db methods
* comments
* setup works
* add unit test for test broadcast
* execute goimports
* add import peerstore
* refactor and check message equals expected
* remove not needed sleep
* add function to connect hosts to host
* refactor test for better reading
* refactor to only use one channel
* refactor subs to channel
* close channels instead of sending boolean value
* use goimports
* copy value to avoid race condition
* remove TODO comment
* fix issues with gometalinter
* run gazelle
* reduce sleep time
* add comments to goroutines
* implemented process pentalties and exit logic
* tests
* add MaxWithdrawalsPerEpoch to config
* preston's feedback, replaced index with idx
* s/e/penalizedEpoch
* removed blank line
* Generic Slices library to support different data types
** Main module added under slice_generic.go
** Test cases passing
** Modified Bazel Build accordingly to run test suite
* Periods added for the generic slice functions
* Build through gazelle & linter fixes
* Generic library using reflection for set operations
* Improvement in test cases including float 32
* Error Handling using generic error message for unsupported type
* Linter fixes and including more test cases
* Linter fixes
* Linter fixes in Errof function & increasing test coverage
* Test cases corrections
* Benchmark test added for reflection & non reflection functions
Redundancy removed for various data type
Panic removed from the code & error handled
* documnet linter error removed
* Benchmark done with SSZ for reflection and non-reflection based functions
* Bazel build file updated
* gofmt & golinter error fixes
* Added data type support for uint32,int32,byte,int64,uint64
* Removed the redundant code and condition of error handled
* changes in linter & fixes
* Linter fixes
* Individual error handled for slices
* Removed unwanted variable t
* linter fixes
* Removed unwanted conditions
* linter & test cases fix
* Linter fixes in slice generic
* rebuilding with test
* deposit definition according to latest spec
* ssz decode input data tests
* fix todo
* ignore XXX fields in struct
* fix
* timestamp
* gazelle run processing
* process deposit complete
* all logic complete
* verify merkle branch
* gazelle
* process deposit func
* diff cov 1005
* add todo"
* all test cases written down
* most tests complete
* ttl timestamp fail
* 100% code coverage in deposits
* fix params
* encode deposit data helper func
* state transition with no slots failing with panic at calcnewblockhashes
* smaller deposits for chain start
* state advancement benches
* ran go tests
* bazel
* improve the thing
* lint
* works works works
* all conflicts fixed
* edit readme to specify tests format
* edit readme to specify tests format
* skip slots works yay
* gazelle
* edit readme to specify tests format
* wrapped up all randao simulation
* fix
* passing
* goimports
* move to slices pkg
* deadcode
* deposit yaml tests
* created deposit trie implementation in Go
* created deposit trie implementation in Go
* gazelle
* merkle branch generation
* merkle branch generation
* more merkle debugging
* fix deposit trie
* include new merkle trie functions
* update all deposit operations
* capitalize
* advancing deposits fully works, grows the validator set
* wrap up time formatting
* lint fix
* include all information in the README
* edit conf
* revert
* clean up before merge
* successfully e2e test proposer slashings
* fix comments
* Added tests for iputils
These tests reference issue #1264 on prysm.
The purpose behind the changes is to validate
results of the return value for the function
ExternalIPv4. Using regular expressions to validate
the ip address. Bazel build configuration has also
been updated.
* Added tests for iputils
These tests reference issue #1264 on prysm.
The purpose behind the changes is to validate
results of the return value for the function
ExternalIPv4. Using regular expressions to validate
the ip address. Bazel build configuration has also
been updated.
* Updated external_ip_test
* Add version linking to binaries via --workspace_status_command=./scripts/workspace_status.sh
* dont export some things
* lint and better date
* even better date
* /healthz part1
* lint, fix
* lints and todos
* add p2p status test
* Add test for service registry Statuses
* fix my fake errors for the linter
* Test healthz handler
* Run gazelle
* first commit, remote att types
* no more agg attestation proto
* regen mock
* only attestations
* proto
* att process
* fix att references
* more tests passing
* use att protos
* complete
* change visibility
* use gogoprotobu
* first commit, remote att types
* no more agg attestation proto
* regen mock
* only attestations
* proto
* att process
* fix att references
* more tests passing
* use att protos
* complete
* Update dependency com_github_deckarep_golang_set to v1 (#1159)
* Update dependency com_github_edsrzf_mmap_go to v1 (#1160)
* Update dependency com_github_go_stack_stack to v1 (#1161)
* Update dependency com_github_rs_cors to v1 (#1162)
* Update dependency in_gopkg_urfave_cli_v1 to v1 (#1163)
* change visibility
* Update com_github_prometheus_common commit hash to 67670fe
* fix formatting, the values are now floats, not ints
* delete metric with a now wild floating point value
* helper functions to get active validator total balances
* forgot to * params.BeaconConfig().Gwei
* tests
* GetEffectiveBalance comments & MaxDepositInGwei in config
* format
* Preliminary support for relay nodes
* lint
* Add comment, remove TODO
* work on relay address factory
* dial relay node, if available
* forgot new files
* fix service registry breakage
* added logging
* Added a peer count with prometheus
* always start mDNS
* fix lint
* polling interval
* adding proto message
* changing proto messages
* changing naming
* adding slot functionality
* initial sync working
* new changes
* more sync fixes
* its working now
* finally working
* add tests
* fix tests
* tests
* adding tests
* lint
* log checks
* making changes to simulator
* update logs
* fix tests
* get sync to work with crystallized state
* fixing race
* making requested changes
* unexport
* documentation
* gazelle and fix merge conflicts
* adding repeated requests
* fix lint
* adding new clock , db methods, and util func
* revert change to test
* gazelle
* add in test
* gazelle
* finally working
* save slot
* fix lint and constant
* adding proto messages
* adding fields
* adding new service
* new changes
* checking in file from syncFix
* fixing test
* add test
* adding to node
* goimports
* adding query service to sync services
* sync working
* finally works
* fix test
* lint
* fix build
* fix test
* Standardize params for BeaconChain and Validator projects
* gofmt
* various changes to bring up to standards
* lint
* linter 2, not sure why travis complains
* revert service_test.go
* Added prometheus client and p2p metrics
* Avoid run the adapter if the metrics are disabled
* fix visibility issue
* Fix invalid p2p.Message sent to Adapters
The middlewares (adapters) must receive the complete message to avoid
problems and the main Handler must get the values from middlewares
Also, added tests and comments for metrics package
* Added logrus hook collector
This collector is used to collect counters of log messages.
The main purpose of these metric is to know how many warnings and errors
the system are getting.
* Add hook when register the prometheus service
* update bazel builds
* fix emit tests and remove unused imports
* gazelle --fix
* remove unused logger
* move prometheus package to shared directory
* better metric names and fix metric paths
* improve metric tests and start to use promauto
* added prometheus initial documentation
* fix tests
* fix type differences with go get and bazel
* Fix service test
* start sequence for node to connect to bootstrap nodes
* lint
* maybe warning is more appropiate?
* fix gazelle
* preston's feedback
* add go-ipfs-addr to workspace
* move flag to shared
* removed routed host
* Remove error checking for type assertions on p2p messages. The code should fail earlier in the p2p layer. Also fixed format on some TODOs
* format TODO again
* Add a bit more tests for p2p stuff
* goimports on feed_mock
* remove unused import
* Adding proto topics
* Adding crystallized state request
* Reverting shanges to proto
* Adding db checks
* get crystallised state
* Finalize epoch for mapping
* more changes
* cleaning up main routine
* adding tests
* fix test
* Adding ability to save blocks
* Adding block fetcher
* Another test for setting finalized epoch
* adding final tests
* finished tests
* adding comments
* gazelle
* Making requested changes
* Fixing lint
* stop sync from exiting
* fixing lint
* lint
* Adding new request type to proto
* Making changes to block/state requests
* Change tests
* fixing error messages
* gazelle and lint
* adding back crystallised state
* fix tests
* Fixing merge conflicts
* Addressing review comments
* Changing back to one service
* removing case
* add mutex on top of p2p feeds map
* lock read too
* add concurrent write test and enable race detector
* restrict race detection to concurrent feed map write test
* gazelle fix
* increase ram and I/O in bazel's local_resources
* reverted local_resources changes
* address review comments
* do not disable sandboxing on travis
* address review comments
* turn up linter to 11
* Added extra linting rules and fixed all lint issues
* add deadline of 10m
Former-commit-id: 632999fcaa8370516d6fe76c28c503cb2e3319b7 [formerly d4354f631b1eb4f7918cde28bf063f756ae92a54]
Former-commit-id: 3aaf78a56b76850b0123d61551ac554ccecfe9ad