Commit Graph

818 Commits

Author SHA1 Message Date
Alexis Sellier 6a642e33b8 Check returned height 2017-08-11 13:57:38 +02:00
Alexis Sellier 3f0c0ad8f5 Refactor function for readability 2017-08-11 13:34:39 +02:00
Alexis Sellier 3089673a2e Remove TODO 2017-08-10 15:30:45 +02:00
Alexis Sellier eec4b10067 This doesn't need to be public 2017-08-10 15:10:21 +02:00
Alexis Sellier 77207a19db Fix some comments 2017-08-10 15:10:15 +02:00
Alexis Sellier f9c3fce5b4 Write tx proof tests 2017-08-10 14:51:56 +02:00
Alexis Sellier 388f0eece7 Wrap error for good measure 2017-08-10 14:51:56 +02:00
Alexis Sellier ee1a27e6fd Implement String method on *Bonsai 2017-08-10 14:51:56 +02:00
Alexis Sellier 54304ba5e6 Update merkleeyes dependency
It seems like to force it to update to latest unstable, we have to
specify origin/unstable.
2017-08-10 14:51:56 +02:00
Alexis Sellier 668eea8628 Fix return value when nothing is found 2017-08-09 13:13:16 +02:00
Alexis Sellier d1b49da825 Use new Certifier type from light-client 2017-08-08 18:52:28 +02:00
Alexis Sellier 1882376a34 Cleanup tests a bit 2017-08-08 18:06:14 +02:00
Alexis Sellier 80ef09f1ee Fix bogus height check 2017-08-08 16:32:01 +02:00
Ethan Frey 7857f25649 No sleep, just wait for one block to exist 2017-08-08 16:32:01 +02:00
Ethan Frey f7d4b7f721 Add tests that the proofs verify 2017-08-08 12:27:40 +02:00
Alexis Sellier cedb66066c Fix return args 2017-08-08 12:21:18 +02:00
Alexis Sellier 225f0e7dbe Rename function 2017-08-08 12:20:21 +02:00
Alexis Sellier 2b735d8968 Support non-existence proof 2017-08-08 11:51:15 +02:00
Alexis Sellier 538824d736 Change module import etc -> eyes 2017-08-07 19:24:58 +02:00
Alexis Sellier 15d2e2525f Start working on proof tests 2017-08-07 19:23:44 +02:00
Ethan Frey 2b1c4dd8b9 Really renames etc -> eyes... finish the job 2017-08-07 19:21:07 +02:00
Ethan Frey 3f6071da85 Merge pull request #216 from zramsay/key-management
docs: key management guide
2017-08-07 19:05:38 +02:00
Zach Ramsay 0cd8a7737c docs/keys: little PR fixes 2017-08-07 13:00:49 -04:00
Ethan Frey 13d739ac48 Merge pull request #211 from tendermint/feature/reimplement-merkleeyes
Reimplement merkleeyes
2017-08-07 18:56:58 +02:00
Ethan Frey ade9d4527b Rename module/etc to eyes as well 2017-08-07 18:50:34 +02:00
Ethan Frey 0133723aca Clean up comments 2017-08-07 18:50:33 +02:00
Ethan Frey 483ed6d87a Add cli tests for eyes query and add to Makefile 2017-08-07 18:50:33 +02:00
Ethan Frey 6bc5fa3876 Add eyes and eyescli main commands
Note how the all framework commands can be reused with a bit of configurations.
And one can add the custom query and tx commands.
2017-08-07 18:50:33 +02:00
Ethan Frey 6e38609e3f Add CLI commands as sub-package 2017-08-07 18:50:33 +02:00
Ethan Frey 464ea226f5 Test the handlers and fix type byte for no conflicts 2017-08-07 18:50:33 +02:00
Ethan Frey 4c663d5551 Add handler and store
Notice that everything has json tags and that we check price in CheckTx,
while we run real code in DeliverTx.  Return values are meant for the client.
2017-08-07 18:50:33 +02:00
Ethan Frey 9fe2f6b365 Setup first tx, error code 2017-08-07 18:50:33 +02:00
Ethan Frey f4c45b6273 Merge pull request #214 from zramsay/basecoin-basics
docs: clean up basecoin-basics
2017-08-07 18:38:04 +02:00
Zach Ramsay a33725e9f4 docs: key management guide 2017-08-07 11:39:54 -04:00
Zach Ramsay a7afe423e3 docs/basics: put clean up at the end 2017-08-07 09:46:51 -04:00
Zach Ramsay 2678529aed docs: simple in an unfavourable word for newsers 2017-08-07 09:20:23 -04:00
Ethan Frey 673814673e Refactored basecoin init a bit to use in eyes 2017-08-06 23:49:09 +02:00
Ethan Frey 3db48b8d9a Add helper function to parse a command flag 2017-08-06 22:51:29 +02:00
Ethan Frey c87174875a Merge pull request #210 from tendermint/feature/40-overhaul-proofs
Overhaul proofs and light-client / basecoin separation
2017-08-04 21:19:41 +02:00
Ethan Frey d6d6b75736 Renamed client/commands/proofs to client/commands/query 2017-08-04 20:50:36 +02:00
Ethan Frey 6dae258767 Lots of cleanup 2017-08-04 20:36:50 +02:00
Ethan Frey 0de3ecc741 Compiles and all tests pass - even IBC with new proofs 2017-08-04 20:02:23 +02:00
Alexis Sellier 831c9ae3ec Use Get/GetParsed everywhere 2017-08-04 19:21:40 +02:00
Alexis Sellier 391380bef2 Refactor app state query code 2017-08-04 19:21:40 +02:00
Ethan Frey 4df20df62a Fix meaning of --trust-node, pass tests 2017-08-04 18:51:16 +02:00
Ethan Frey 8d3576f0f7 Try to rip out tx stuff 2017-08-04 17:27:54 +02:00
Alexis Sellier d629f27800 Use new proof method 2017-08-04 17:03:07 +02:00
Ethan Frey 18a1dd7f6b Migrate Bonsai to GetWithProof 2017-08-04 15:46:00 +02:00
Ethan Frey f2adf3645a role cli uses hex for consistency 2017-08-04 14:44:28 +02:00
Ethan Frey 2113c9f884 Merge pull request #196 from tendermint/feature/184-overhaul-handler-interface
Feature/184 overhaul handler interface
2017-08-04 14:18:07 +02:00