Commit Graph

1042 Commits

Author SHA1 Message Date
Ethan Frey 592752435c Fix makefile version flag 2017-08-21 22:21:42 +01:00
Ethan Frey 041943c441 Rename all packages and imports to cosmos-sdk 2017-08-21 22:15:15 +01:00
Ethan Frey 8a430648e4 Bump version to 0.7.0-alpha 2017-08-18 23:48:57 +01:00
Ethan Frey 7533cd9d7e Merge branch 'develop' into unstable 2017-08-18 23:44:49 +01:00
Ethan Frey f2863aa05f Merge pull request #226 from tendermint/rest-/query/nonce
Started implementing nonce REST query handler
2017-08-18 23:33:05 +01:00
Matt Bell dac4d9e155 Started implementing nonce REST query handler 2017-08-18 23:27:51 +01:00
Emmanuel Odeke 71bacacc21 Fix query test - Alexis please check better 2017-08-18 23:03:58 +01:00
Ethan Frey 7b3fde4544 Merge pull request #208 from orijtech/build_create
modules/coin/rest: implemented doCreateRole
2017-08-18 22:54:35 +01:00
Emmanuel Odeke 8a4e24925a Fixed tests/cli/rest.sh for checking accounts 2017-08-18 22:50:10 +01:00
Emmanuel Odeke dfae4ccdbd modules/coin/rest: incorporated feedback from @ebuchman 2017-08-18 22:32:04 +01:00
Emmanuel Odeke f52d92a40e modules/coin/rest: implemented CreateRole
* Note: Role must be a hex string, as enforced in tests/rest/cli.sh

```shell
$ curl -X POST http://localhost:8998/build/create_role --data \
'{
  "role":"DEADBEEF", "seq": 1,
  "min_sigs": 1,
  "signers": [{
    "addr": "4FF759D47C81754D8F553DCCAC8651D0AF74C7F9", "app": "role"
  }]
}'
```

```HTTP
HTTP/1.1 200 OK
Content-Type: application/json
Date: Tue, 08 Aug 2017 19:15:13 GMT
Content-Length: 387

{
  "type": "chain/tx",
  "data": {
    "chain_id": "test_chain_id",
    "expires_at": 0,
    "tx": {
      "type": "role/create",
      "data": {
        "role": "DEADBEEF",
        "min_sigs": 1,
        "signers": [
          {
            "chain": "",
            "app": "role",
            "addr": "4FF759D47C81754D8F553DCCAC8651D0AF74C7F9"
          }
        ]
      }
    }
  }
}
```

Updates #200
2017-08-18 22:32:04 +01:00
Ethan Frey f04975c6a6 Merge pull request #230 from tendermint/feature/make-version
Set git commit in version for all binaries
2017-08-18 22:25:23 +01:00
Ethan Frey 663f96b491 Unify version in all binaries 2017-08-18 22:04:50 +01:00
Ethan Frey a908c24235 Use linker flags to set git commit in version command 2017-08-18 22:04:50 +01:00
Ethan Frey 27d86c7769 Merge pull request #222 from zramsay/roles-multi-sig
docs: roles and multi sig
2017-08-18 22:00:54 +01:00
Zach Ramsay 4c8bddb02a docs: roles PR fixes 2017-08-18 16:08:27 -04:00
Zach Ramsay 4e62c3a1c4 docs: no quotes needed for role 2017-08-18 15:55:44 -04:00
Alexis Sellier 9c7b1e023f Merge pull request #218 from tendermint/feature/client-proofs
Support non-existence proof
2017-08-18 13:06:08 +02:00
Alexis Sellier d3cdce3850 Use more specific assertion functions 2017-08-16 16:55:25 +02:00
Zach Ramsay d332207faa docs: roles and multi sig 2017-08-11 13:30:53 -04:00
Alexis Sellier b69df980d1 Check proofs with latest commit 2017-08-11 14:10:06 +02:00
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 a9df9aeef4 Make Makefile posix-compliant 2017-08-08 21:09:39 +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