Commit Graph

7 Commits

Author SHA1 Message Date
Paul Hauner
a358bbc1b1 Update bootstrapper for API changes 2019-08-23 12:45:31 +10:00
Paul Hauner
5a34f86e77 Address some review comments 2019-08-22 16:14:51 +10:00
Paul Hauner
b912e26b79 Tidy API to be more consistent with recent decisions 2019-08-22 14:37:47 +10:00
Paul Hauner
c97b3b20cb Add best_slot method 2019-08-14 20:58:51 +10:00
Paul Hauner
2bf0d5c071 Add beacon_block methods to rest api 2019-08-14 11:22:43 +10:00
Paul Hauner
4f98a3985f Add first attempts at HTTP bootstrap 2019-08-14 10:36:55 +10:00
Paul Hauner
989e2727d7 Changes to rest_api (#480)
* Add half-finished rest api changes

* Add basic, messy changes to rest api

* Fix expect() in ApiRequest

* Remove ApiRequest, add route for beacon state

* Tidy rest api, add get state from root

* Add api method for getting state roots by slot

* Add test for URL helper

* Simplify state_at_slot fn

* Add tests for rest api helper fns

* Add extra tests for parse root

* Fix clippy lints

* Fix compile error in rest api

* Update test to new ethereum-types
2019-08-10 17:15:15 +10:00