Commit Graph

809 Commits

Author SHA1 Message Date
Rigel
3231daa4d8 remove global shares (#1644)
* wip removing pool shares

* remove PoolShares/Tokens entirely

* worked through stake/type compile error

* work through a bunch of keeper errors

* worked through compile errors

* debugging tests

* resolve compilation error

* resolved types errors

* ...

* move inflation to pool type

* ...

* stumped problem

* Calculate newly issued shares, remove unnecessary pool arg from exchange rate calculation

* Rounding changed

* Update x/slashing tests for sdk.Rat BondedTokens

* testing fixes

* resolved test fixes

* cwgoes comments, changelog, lint

* cli bugfixes

* ..

* cli fixed

* spec update

* 'make format'

* cwgoes comments

* Increase test_cover parallelism
2018-07-13 21:46:14 +01:00
Aditya Sripal
cb9c7fecee remove false promise 2018-07-12 19:12:04 -07:00
Aditya Sripal
ade7186ffb minor cleanup 2018-07-12 19:06:05 -07:00
Aditya Sripal
98c19516c5 merge 2018-07-12 18:34:54 -07:00
Aditya Sripal
fa31165438 Refactor BaseApp without breaking change 2018-07-12 18:32:48 -07:00
Jeremiah Andrews
43b9cc6df0 Merge PR #1533: Pruning Cleanup 2018-07-13 03:20:26 +02:00
Alexander Bezobchuk
5983a07fb6 Merge PR #1599: Implementation of TraceKVStore 2018-07-13 01:58:51 +02:00
Christopher Goes
d8ec44e610 Merge branch 'master' into cwgoes/a-random-walk-down-proof-of-stake 2018-07-13 00:16:24 +02:00
Jeremiah Andrews
41dd01906a Merge PR #1654: Wait for 2 blocks attempt 2018-07-12 22:03:18 +02:00
Christopher Goes
bb217b91a4 Actual Gaia app 2018-07-12 22:01:43 +02:00
Christopher Goes
50d384aa90 Merge branch 'master' into cwgoes/a-random-walk-down-proof-of-stake 2018-07-12 21:30:11 +02:00
Christopher Goes
432c109f06
Merge PR #1627: ready-for-review: Gov modules enums marshalJSON to String 2018-07-12 19:39:15 +02:00
Christopher Goes
f9f326cefb Move files 2018-07-12 00:14:37 +02:00
Sunny Aggarwal
cba7fd7ee8 gov enums marshal to String 2018-07-10 17:59:07 -07:00
Ethan Buchman
3f44589861 Merge branch 'develop' 2018-07-10 20:31:05 -04:00
Christopher Goes
75b4f4104a Merge branch 'develop' into joon/673-am-constructor 2018-07-11 00:57:46 +02:00
Christopher Goes
0ce2732660
Merge branch 'develop' into rigel/genesis-no-zero-power 2018-07-10 07:25:13 +02:00
Ethan Buchman
af478a94bd
Merge branch 'develop' into fedekunze/gov_module_docs 2018-07-10 00:29:39 -04:00
Rigel
b60fcb68d6
Merge branch 'develop' into rigel/genesis-no-zero-power 2018-07-10 00:15:10 -04:00
mossid
bc12880394 Merge pull request #1379: Account constructor in AccountMaper
fix

fix democoin

fix tests

pass lint

last fix

apply requests

fix build failing

fix docs
2018-07-09 20:29:14 -07:00
rigelrozanski
86f68a3e95 prevent zero genesis validators 2018-07-09 22:51:13 -04:00
Sunny Aggarwal
896cd333f0 address comments 2018-07-09 16:06:05 -07:00
Federico Kunze
841c322ddd Update Gov process considerations 2018-07-09 11:30:32 -04:00
Federico Kunze
ab2d5a73e3 Typos and format 2018-07-09 11:03:42 -04:00
Federico Kunze
023b6c1483 Addressed comments from Gautier and Dev 2018-07-09 10:43:53 -04:00
Sunny Aggarwal
d7158b70a5 fixed cli test 2018-07-09 02:05:19 -07:00
Sunny Aggarwal
25d976feb4 works? 2018-07-09 01:47:38 -07:00
sunnya97
7ac220beb6 asdf 2018-07-09 00:59:51 -07:00
Federico Kunze
0c1a9dcc42 Update with Gov CLI for gaia-7000 2018-07-08 19:50:24 -04:00
ValarDragon
611e4faa3a gaiad: Genesis txs now use bech32 encoding of address and pubkey
* `gaiad init gen-tx` makes the outputted file use bech32, with acct prefix
* `gaiad init --gen-txs` only reads bech32 with acct prefixes

The reason for using the account prefix is that in principle you could
have genesis transactions for non-validators.

Closes #1475
2018-07-07 14:23:19 -07:00
ValarDragon
12c1eb4d31 gov/client: rename submitproposal to submit-proposal
It is standard in the sdk to use a dash for subcommands / flags
with multiple words. This makes submitproposal comply with that.
2018-07-05 22:22:50 -07:00
ValarDragon
bf8cde1d3a cli: deprecate --name in favor of --from 2018-07-05 17:24:02 -07:00
Christopher Goes
fef2ff0fb9
Merge PR #1538: CLI tests no longer reset local environment state
tests: cli_tests no longer call `unsafe_reset_all` on local env
2018-07-05 23:09:26 +02:00
Ethan Buchman
84ecd1e043
Merge pull request #1339 from forbole/develop
Update testnet readme and use Bech32-encoded delegator address
2018-07-05 16:59:04 -04:00
ValarDragon
23414868a1 Remove --owk flag 2018-07-05 10:14:12 -07:00
ValarDragon
72aac78a39 Set home-client in gaiad init 2018-07-05 09:51:20 -07:00
ValarDragon
c4c1c626c9 Add --owk flag to gaiad init 2018-07-05 09:47:04 -07:00
ValarDragon
492272c5e6 cli_test: Un-abstract common code
This is done to enhance readability, so one can easily reproduce
the functionality in the command line.
2018-07-05 09:08:45 -07:00
Joon
22ec6ad98d Merge pull request #1532 : Add Codec.Seal
fix wire
2018-07-05 12:04:21 -04:00
ValarDragon
640bccf8f7 Switch using user home to a tmp directory 2018-07-04 13:09:59 -07:00
ValarDragon
b0e6c76554 Remove redundant comment, switch to MustBech32ify 2018-07-04 08:20:44 -07:00
ValarDragon
e41f2bc8b5 tests: cli_tests no longer reset call unsafe_reset_all on local env
* Makes all cli tests use .test_gaiad, .test_gaiacli instead of the
	same directories as the default binaries
* Abstracts alot of the functionality for setting up the server into
	a single function / file-wide constants. This is to reduce
	code duplication, especially since some of this functionality
	depends on each test setting up the keys in the same way.

Closes #1461
2018-07-03 23:33:24 -07:00
Ethan Buchman
d388036454 Merge PR #1520: various fixes for test_cli
* various fixes for test_cli
* linting
2018-07-03 06:33:53 +02:00
Ethan Buchman
a6dc81defa minor cleanup of feeKeeper 2018-07-03 00:08:00 -04:00
Ethan Buchman
673086f621
Merge branch 'develop' into davekaj/set-fee-collection-keeper 2018-07-02 20:43:33 -04:00
Ethan Buchman
f78f30c67a update for tm v0.22.0. tmlibs->tendermint/libs 2018-07-02 16:34:06 -04:00
Faraaz Nishtar
46b9f52daa
Update Status.md 2018-07-02 10:26:54 -07:00
Dev Ojha
955a0c9af7 Switch asserts to require (#1483)
* meta: Switch the majority of asserts to require

Switch most assert statements to require, to ease debugging.
Closes #1418

* Fix imports
2018-06-30 03:10:15 +02:00
Dev Ojha
097dd8a164 tools: Add unparam linter (#1443)
* tools: Add unparam linter

unparam detects unused parameters in functions, and a parameter to
a function which only ever takes on one value. The latter is an
indication that more tests are required.

There are many nolints in this PR, as I believe that writing tests
to fix alot of these situations is out of scope for this PR / it
will be changed in future commits. There are some nolints for
when we have to comply to normal api's.

* crypto/keys no longer used by x/gov/client/rest/rest.go
2018-06-29 18:22:24 -04:00
David Kajpust
0a76035398 fee collection now works in gaia 2018-06-29 09:37:14 -04:00
Christopher Goes
59aadf42aa
Ledger integration (#931)
Merges the keybase and Ledger code from go-crypto (which is no more) into the SDK
Adds support for Ledger into gaiacli
Cherry-picks updated error handling from #1158
2018-06-29 02:54:47 +02:00
Dev Ojha
ac3adff1e8 Merge PR #1438: Tools: Add errcheck linter
This linter ensures that all errors are checked.
This is disabled in the client directories, since its not needed on
those writes
2018-06-29 00:52:10 +02:00
Rigel
9dbdb1a55f
Merge branch 'develop' into bucky/gaiadebug-bech32 2018-06-27 19:32:24 -04:00
Rigel
50733f5c22
Merge branch 'develop' into develop 2018-06-27 19:22:48 -04:00
Rigel
6f140d7296 Merge PR #1119: Unbonding, Redelegation
* stake/fees spec updates
* staking overview.md revisions, moving files
* docs reorganization
* staking spec state revisions
* transaction stake updates
* complete staking spec update
* WIP adding unbonding/redelegation commands
* added msg types for unbonding, redelegation
* stake sub-package reorg
* working stake reorg
* modify lcd tests to not use hardcoded json strings
* add description update
* index keys
* key managment for unbonding redelegation complete
* update stake errors
* completed handleMsgCompleteUnbonding fn
* updated to use begin/complete unbonding/redelegation
* fix token shares bug
* develop docs into unbonding
* got non-tests compiling after merge develop
* working fixing tests
* PrivlegedKeeper -> PrivilegedKeeper
* tests compile
* fix some tests
* fixing tests
* remove PrivilegedKeeper
* get unbonding bug
* only rpc sig verification failed tests now
* move percent unbonding/redelegation to the CLI and out of handler logic
* remove min unbonding height
* add lcd txs
* add pool sanity checks, fix a buncha tests
* fix ante. set lcd log to debug (#1322)
* redelegation tests, adding query functionality for bonds
* add self-delegations at genesis ref #1165
* PR comments (mostly) addressed
* cleanup, added Query LCD functionality
* test cleanup/fixes
* fix governance test
* SlashValidatorSet -> ValidatorSet
* changelog
* stake lcd fix
* x/auth: fix chainID in ante
* fix lcd test
* fix lint, update lint make command for spelling
* lowercase error string
* don't expose coinkeeper in staking
* remove a few duplicate lines in changelog
* chain_id in stake lcd tests
* added transient redelegation
* 'transient' => 'transitive'
* Re-add nolint instruction
* Fix tiny linter error
2018-06-27 04:00:12 +02:00
Ethan Buchman
5b29a509cd gaiadebug: support bech32 2018-06-25 17:42:48 -04:00
Adrian Brink
296ba2d56e Merge PR #1350: Update README.md 2018-06-23 04:45:24 +02:00
Sherry Ma
04c2071824
Change the value of tag --address-validator
When doing gaiacli stake delegate/unbond/delegation, --address-validator should get the address of the validator, not the validator pubkey.
2018-06-22 17:48:52 +08:00
Sunny Aggarwal
dc2c8f900b Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
Aditya
f049a56376 Merge PR #1266: Multiple messages
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Started work on multiple msgs, types and x/auth tests pass
* Fix issues in x, examples, and baseapp
* Added baseapp tests for multiple msgs
* Documentation fixes
* Fix baseapp tests with sdk.Int
* Modify test
* Transaction handling is now atomic
* Fix test comment
* Minor doc fixes and code cleanup
* Added baseapp result changes
* Use address in validator update accumulation
* Added ante tests for multisigner
* Remove validatorUpdates from tx result
* Better error logs
* Put Memo in StdSignBytes and formatting
* Updated changelog
2018-06-22 00:05:25 +02:00
Peng Zhong
81c773c8bf Merge PR #1328: Testnet readme: how to edit validator description
* show how to edit validator description
* teach about keybase sig
* add dash
* add more dashes
* talk about logos for validators
2018-06-21 19:12:35 +02:00
Jack Zampolin
fb7e370c65 Merge PR #1316: Update testnet validator instructions
* Update testnet validator instructions
* Address PR comments
2018-06-21 05:15:29 +02:00
Christopher Goes
918e217e1f
Merge PR #1280: Implement simple transaction memos
* AltBytes -> Memo, memo CLI support & thread-through
* Check memo size, update changelog
* Update existing testcases
* Nuke CircleCI caches
* Charge gas proportional to memo size
* Fix gas allocations in ante handler testcases
* Add testcases
* Update changelog
* Fix tiny CLI bug & add to CLI tests
* Add '--memo' to gaiacli
* Add testcase for large memos
* Address PR comments
2018-06-20 21:27:36 +02:00
Peng Zhong
0b0236f2bf Merge PR #1309: Update testnet README with solutions to common problems
* update readme with common problems
* readme tweaks
* readme tweak
* Link to nodes page, not a single node, and rephrase slashing
2018-06-20 07:37:59 +02:00
Joon
314b5a854d Merge PR #1218: sdk.Int in sdk.Coin
implement Int, Int256, Uint256
pass ci
pass ci
add to changelog, add boundcheck to test
add comments, fix cli_test.go
fix errors
apply requested changes
panics on New*WithDecimal
fix Int.BigInt()
fix stake tests
* Panic on uint division-by-zero
* Set ok=false on NewIntFromString, NewUintFromString failure
* Nuke CircleCI caches
2018-06-15 23:16:45 +02:00
Greg Szabo
59698f8368 Changed denom to token 2018-06-14 13:42:38 -07:00
Greg Szabo
f8290a0fc3
Merge branch 'develop' into greg/testnet-command-2 2018-06-14 11:34:26 -07:00
Greg Szabo
92fb6685fc Rename fermion to denom in genesis.go 2018-06-14 10:56:24 -07:00
Ethan Buchman
329bbdd502 Merge branch 'master' into develop 2018-06-13 18:05:45 -07:00
Ethan Buchman
ff34cbc8bc gaia/cli_test: remove sleeps 2018-06-13 17:41:01 -07:00
Greg Szabo
17e88a5e00 Fixes requested by Rigel: GenTx, config package name 2018-06-13 17:30:16 -07:00
Ethan Buchman
0180a5b48e testnets/status: gaia-6002 is live 2018-06-13 15:20:54 -07:00
Ethan Buchman
3cbb06015e add gaiadebug readme 2018-06-13 15:17:18 -07:00
David Kajpust
ec2fedd36c Merge PR #1227: Set all Error strings 1st letters to lowercase. Fixes issue #1154 2018-06-13 21:13:22 +02:00
Greg Szabo
73b0b489cf
Merge branch 'develop' into greg/testnet-command-2 2018-06-13 09:28:04 -07:00
gamarin2
6b9f851032
Add update testnet guide to status 2018-06-13 11:11:55 +02:00
Ethan Buchman
8acac90894 gaia 6002 2018-06-13 01:44:30 -07:00
Christopher Goes
5a273a1cdd
Merge branch 'develop' into release/v0.19.0 2018-06-13 10:02:55 +02:00
Ethan Buchman
35a3c14918 update status.md 2018-06-12 23:18:37 -07:00
Ethan Buchman
47cc91e8e5 gaiadebug: raw-bytes command 2018-06-12 22:59:33 -07:00
Ethan Buchman
cb93cbee3d gaiadebug: add hack command 2018-06-12 22:41:33 -07:00
Ethan Buchman
522042fd12 gaiadebug tool 2018-06-12 22:41:33 -07:00
Ethan Buchman
85c7702ca0 Merge branch 'master' into local/develop 2018-06-12 22:40:54 -07:00
suyuhuang
ef2e7a5129 Merge PR #1229: Fix 'gaiad init gen-tx' not showing seed 2018-06-13 07:27:24 +02:00
Ethan Buchman
a03770d73d testnets: minor readme update 2018-06-12 21:13:28 -07:00
Greg Szabo
072d422da6
Merge branch 'develop' into greg/testnet-command-2 2018-06-12 11:26:58 -07:00
Greg Szabo
4c5e536b31 Added testnet command and localnet targets
Finished testnet command and introduced localnet targets in Makefile, together with gaiadnode Docker image

Fixed function parameter list - now starts with ctx

Separated GenTxConfig into a server/config package so both the server package and the mock package can use it

Adding server/config to app package

gaiadnode Docker image

Separated GenTxConfig into a server/config package so both the server package and the mock package can use it

Adding server/config to app package

Fixes requested by Rigel

Removed commented code

Global flag fixes
2018-06-12 11:25:03 -07:00
Peng Zhong
3b9cb49497 readme improvements
add link to official faucet, remove sequence from cmds

readme improvements

wording improvements and simplifications

add link to cosmos explorer

remove instances of candidate

add apostrophe

small fixes

improve the installing software section

fixes based on feedback

add note about querying an empty account

remove panic note

update introduction

add full cp path for copying genesis.json

update moniker warning

remove redundant sections

add error message when querying empty account

don't need a link to golang.org

link to sections, better section names

fix section link

reorganize sections

add h3s

remove & symbol

add whitespace

update h3 to h2

add note about explorer not connecting to every node
2018-06-12 16:53:24 +08:00
Rigel
dc62279ae1
Merge pull request #1200 from cosmos/cwgoes/slashing-bugfixes
Slashing bugfixes (start height, handler registration)
2018-06-11 20:12:02 -07:00
Sunny Aggarwal
161cb474d4 Account Numbers for Replay Protection with Account Pruning (#1077)
* in progress
* passes current tests
* added tests and got working
* changelog and docs
* removed prints
* oops
* works!
* issue in test_cli
* number 9 number 9 number 9
* at least it does only the 9 issue now
* hallelujah it works!
* removed print statement
* rebased
* gah
2018-06-12 04:30:54 +02:00
Ethan Buchman
4dcf41df4b seed->seeds 2018-06-11 11:40:38 -07:00
Ethan Buchman
5e975fc675 add fixes from billy 2018-06-11 11:35:18 -07:00
Christopher Goes
3bea85abb3
Register slashing keeper, set startHeight, testcases 2018-06-11 02:55:54 +02:00
Ethan Buchman
9430ba1baa cmd/gaia/testnets: update versions, use a working seed 2018-06-10 11:02:19 -07:00
Ethan Buchman
eceb56b709 cmd/gaia/testnets: update status.md with recent history 2018-06-10 10:51:18 -07:00
Ethan Buchman
e699e251f5 add cmd/gaia/testnets folder to deprecate cosmos/testnets repo 2018-06-10 10:41:37 -07:00
rigelrozanski
61a510ed08 ... 2018-06-07 21:46:27 -07:00
rigelrozanski
b5d847288d move original mock into server 2018-06-07 21:33:06 -07:00
rigelrozanski
abab7c2e42 modules test within mock application 2018-06-07 20:55:14 -07:00
rigelrozanski
1e67768485 ported ibc tests 2018-06-07 17:20:35 -07:00
Christopher Goes
3fbee11ccc
Merge PR #1142: Export validators to genesis
* Validator export skeleton
* Update export command, add tests, update CHANGELOG
* Rename exportAppState to exportAppStateAndTMValidators
2018-06-06 18:38:13 +02:00
Fabian
5f409ce832 Merge PR #1086: Bech32Cosmos output/input for the LCD
* refactored bech32ization
* updated keys endpoints for bech32
* bech32 for sending and querying
* trying to change output of validator addresses
* fixed validator output
* linted
* fixed merge conflict
* added bech32 to staking endpoints
* removed some logging statements
* added GetAccPubKeyBech32Cosmos
* fixed cli tests
* updated swagger
* merged standard bech32 change
* renamed bech32cosmos to bech32
* bech32ify json output for key add
* readded changelog
* fixed changelog merge issue
* Update CHANGELOG.md
2018-06-06 06:53:04 +02:00
Christopher Goes
be7ec5bc07
Merge PR #1115: Update SDK to ABCI v11 2018-06-05 01:42:01 +02:00
rigelrozanski
0ef3259a39 revised use of EndBlock/BeginBlock, basecoin updated for staking/slashing 2018-06-01 14:24:48 -07:00
Christopher Goes
537ce91e33
Merge pull request #1105 from cosmos/cwgoes/slashing-v1.1
Fix minor slashing issues
2018-06-01 18:41:13 +02:00
Zaki Manian
ce850dca3b Switch from bech32cosmos to bech32 2018-06-01 16:23:58 +02:00
rigelrozanski
e1d9f00d2d ... 2018-06-01 01:57:21 -07:00
rigelrozanski
823814dfce fix cli test 2018-06-01 01:47:44 -07:00
Jeremiah Andrews
a03638d14a changed commands in cli_test to match refactor 2018-05-31 22:06:13 -07:00
Jeremiah Andrews
aa41cefb1e renamed state subcommand to tendermint 2018-05-31 21:50:01 -07:00
Jeremiah Andrews
744f78573e small fixes 2018-05-31 21:50:01 -07:00
Jeremiah Andrews
083ca8234b Refactored gaiacli and gaiad commands into subcommands 2018-05-31 21:50:01 -07:00
Christopher Goes
9fa4a55012
Add 'gaiacli signing_info' 2018-06-01 06:21:26 +02:00
Christopher Goes
cde91bd229
gaiacli unrevoke 2018-06-01 06:21:22 +02:00
rigelrozanski
ba44bf7c81 rm debug output 2018-05-31 18:54:14 -07:00
rigelrozanski
5515b60b0a better tooling for cli, couple lsd fixes 2018-05-31 18:46:25 -07:00
rigelrozanski
a4e1e497cd cwgoes comments 2018-05-31 15:49:18 -07:00
rigelrozanski
0b6aa3c047 add test_cli to ci 2018-05-31 14:57:09 -07:00
rigelrozanski
1f1097c4d3 cli test bugs 2018-05-31 14:57:09 -07:00
rigelrozanski
952aedc4f1 get rid of candidacy references 2018-05-31 14:57:09 -07:00
rigelrozanski
afc2bbfe09 working through cli 2018-05-31 14:56:17 -07:00
rigelrozanski
94e78e0602 cech32 fixes for TestGaiaCLISend 2018-05-31 14:56:17 -07:00
Jae Kwon
871574888b Make Execute and GoExecute log better 2018-05-31 14:56:17 -07:00
Rigel
0fb2bbdfef
Merge pull request #1011 from cosmos/cwgoes/slashing
Implement slashing (v1)
2018-05-31 11:09:44 -07:00
Rigel
49adacab53
Merge branch 'develop' into cwgoes/misc-fixes 2018-05-30 20:09:57 -04:00
Rigel
1c462013a9
Merge branch 'develop' into matt/stake-rest 2018-05-30 10:53:12 -04:00
Christopher Goes
91f14e1b48
Merge branch 'develop' into cwgoes/slashing 2018-05-29 21:39:45 +02:00
Christopher Goes
e4b0d0a618
Reorganization in progress 2018-05-28 21:55:54 +02:00
Christopher Goes
67f7f31ba9
Fix testcases by mounting store 2018-05-28 21:55:52 +02:00
Christopher Goes
95c5baf449
Rebase & squash slashing 2018-05-28 21:55:27 +02:00
Zaki Manian
f33f49a840 Almost from scratch reimplementation of bech32cosmos integration. 2018-05-27 13:47:23 +02:00
Matt Bell
5c1a7694e5 Merge branch 'develop' into matt/stake-rest 2018-05-27 16:02:33 +09:00
Sunny Aggarwal
d3bdb09ffc passes, needs tests 2018-05-25 20:29:40 -07:00
rigelrozanski
57d86cc04c fix many lcd errors, restructure lcd init 2018-05-25 10:17:49 -04:00
sunnya97
5d7c3af1b8 works 2018-05-23 22:09:01 -07:00
sunnya97
33492cc070 in progress 2018-05-23 19:53:42 -07:00
sunnya97
cb52712660 in progress 2018-05-23 19:49:35 -07:00
sunnya97
3055d939ed in progress 2018-05-23 19:26:54 -07:00
rigelrozanski
41458956a1 fix tests, pool.TotalSupply -> pool.TokenSupply() 2018-05-22 18:50:59 -04:00
rigelrozanski
db9fd51d1c ... 2018-05-22 15:13:03 -04:00
Christopher Goes
8f4234b44d
Require --name on init gen-tx 2018-05-22 10:40:04 +02:00
rigelrozanski
e70249b631 more bucky comments, single status validator, only one store now for core validator object 2018-05-20 17:39:04 -04:00
rigelrozanski
26be2a231b working addressed bucky comments 2018-05-18 18:57:47 -04:00
rigelrozanski
423917f352 test compile fixes for poolshares 2018-05-17 09:19:33 -04:00
rigelrozanski
1ab432a7e1 many bug fixes, introduce PoolShare type 2018-05-17 09:19:33 -04:00
rigelrozanski
dc3c40fecc fixing tests, working on TestUpdateSharesLocation 2018-05-17 09:19:33 -04:00
rigelrozanski
b64363fcbe split types into multiple files, fix delegation share exrate 2018-05-17 09:19:33 -04:00
rigelrozanski
c69c145964 fix stake app tests 2018-05-17 09:19:05 -04:00
rigelrozanski
9bb01c9504 fixing tests 2018-05-17 09:19:05 -04:00
rigelrozanski
a0c73372be stake refactor, tests compiling 2018-05-17 09:19:05 -04:00
rigelrozanski
675dc5df15 staking refactor compiling 2018-05-17 09:19:05 -04:00
rigelrozanski
fa64487e65 working fee distribution reorg 2018-05-17 09:17:40 -04:00
rigelrozanski
ed5d088824 renaming and refactoring for fees 2018-05-17 09:17:14 -04:00
rigelrozanski
d871605241 staking fee distribution working commit 2018-05-17 09:15:06 -04:00
Christopher Goes
3d5b048444
Remove txGasLimit, update tests 2018-05-16 02:31:52 +02:00
Christopher Goes
4134bf922c
Address PR comments 2018-05-16 02:06:17 +02:00
Christopher Goes
1c4ed7b833
Gas-wrap ctx.KVStore 2018-05-16 01:13:48 +02:00
Christopher Goes
09517056b0
Catch out-of-gas panics 2018-05-16 01:13:48 +02:00
Adrian Brink
cd24244308
Sort all genesis transaction by node id
This ensures that users can rename the genesis transactions and they
will still be in the same order.
2018-05-13 18:19:42 -04:00
rigelrozanski
d44c7afa30 add range queries, add candidates query 2018-05-08 15:57:12 -04:00
Christopher Goes
23c9e2fb6f
Update CLI tests to test auto-sequencing 2018-05-04 05:43:29 +02:00
rigelrozanski
dd9b5e78f7 cleanup stake marshalJson -> marshalBinary 2018-05-01 16:41:04 -04:00
Adrian Brink
d52d74582a
Change fermion to steak 2018-04-30 16:24:46 -07:00
rigelrozanski
ce32117399 rational embedes bigRat 2018-04-30 17:21:14 -04:00
rigelrozanski
318e924145 refactor 2018-04-27 20:36:11 -04:00
rigelrozanski
10ddd7a3d3 refactor export function, working 2018-04-27 20:06:50 -04:00
Christopher Goes
67961476b4 Fix testsuite 2018-04-27 20:06:50 -04:00
Christopher Goes
5759f6ab60 Use account store key 2018-04-27 20:05:58 -04:00
Christopher Goes
ad77affb53 Add IterateAccounts & account export 2018-04-27 20:04:29 -04:00
Christopher Goes
10d2e5ae40 Move generateApp & exportApp to baseapp/helpers 2018-04-27 20:04:29 -04:00
Christopher Goes
f6cef02904 Reorder parameters & remove redundant check 2018-04-27 20:03:43 -04:00
Christopher Goes
df4fdb3642 Rebase & merge changes 2018-04-27 20:03:43 -04:00
Christopher Goes
9450779bba InitGenesis & WriteGenesis no longer functions of keepers 2018-04-27 20:03:43 -04:00
Christopher Goes
f92e83d2e0 Swap to general export command 2018-04-27 20:02:26 -04:00
Christopher Goes
55c82e44a2 export-stake command works 2018-04-27 20:00:58 -04:00
Christopher Goes
f71191e402 Add simple WriteGenesis for stake & cool modules 2018-04-27 20:00:58 -04:00
rigelrozanski
260ab69e4f cleanup, move simplestaking to democoin 2018-04-26 22:59:30 -04:00
rigelrozanski
514b3fba4e fix genesis tests 2018-04-26 14:26:39 -04:00
rigelrozanski
ade42e74b7 better init test 2018-04-26 14:26:39 -04:00
rigelrozanski
05c5809bae gaia init automatic key processing 2018-04-26 14:26:39 -04:00
rigelrozanski
7e2ac80137 cli testing fix 2018-04-26 14:26:39 -04:00
rigelrozanski
b9477ecbbe init refactor uses genesis transaction now 2018-04-26 14:26:39 -04:00
rigelrozanski
525a852b01 bug fixes to init from-pieces command 2018-04-26 14:26:39 -04:00
rigelrozanski
3aa4752737 stake cli init fixes 2018-04-26 14:26:39 -04:00
rigelrozanski
201908949a stake init overhaul 2018-04-26 14:26:39 -04:00
rigelrozanski
867d0e502c working genesis pieces 2018-04-26 14:26:39 -04:00
rigelrozanski
246e4bdac3 renames 2018-04-26 14:26:39 -04:00
rigelrozanski
d4c2d6fd4c fix cli tests 2018-04-26 14:26:39 -04:00
rigelrozanski
55c1e1dcfc init refactor 2018-04-26 14:26:39 -04:00
rigelrozanski
6748aa7bc6 first stab init refactor 2018-04-26 14:26:39 -04:00
Christopher Goes
56ac948dc6
REST folder restructure & cleanup 2018-04-25 16:18:06 +02:00
Sunny Aggarwal
016a1c8ec9 removed seal 2018-04-22 23:36:15 -07:00
rigelrozanski
ca3d3be3af better key output 2018-04-20 12:51:47 -04:00
rigelrozanski
ad0c776d94 show_validator now displays HEX by default, declare-candidacy also takes go-amino encoded 2018-04-19 15:18:31 -04:00
rigelrozanski
d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00
rigelrozanski
0e8c3e4a5b remove gaia basecoin reference 2018-04-18 14:32:40 -04:00
rigelrozanski
d36efcd417 unbond in gaia cli test 2018-04-18 14:21:07 -04:00
rigelrozanski
6f65867154 comment out go-bash race condition 2018-04-18 14:06:49 -04:00
rigelrozanski
2994af56c9 gaia new error codetype 2018-04-18 12:36:55 -04:00
rigelrozanski
c80b9674cd stake CLI various fixes, confirmed working 2018-04-18 12:19:35 -04:00
rigelrozanski
d344de3b62 stake test candidate query 2018-04-18 12:19:35 -04:00
rigelrozanski
09fe4c0262 fix stake query keys 2018-04-18 12:19:35 -04:00
rigelrozanski
265670297c fix PK encodings 2018-04-18 12:19:35 -04:00
rigelrozanski
e584d5acac ci build -> install
pubkey issue

...

rebase fixes

...
2018-04-18 12:19:35 -04:00
rigelrozanski
158e9dd12d fixed cli tests 2018-04-18 12:19:35 -04:00
rigelrozanski
59f86b4251 interim borken 2018-04-18 12:19:35 -04:00
rigelrozanski
ebb2faabe0 go-bash working 2018-04-18 12:19:35 -04:00
rigelrozanski
3ab032e1c6 cli testing 2018-04-18 12:19:35 -04:00
rigelrozanski
8ab77e2ab5 started gaia go-bash cli testing 2018-04-18 12:19:35 -04:00
rigelrozanski
996cafe972 register wire, stake changelog, stake genesis update 2018-04-18 12:19:35 -04:00
rigelrozanski
068ca5e3e6 fix gaia init genesis creation
int

int
2018-04-18 12:19:35 -04:00
rigelrozanski
c63a545206 stake handler tests 2018-04-18 12:19:35 -04:00
rigelrozanski
c90d62e035 rebase fixes 2018-04-18 12:18:28 -04:00
rigelrozanski
c4a1c12119 gaia app_test for declare candidacy 2018-04-18 12:18:28 -04:00
rigelrozanski
8a34b91fac fix existing gaia tests 2018-04-18 12:18:28 -04:00
rigelrozanski
179caa5768 refactor gaia with stake 2018-04-18 12:18:28 -04:00
Christopher Goes
49b8978454 Swap all examples & testcases to use automatic DB namespacing 2018-04-14 17:05:50 -07:00
Ethan Buchman
f275034830 gaiacli is just basecli 2018-04-09 20:40:16 +03:00
Ethan Buchman
1f93e965fb add log_level flag 2018-04-05 14:16:20 +03:00
Ethan Buchman
31a6806fd4 fix gaia 2018-04-05 13:47:54 +03:00
Ethan Buchman
02a2008c0d move gaia to cmd, update makefile 2018-04-05 13:08:19 +03:00
Ethan Frey
96f96ffc3d Moved basecoin into examples 2017-09-04 16:50:09 +02:00
Ethan Frey
041396b53e Moved eyes into example apps, cleaned up Makefile 2017-09-04 16:50:09 +02:00
Ethan Frey
041943c441 Rename all packages and imports to cosmos-sdk 2017-08-21 22:15:15 +01:00
Ethan Frey
7533cd9d7e Merge branch 'develop' into unstable 2017-08-18 23:44:49 +01:00
Matt Bell
dac4d9e155 Started implementing nonce REST query handler 2017-08-18 23:27:51 +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
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
2b1c4dd8b9 Really renames etc -> eyes... finish the job 2017-08-07 19:21:07 +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
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
673814673e Refactored basecoin init a bit to use in eyes 2017-08-06 23:49:09 +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
Emmanuel Odeke
ee5d22010a
cmd/baseserver, */rest: allow baseserver to choose which handlers to use
Make handlers easily configurable to use in cmd/baseserver/main.go.
This way client users can trivially change what functionality they'd
like.
It involves moving ServeCmd out of client/rest to */main.go
and lets client/rest become a bazaar for available mux.Router
registrars.

Updates #200
2017-08-03 11:41:51 -06:00
Emmanuel Odeke
1a45755027 client/rest, modules/coin/rest: moved code around
After offline emails and a video call with @ethanfrey,
a goal was decided to move things around i.e:
- [X] Move /build/send and /query/account to modules/coin/rest

Due to that move, there is a lot of overlap between needed
code and utils so extracted common code to make
https://github.com/tendermint/tmlibs/pull/33
so make sure to pull in that commit into your tmlibs tree.

After code review feedback:
client/rest, modules/coin/rest: FoutputProof, PrepareSendTx helper

* Extract OutputProof to FoutputProof helper that can
be used in modules/coin/rest/handlers.go as proofs.FoutputProof
* Revert r.HandleFunc("/tx", doPostTx).Methods("POST") which
was erraneously deleted
* Use function signatures from "tendermint/tmblibs/common"
2017-08-02 12:57:29 -06:00
Emmanuel Odeke
d4ab79ece0
client/rest, cmd/baseserver: started a basecoin REST client
```shell
$ go get -u -v github.com/tendermint/basecoin/cmd/baseserver
$ baseserver init
$ baseserver serve
```
A server that can be ran by default on port 8998
otherwise one can specify the port using flag `--port` like this:
```shell
$ baseserver serve --port 9999
```
to serve it on port 9999, accessible at http://localhost:9999

Implemented:
- [X] /keys POST -- generate a new key
- [X] /keys GET  -- list all keys
- [X] /keys/{name}  DELETE-- delete a named key
- [X] /keys/{name}  GET -- get a named key
- [X] /keys/{name}  POST, PUT -- update a named key
- [X] /sign POST -- sign a transaction
- [X] /build/send POST -- send money from one actor to another. However,
  still needs testing and verification of output
- [X] /tx POST -- post a transaction to the blockchain. However, still
  needs testing and verification of output

This base code to get the handlers starters was adapted from:
* https://github.com/tendermint/go-crypto/blob/master/keys/server
* https://github.com/tendermint/basecoin/blob/unstable/client/commands/proxy/root.go

Updates #186
2017-07-29 04:12:24 -06:00
Ethan Frey
d0920ac1cf Add post packet to cli and test... bug 2017-07-27 16:41:13 -04:00
Ethan Frey
9640547c01 Expose credit tx to cli and test 2017-07-27 16:41:12 -04:00
Ethan Frey
6135345af8 Add issuer position to grant credit 2017-07-27 16:36:47 -04:00
Ethan Frey
b7f31ad70a Test sendtx with foreign addr creates proper ibc packet 2017-07-27 16:36:15 -04:00
Ethan Frey
fd10387eb5 Tested register and update ibc via cli 2017-07-27 16:30:20 -04:00
Ethan Frey
de537c34ac Add cli support for register/update ibc 2017-07-27 16:27:06 -04:00
Ethan Frey
746ae28eaa Add ibc query commands 2017-07-27 16:27:06 -04:00
Ethan Frey
2b79aa0413 Code cleanup from emmanuel 2017-07-27 15:31:34 -04:00
Ethan Frey
d607b76234 Reorg state package and fix all imports 2017-07-27 15:31:33 -04:00
Ethan Frey
f6e7d4b741 Pull in logic from merkleeyes, get it all working with trees 2017-07-27 15:31:32 -04:00
Ethan Frey
ace0e4cf78 remove key.json from basecoin init 2017-07-22 09:56:22 -04:00
Ethan Frey
63fc25e74e Add roles cli test, coin query supports multiple apps in actor 2017-07-19 16:14:26 +02:00
Ethan Frey
911dd1423e Add roles wrapper/tx/query command to basecoin 2017-07-19 14:26:40 +02:00
Ethan Frey
d712d6ffd1 Fixed imports in main.go 2017-07-19 12:22:01 +02:00
rigel rozanski
ac1ecc10c4 new library orders 2017-07-19 04:51:36 -04:00
Ethan Frey
100522069d Moved cmd/basecli/commands into client/commands 2017-07-18 22:21:57 +02:00
Ethan Frey
eb495e081b Move commands to client/commands 2017-07-18 21:57:37 +02:00
Ethan Frey
a9e4a94402 Moved all commands from light-client into basecoin 2017-07-18 21:23:11 +02:00
Ethan Frey
a060bde1c4 Add more flags to help with multisig 2017-07-18 20:45:48 +02:00
Ethan Frey
7b0934bf9f Ripped about cmd logic to make middleware modular 2017-07-18 20:12:51 +02:00
Ethan Frey
65e9905a83 Ensure valid address in basecoin init 2017-07-18 12:31:57 +02:00
rigel rozanski
8dc5fc718d tests working 2017-07-18 12:08:30 +02:00
rigel rozanski
cb00c00f0d getting query command to operate 2017-07-18 12:08:30 +02:00
rigel rozanski
3d5cf393b9 PR changes 2017-07-18 12:08:29 +02:00
rigel rozanski
007230e583 swap the nonce & chain check order in stack 2017-07-18 12:08:29 +02:00
Ethan Frey
9fd250209e Cli now returns errors on non-zero code from DeliverTx 2017-07-18 12:08:29 +02:00
Ethan Frey
6d35b1f934 Clean up nonce wrapper in cli 2017-07-18 12:08:29 +02:00
rigel rozanski
23615c5d37 almost done! 2017-07-18 12:08:29 +02:00
rigel rozanski
6e07dbe7c3 nonce testing 2017-07-18 12:08:28 +02:00
rigel rozanski
16b039534d working sequence number with errors 2017-07-18 12:08:28 +02:00
rigel rozanski
50e4d31149 working nonce module 2017-07-18 12:08:27 +02:00
Ethan Frey
c1fc5ae3c8 Add --fee flag to sendtx 2017-07-12 20:51:07 +02:00
Ethan Frey
36a453ea41 Fee handler set by default, tested app level 2017-07-12 20:38:54 +02:00
Ethan Frey
5950ff34e3 remove sequence number from coins 2017-07-12 19:25:14 +02:00
Ethan Frey
bb61b9fca3 Update cli to properly query into app state-space 2017-07-11 15:35:43 +02:00
Ethan Frey
64f2c63e21 Fixes as per Rigels comments on PR 2017-07-11 13:44:44 +02:00
Ethan Frey
100d88d7dd Fix up all tests to handle NewChainTx change 2017-07-10 11:57:37 +02:00
rigel rozanski
1821f8bd7a more cleanup
int
2017-07-07 01:27:29 -04:00
Ethan Frey
b757467f7b Moved content of txs package to sit next to the handlers 2017-07-06 16:33:38 +02:00
Ethan Frey
a047e210fa Moved the handlers from stack into modules 2017-07-06 16:00:54 +02:00
Ethan Frey
6983f61961 Moved Coins from types -> modules/coin 2017-07-06 14:59:45 +02:00
Ethan Frey
912c24093f Removed a whole lot of old crud 2017-07-06 13:40:02 +02:00
rigel rozanski
9b561344fe addressing PR 154 comments 2017-07-06 05:39:58 -04:00
rigel rozanski
35845a958f fix cmd/bascoin/commands/init old flags 2017-07-05 07:08:56 -04:00
rigel rozanski
5044032a23 golint compliant for app, cmd folders 2017-07-05 06:57:52 -04:00
rigel rozanski
375fad3bec go linting working 2017-07-04 23:28:27 -04:00
Ethan Frey
6d56891a0f Re-implement counter plugin 2017-07-04 13:43:25 +02:00
Ethan Frey
9cd303d1fd Cleaned up unneeded adapters 2017-07-03 22:34:30 +02:00
Ethan Frey
413ea2e23f basecli works for sendtx and cli tests 2017-07-03 22:30:12 +02:00
Ethan Frey
af132fbab8 Fixed basecli query for 0.7 2017-07-03 21:53:58 +02:00
Ethan Frey
fa1a300943 Add SetOption to all middleware and handlers 2017-07-03 18:10:46 +02:00
Ethan Frey
159574db89 Move ChainID into context 2017-07-03 17:32:01 +02:00
Ethan Frey
ef0ab758ed Cleaned up logger on constructors in App, State 2017-07-03 16:54:47 +02:00
Ethan Frey
d0a2041c89 Remove references to IBC from binaries 2017-07-03 16:47:03 +02:00
rigel rozanski
ec7ef41fdc First Full Auto-Tutorial Test 2017-06-29 05:47:38 -04:00
Ethan Frey
7fa01a2a74 Add experimental support for bash autocomplete 2017-06-28 11:54:48 +02:00
Ethan Frey
71946ada6f Add new rpc subcommand from light-client 2017-06-27 18:13:29 +02:00
Ethan Frey
41bc371a1d Update dependencies, set merkleeyes logger 2017-06-27 15:20:32 +02:00
Ethan Frey
ad5c129b8e #127: init messages refer to command name 2017-06-27 14:07:55 +02:00
Ethan Frey
e839a92f88 Updated RequireInit, latest light-client 2017-06-26 21:36:49 +02:00
Ethan Frey
e37c0cf538 Update dependencies, improve basecli init check 2017-06-26 18:22:51 +02:00
Ethan Frey
14c39e7312 Support all "tendermint node" flags in "basecoin start" 2017-06-26 18:22:50 +02:00
Ethan Frey
18d7b6426b Add support for --log_level 2017-06-26 18:22:50 +02:00
Ethan Frey
c36352e4a5 Refactor tendermint config loading 2017-06-26 18:22:50 +02:00
rigel rozanski
fc36b21669 Add Signers in ReadAppTxFlags 2017-06-23 17:50:54 -04:00
Ethan Frey
f5e96a8d31 Bump version to 0.6.0, add to basecli command 2017-06-22 16:21:59 +02:00
Ethan Frey
4cabad0980 Minor cleanup 2017-06-21 16:24:51 +02:00
Ethan Buchman
824050a0b4 basecoin init --chain-id 2017-06-21 02:48:09 -04:00
Ethan Buchman
43378a9b7b fix up basecli readme and basecoin-tool.md 2017-06-21 00:43:32 -04:00
Ethan Buchman
e671ce6030 bring back key.json. ibc guide edits 2017-06-21 00:32:59 -04:00
Ethan Buchman
105cdbac38 cmd/commands -> cmd/basecoin/commands 2017-06-21 00:27:23 -04:00
Ethan Buchman
7b595b3f87 user ErrNoData from light-client 2017-06-20 21:35:46 -04:00
Ethan Buchman
a3bc96c56b basecoin init takes an account address 2017-06-20 21:35:22 -04:00
rigel rozanski
24bd0f5ed6 update docs, move counter
int

int

int
2017-06-18 19:01:54 -04:00
Ethan Frey
a57e2d34b1 Remove remnants of basecoin tx as ibc functions are now under relay 2017-06-16 20:42:41 +02:00
Ethan Frey
cb075bbb7e Working with relay init 2017-06-16 20:36:38 +02:00
Ethan Frey
b63f8bd15a Move relay to basecoin relay start 2017-06-16 20:20:23 +02:00
Ethan Frey
d7cddb252a Cleaned up comments 2017-06-16 19:31:09 +02:00
Ethan Frey
9bf34cbac2 Removed many more unneeded commands 2017-06-16 17:28:26 +02:00
Ethan Frey
b15f882ff4 Ripped out query, tx send, account, keys, and more 2017-06-16 17:20:45 +02:00
Ethan Frey
33d4f930da basecli sendtx handles chain/addr format 2017-06-16 15:42:18 +02:00
Ethan Frey
2f3c7002fa Create new command, countercli, removed counter from basecli 2017-06-16 14:00:43 +02:00
rigel rozanski
9c8ccefd35 reorganize basecli appTx commands
int
2017-06-16 13:41:42 +02:00
Ethan Frey
3c18c33e92 Fix basecli --chainid to --chain-id 2017-06-15 20:29:26 +02:00
Ethan Frey
282a157997 Update to use new helper methods, less code dups 2017-06-15 15:59:45 +02:00
Ethan Frey
8f67b6be84 Got counter tx working, needs testing 2017-06-15 13:36:18 +02:00
Ethan Frey
66ec2f266c Port sendtx to new format 2017-06-15 13:11:09 +02:00
Ethan Frey
65837cf952 Clean up queries, part 1 2017-06-15 12:27:55 +02:00
rigel rozanski
25e7a79174 replace basecli state presenters with cmds 2017-06-14 05:02:42 -04:00
Anton Kaliaev
20ce43e472
parse log level using tmlibs/cli/flags package (Fixes #97)
```
$ basecoin start
loading existing db
I[06-02|06:18:29.290] Done setting Account via SetOption           module=app result=Success
I[06-02|06:18:29.290] Starting Basecoin with Tendermint            module=main chain_id=test_chain_id
ERROR: Expected either "info", "debug", "error" or "none" level, given state:info,*:error
```
2017-06-02 10:56:15 +03:00
Ethan Frey
9444427d7e Make sure we export hex not base64 for byte slices 2017-05-30 18:28:25 +02:00
Ethan Frey
bcf3212462 Fix up tendermint cli flags to 0.10.0-rc2 in demo 2017-05-30 18:11:10 +02:00
Ethan Frey
935c74d970 Make sure cmd uses encoding/json not wire.JSONBytes 2017-05-30 17:51:35 +02:00
Ethan Frey
ddf434276c Added brief docs on light-client proxy 2017-05-29 16:16:55 +02:00
Ethan Frey
6fec396fbd 92: Fix ParseCoins regexp in general 2017-05-29 16:16:55 +02:00
Ethan Frey
da698bb7af 94: init creates config, like tendermint init 2017-05-24 15:21:56 +02:00
Ethan Buchman
1f5a278965 fix build/tests 2017-05-22 07:44:50 -04:00
Ethan Buchman
7f2d25c593 [cmd] support SendTx to other chains via IBC 2017-05-22 07:35:23 -04:00
Ethan Buchman
444b96dfe7 fixes for relay 2017-05-22 07:35:23 -04:00
Ethan Buchman
7b83dea0d6 [cmd] new relay command for IBC relay 2017-05-22 07:35:23 -04:00
Ethan Buchman
f4c5edaca3 fixes to compile 2017-05-22 07:35:23 -04:00
Ethan Frey
8daa916729 88: Correct functioning of unsafe_reset_all to mirror tendermint 2017-05-22 13:30:42 +02:00
Ethan Frey
029c0e9c72 90: don't panic on missing pk in tx construction 2017-05-22 13:16:08 +02:00
Jae Kwon
2983f5018b Allow keyfile to be absolute path 2017-05-21 20:10:29 -07:00
Ethan Frey
bd62b21d6e Bump version to 0.5.0, update deps 2017-05-17 12:46:08 +02:00
Ethan Frey
a8866bdd2d Reorg basecli for nicer apptx reusage 2017-05-17 01:14:31 +02:00
Ethan Frey
ab6e5c3da2 Add counter app to basecli 2017-05-16 23:53:58 +02:00
Ethan Frey
a32bf5475f Start working on apptx for counter in basecli 2017-05-16 21:40:07 +02:00
Ethan Frey
0843c4428b Cleanup merge 2017-05-16 20:21:55 +02:00
rigel rozanski
4207275d18 basecli cleanup
glide fix

int

int
2017-05-16 19:08:07 +02:00
Ethan Frey
4a380bb6e8 Start abci server when running --without-tendermint 2017-05-16 18:54:19 +02:00
Anton Kaliaev
e42849b4b8 move logger to state
also remove redundant root.go logger
2017-05-14 20:48:11 +02:00
Ethan Buchman
c92c9de342 update glide 2017-05-14 20:48:10 +02:00
Ethan Buchman
59c3d05dfa updates for structs using data.Bytes 2017-05-14 20:48:10 +02:00
Anton Kaliaev
f2e452435a use helper func 2017-05-14 20:47:01 +02:00
Anton Kaliaev
41ef8af108 new logging 2017-05-14 20:47:01 +02:00
Ethan Frey
ab93d969bc Fixed typos in readme 2017-05-14 20:44:35 +02:00
Ethan Buchman
4a1920a2a7 exit code on error 2017-05-13 20:03:53 -04:00
Ethan Frey
d0be11682b Embed light-client proxy 2017-05-13 15:08:45 +02:00
Ethan Frey
93c4e4d82a Add basic info on using basecli 2017-05-12 22:15:20 +02:00
Ethan Frey
5aec321b76 Fix start command 2017-05-12 21:47:18 +02:00
Ethan Frey
2324f5d766 Fix all tests with new tendermint style 2017-05-12 20:54:50 +02:00
Ethan Frey
73435303af Fix basecoin cli to newest tendermint develop (0.10) 2017-05-12 20:29:13 +02:00
Jae Kwon
76b9580045 Fix tabs in init files 2017-04-30 15:21:41 -07:00
Ethan Frey
b907d34dea Imported basecli wholesale 2017-04-27 23:17:06 +02:00
Ethan Frey
b02bc358b1 Update basecoin init configs for tendermint 0.10 2017-04-27 21:14:40 +02:00
Ethan Buchman
525cb4c80b fix tendermint rpc link 2017-04-27 12:52:47 -04:00
Ethan Buchman
9c391a08a9 fix some imports 2017-04-27 15:55:23 +02:00
Ethan Buchman
1a6fae6af6 update import paths for repo merge 2017-04-27 15:55:23 +02:00
Ethan Frey
b6ebf9f8b8 Update to latest go-crypto, adjust code and tests 2017-04-27 15:53:49 +02:00
Ethan Frey
787cf0ebac Update to patched go-p2p, tendermint, fix a few tests 2017-04-27 15:53:49 +02:00
Ethan Frey
57356beab6 Use WrapXxx to safelt construct XxxS structs 2017-04-27 15:52:53 +02:00
rigel rozanski
3c2a6c5d8c cleanup/small fixes 2017-04-21 16:59:16 -04:00
Ethan Buchman
9d620e449b glide update and rebase fixes 2017-04-21 12:56:50 -04:00
rigel rozanski
55e4cf17fd minor fix x2 2017-04-21 12:34:29 -04:00
rigel rozanski
6da5f72de9 tiny fixes 2017-04-21 12:34:29 -04:00
Ethan Buchman
04f79f3ad2 cmd.SilenceUsage 2017-04-21 12:34:11 -04:00
Rigel Rozanski
c292d54e47 Debug Flag, Run -> RunE 2017-04-21 12:34:11 -04:00
Ethan Frey
587461afa4 Make initializing files more robust to some files existing 2017-04-21 12:34:11 -04:00
rigelrozanski
b60845c818 BCHOME default dir change
int

int

int

int
2017-04-21 12:34:11 -04:00
rigelrozanski
02b4fd5f17 doc update 2017-04-21 12:34:11 -04:00
rigelrozanski
18f1142d4c v0.4.0
int
2017-04-21 12:34:11 -04:00
rigelrozanski
6eb511670f cmd init cleanup 2017-04-21 12:34:11 -04:00
rigelrozanski
fb3fd1b425 added cli cobra
rebaseFixes

int

removed ExitOnErr

int

int

int

int

int

added uint64 to RegisterFlags
2017-04-21 12:34:11 -04:00
rigelrozanski
d19f52c893 review changes
int

int
2017-04-13 23:31:52 -04:00
rigelrozanski
0720a03dae tests cleanup
cleanup
2017-04-13 23:31:52 -04:00
Anton Kaliaev
924d11397e update go-rpc
rpc clients were renamed
2017-04-13 21:39:04 -04:00
Ethan Frey
52353433a3 Update all dependencies to develop, fix method names 2017-04-13 14:25:06 +02:00
Ethan Frey
146ca88f2c cast bytes to string before printing 2017-04-03 13:28:14 +02:00
Ethan Buchman
30da6eebb0 cmd: log errors 2017-03-23 18:51:15 -04:00
Ethan Buchman
06a8478a70 update changelog and remove dead wire code 2017-03-23 18:07:31 -04:00
Ethan Buchman
9fc2668c37 clean up some logging 2017-03-18 20:48:48 -04:00
Ethan Buchman
de5506dd8f fix keys and glide 2017-03-14 17:29:43 -04:00
Ethan Buchman
09433299ca add plugin_options and fix tests 2017-03-14 13:55:46 -04:00
Ethan Buchman
03ea00f1e6 consolidate genesis files 2017-03-14 13:32:39 -04:00
Ethan Buchman
4a6b7131e4 BASECOIN_ROOT -> BCHOME 2017-03-14 01:50:10 -04:00
Ethan Buchman
e0df8da40a --abci-server -> --without-tendermint 2017-03-14 01:47:10 -04:00
Ethan Buchman
75da135755 basecoin unsafe_reset_all 2017-03-13 20:20:07 -04:00
Ethan Buchman
44189d9055 basecoin init, default to in-proc, fix up guide 2017-03-13 19:28:34 -04:00
Ethan Buchman
cd3a545264 version bump to 0.2.0 2017-02-26 13:51:39 -05:00
Ethan Frey
c1fa8cb0d2 Use new go-crypto S structs to get full go-data support 2017-02-25 00:12:15 +01:00