Dev Ojha
8bb79d12ca
Fix non-deterministic map iteration in fuzzer ( #2069 )
...
* This demonstrates that the state machine is non-deterministic if there
are more than two txs in a block.
* fix non-deterministic map iteration
* (squash this) fix build errors
* (squash this) iterate using range
2018-08-16 23:45:07 +02:00
Alessio Treglia
187bc1972a
Merge PR #1950 : Validator.Owner -> .Operator
...
* Rename --address-validator flag to --validator
See #1901
* Update PENDING.md
* Rename Validator.Owner -> Validator.Operator
See #1901
2018-08-16 16:47:59 -04:00
Christopher Goes
3d50567034
Merge PR #1783 : Slashing, validator set, and governance simulation
2018-08-16 17:36:15 +02:00
Federico Kunze
c9358ec198
R4R: Fix repeated cmds in CLI for staking (v.0.24.0 release) ( #2043 )
...
* Cherry picked commits
* Update CHANGELOG.md
2018-08-15 16:59:46 +02:00
Rigel
d9dc061b4f
Merge pull request #1819 : rational -> decimal
...
* changelog
* ...
* decimal func working
* decimal complete, untested
* fixing tests
* decimal compile errors resolved
* test compile errors
* precision multiplier test
* 1% laptop battery
* fixed TestNewDecFromStr
* equalities working
* fix bankers round chop
* ...
* working, some decimal issues resolved
* fix rounding error
* rounding works
* decimal works
* ...
* deleted rational
* rational conversion working
* revert changelog
* code compiles (not tests)
* went through all NewDec, made sure they were converted from NewRat properly
* test debugging
* all testing bugs besides the json marshalling fixed
* json unmarshal
* lint
* document update
* fix lcd test
* cli test fix
* mostly undo Dece -> Rate
* val comments
* Efficiency improvements
This now caches all of the precision multipliers (as they were all
used in non-mutative functions), and caches the precisionInt calculation.
(Now it just copies the already calculated value)
* Cache another precisionInt() call.
* Improve banker rounding efficiency
* remove defer, make negation in-place.
* chris val comments
* bez comments
* Aditya comments
* ...
* val comments
* rebasing start
* ...
* compiling
* tests pass
* cli fix
* anton, cwgoes, val comments
* val and jae comments
* type
* undo reuse quo
2018-08-14 20:15:02 -04:00
Matthew Slipper
8fa2c3b4ea
Merge PR #1984 : Replace _ with - in command names
...
Closes #1955
2018-08-14 10:23:42 +02:00
Jack Zampolin
1ae546610c
Merge pull request #2013 from cosmos/dev/fix_non_determinism_storekey
...
Rename transient store key to be a unique key.
2018-08-13 19:08:59 -07:00
ValarDragon
0d41026a0a
Rename transient store key to be a unique key.
...
This caused an error with non-determinism between nodes with same
gaiad version and genesis.
2018-08-13 15:13:37 -07:00
Jack Zampolin
c9cbb0b094
Merge PR #2010 : Add RELEASE_TEST_SCRIPT.md
2018-08-13 21:41:07 +02:00
Dev Ojha
b2a4aecc44
Upgrade to tm version 23.0. ( #1927 )
...
* Start upgrade. Currently go test ./... hangs.
* (squash this) Fix staking tests
* wip
* note what changes need to be made to make this work on tm v0.23.0
* Fix addr -> pubkey map
* cleanup code
* Fix slashing test failures except for begin blocker
* fix all slashing tests
* fix lcd tests
* Address PR comments
* add link to changelog.
* (wip) start making addrToPubkey map persisted. Since amino can't handle maps,
we have to change from what this commit is doing.
* Use the correct method of storing a map
* (squash this) address PR comments
* Did you run 'make'?
* remove gaiadebug binary
2018-08-12 03:33:48 -04:00
Christopher Goes
8f05d052f2
Merge branch 'master' into cwgoes/stage
2018-08-11 15:04:28 +02:00
Ethan Buchman
e6dc01ec27
Bucky/docs ( #1843 )
...
* docs: updates for 7002
* docs: use master instead of versions
* Update validator-setup.md
* 7002 -> 7005
2018-08-08 12:26:31 -04:00
Federico Kunze
1da1115a24
Merge PR #1880 : Staking Gaia-lite (ex LCD) refactor
2018-08-08 12:38:39 +02:00
Alexander Bezobchuk
a9805794d7
Merge pull request #1856 : gen-tx: Support User Given Key Passwords
...
* Merge pull request #1856 : gen-tx: Support User Given Key Passwords
* Fix broken CLI test(s)
2018-08-01 15:15:37 -04:00
Joon
7b54e4b786
Merge pull request #1812 : Add BaseApp.Seal
...
* Merge pull request #1812 : Add BaseApp.Seal
fix pow
move setter functions
apply requests
* fix errors
* fix test
* fix test
* changelog
2018-08-01 00:23:25 -04:00
Sunny Aggarwal
d3fcfdba57
Merge PR #1845 : Query-proposals CLI command
2018-07-31 01:48:00 +02:00
Sunny Aggarwal
7fc2ed61d7
Merge pull request #1859 : slashing to governance for non-voting validators
...
* added slashing to governance non voting
* minor formatting
2018-07-30 01:11:21 -04:00
Sunny Aggarwal
55ef898db8
Merge PR #1688 : Un-hardcode in governance parameters
2018-07-27 03:24:41 +02:00
Joon
d46140a392
Merge PR #1481 : Transient Stores
2018-07-27 03:24:18 +02:00
Christopher Goes
02d52e4326
Hotfix/0.23.1: Tendermint 0.22.7 ( #1844 )
...
* Tendermint 0.22.7; bump patch version
* 0.23.0 -> 0.23.1; update CHANGELOG.md
2018-07-26 19:24:51 -04:00
Rigel
67d0c804b0
Merge pull request #1823 from cosmos/dev/cli_test_build_flag
...
tests: Move cli tests behind a build flag
2018-07-26 13:47:46 -04:00
Jeremiah Andrews
0166cf2aa0
Add test which fails without patch, comment on patch
2018-07-25 22:13:58 -07:00
Ethan Buchman
a627526639
Bucky/docs ( #1832 )
...
* deprecate gaia testnets dir for testnets repo
* update docs for gaia-7002
2018-07-26 01:10:22 -04:00
Dev Ojha
bac91f7a7b
Update to tendermint v0.22.6 ( #1798 )
...
* Update to tendermint v0.22.6
- This was cherry-picked and fixed from develop
- Updates all crypto imports for changes from v0.22.5
2018-07-25 17:13:30 -04:00
ValarDragon
496c75c35a
tests: Move cli tests behind a build flag
...
This is done to make go test ./... work for people using the sdk as a sdk.
Closes #1806
2018-07-25 13:47:00 -07:00
Dev Ojha
5d02a743fb
Update to tendermint v0.22.6-rc0 ( #1798 )
...
* Update to tendermint v0.22.6-rc0
This is comprised of updating the crypto imports / API
* (squash this) switch to v0.22.6
If this passes tests, I'll squash this commit and update the PR.
2018-07-25 16:43:37 -04:00
Rigel
d6cd0d4acc
Merge PR #1818 : CLI keybase-sig -> identity
2018-07-25 20:43:13 +02:00
Zaki Manian
9d0f40769f
Merge PR #1817 : Add some instructions for rolling your testnet
2018-07-25 19:32:12 +02:00
Rigel
52916f3c25
Merge branch 'develop' into rigel/no-endblock-rat-calcs
2018-07-23 14:59:06 -04:00
Rigel
1a44e387fe
Merge pull request #1794 : fixes in cosmos-sdk-cli
...
Some fixes in cosmos-sdk-cli
2018-07-23 14:35:41 -04:00
Rigel
d5a3fa959f
Update init.go
2018-07-23 14:19:52 -04:00
Rigel
fae728f35a
Merge pull request #1663 from cosmos/aditya/cleanup
...
BaseApp cleanup
2018-07-23 14:14:19 -04:00
Sridhar Ganesan
cec01f1328
Changing the way error messages are displayed
2018-07-23 19:04:33 +02:00
Sridhar Ganesan
196a45bb30
Fixing the issues suggested in code review
2018-07-23 18:12:22 +02:00
Sridhar Ganesan
f2c11d9108
Adding comment to make the code clear
2018-07-23 15:47:34 +02:00
Sridhar Ganesan
bfd928ca53
Checking if the path already exists or not before creating the project
2018-07-23 15:40:15 +02:00
Sridhar Ganesan
6cc11d4b60
Replacing all Basecoin references to capitalizedProjectName
2018-07-23 15:01:48 +02:00
Zaki Manian
032d92fa67
Merge PR #1788 : Gaia-7001 Consensus Failure
2018-07-22 23:51:50 +02:00
Aditya
28cbca7d63
Merge branch 'develop' into aditya/cleanup
2018-07-20 17:05:12 -07:00
rigelrozanski
dc42a42986
test cli fix
2018-07-20 12:30:28 -04:00
rigelrozanski
15138b80c8
Merge remote-tracking branch 'origin/develop' into sunny/gov-cli-proposal-id
2018-07-20 11:47:37 -04:00
rigelrozanski
9e5a78fc7a
less stake endblock processing
2018-07-20 11:35:13 -04:00
Sunny Aggarwal
f3a12909ef
Merge PR #1773 : Query the votes on a proposal
...
* added lcd endpoint to query all votes on a proposal
* added cli support
* Gopkg.lock from new dep
* Update PENDING.md
2018-07-20 02:02:46 +02:00
Sunny Aggarwal
9cc384c2f0
added cli support
2018-07-20 01:37:46 +02:00
Rigel
a054532a89
Merge pull request #1620 from cosmos/cwgoes/a-random-walk-down-proof-of-stake
...
R4R: Simulation framework, including staking simulation
2018-07-19 18:47:08 -04:00
Christopher Goes
7bb775aa8a
Switch 0.22 references to 0.23
2018-07-20 00:24:43 +02:00
Sunny Aggarwal
21e72d5f10
gov cli proposalID to proposal-id
2018-07-19 12:37:57 -07:00
Aditya Sripal
48885b4093
merge
2018-07-19 11:38:44 -07:00
Rigel
d2f70ec8af
Merge PR #1748 : CLI use --from consistently
2018-07-19 08:53:12 +02:00
Christopher Goes
7e88a50b2a
Merge branch 'develop' into cwgoes/a-random-walk-down-proof-of-stake
2018-07-19 08:49:20 +02:00
Christopher Goes
1e5a7993ed
Environment variables => flags
2018-07-19 08:40:46 +02:00
Joon
aa525418e1
Merge PR #1373 : Initialization of POS chain
2018-07-19 08:39:40 +02:00
rigelrozanski
423d0c4a18
Merge remote-tracking branch 'origin/develop' into cwgoes/a-random-walk-down-proof-of-stake
2018-07-19 01:56:42 -04:00
Rigel
8e26eb73a5
Merge branch 'develop' into svaishnavy/cosmos-sdk-cli
2018-07-18 21:27:04 -04:00
Aditya Sripal
218c9b3702
Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into aditya/cleanup
2018-07-18 17:48:15 -07:00
Aditya Sripal
81f3e794fe
make breaking changes
2018-07-18 16:24:16 -07:00
Sridhar Ganesan
e572513d91
Adding comments for variables and refactoring how replacer is initialized, adding comment about tools/ structure
2018-07-18 22:06:08 +02:00
Sridhar Ganesan
7255f8260c
Gofmt init.go
2018-07-18 18:39:58 +02:00
Sridhar Ganesan
0698a9535b
Renaming Basecoin and other base* to projectname
2018-07-18 18:36:49 +02:00
gamarin2
9bc994b780
Update faucet link in gaia-7001 README
2018-07-18 14:16:10 +02:00
Sridhar Ganesan
56e61e3f5a
Adding other dependencies to gopkg, moving code, fixing printf
2018-07-18 13:44:29 +02:00
Christopher Goes
dcbd13c392
Environment variables
2018-07-18 09:54:41 +02:00
Christopher Goes
8bd54f0701
Refactor bank tests
2018-07-18 09:05:48 +02:00
Sridhar Ganesan
c2e5734c0b
Removing check function and checking for error in usual way
2018-07-18 08:01:49 +02:00
Christopher Goes
966f26dfb2
Remove print, quickfix
2018-07-18 07:44:40 +02:00
Christopher Goes
6c61577b0b
Misc, environment variables
2018-07-18 07:37:38 +02:00
Christopher Goes
5918ab18fd
Restructure (probably) complete
2018-07-18 01:01:36 +02:00
Christopher Goes
253b82f92a
Makefile changes
2018-07-18 00:04:10 +02:00
Aditya Sripal
198aef2924
revert changes to gaia to ensure non-breaking
2018-07-17 14:16:33 -07:00
Christopher Goes
eda7eb48cd
Gaia simulation needs internal field access
2018-07-17 23:06:30 +02:00
Sridhar Ganesan
64729bb48d
Removing unwanted lines in code
2018-07-17 21:57:57 +02:00
Sridhar Ganesan
07debd8b02
Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into svaishnavy/cosmos-sdk-cli
...
Merging develop branch to my branch
2018-07-17 21:31:33 +02:00
Sridhar Ganesan
1603804ca0
Using basecoin as the template and refactoring the command that creates the workspace setup
...
Removing templates, making changes to makefile to remove dependency on packr
2018-07-17 21:18:55 +02:00
Christopher Goes
cbc9d7d1da
Genesis state
2018-07-17 20:33:53 +02:00
Christopher Goes
d171dbf913
Merge branch 'develop' into cwgoes/a-random-walk-down-proof-of-stake
2018-07-17 20:24:37 +02:00
Ethan Buchman
4c9c75a735
Merge pull request #1716 from cosmos/master
...
Master
2018-07-17 17:03:47 +01:00
Ethan Buchman
a959a57da8
gaia/testnets: add upgrade section
2018-07-17 09:26:01 +01:00
Ethan Buchman
01e8749a78
gaia-7001
2018-07-17 09:07:25 +01:00
Ethan Buchman
fb24d66bf7
gaia/status: gaia-7000 consensus failure
2018-07-17 08:21:27 +01:00
Ethan Buchman
d753cf49df
gaia/status: gaia-7000 making blocks
2018-07-17 07:52:12 +01:00
Christopher Goes
cbcd0f0828
Restructure contd.
2018-07-17 03:25:15 +02:00
Christopher Goes
a49f9d6314
Restructure
2018-07-17 03:15:50 +02:00
Christopher Goes
9ad3d62e49
Updates from merge
2018-07-17 02:41:36 +02:00
Christopher Goes
a6dd96db4d
Merge branch 'develop' into cwgoes/a-random-walk-down-proof-of-stake
2018-07-17 02:23:10 +02:00
Sridhar Ganesan
bb32ebdd49
Hardcoding cosmos-sdk version to 0.21.0 as both 0.20.0 and 0.22.0 breaks the resulting project/template
2018-07-17 00:17:38 +02:00
Ethan Buchman
5c87917434
gaia/status: gaia-7000 is up
2018-07-16 23:00:06 +01:00
Sridhar Ganesan
a463089df1
Using cosmos-sdk version from the library itself
2018-07-16 23:58:40 +02:00
Ethan Buchman
888aea4303
Merge pull request #1700 from cosmos/master
...
Master
2018-07-16 22:40:00 +01:00
Jack Zampolin
70cbb78202
Update testnet doc to reflect gaia-7000
2018-07-16 22:41:12 +01:00
Sridhar Ganesan
1e16ba370f
Fixing bugs due to version upgrade of cosmos-sdk
2018-07-16 23:26:18 +02:00
Sridhar Ganesan
c1553f57e9
Using func type instead of auth.Account as cosmos-sdk has changed
2018-07-16 23:06:16 +02:00
Sridhar Ganesan
6410d4da15
Attempting to fix tests during pull request to master repo
2018-07-16 22:53:48 +02:00
Sridhar Ganesan
6f617057f8
Formatting cosmos-sdk-cli main.go
2018-07-16 21:32:34 +02:00
Sridhar Ganesan
4208c0d2eb
Formatting go code in template
2018-07-16 21:30:19 +02:00
Sridhar Ganesan
b952331b22
Including changes to Makefile to build cosmos-sdk-cli and also ignoring linting for cosmos-sdk-cli
2018-07-16 20:45:56 +02:00
Sridhar Ganesan
26aa871957
Changing _PROJECT_SHORT_NAME_ to myawesomeproject in Makefile
2018-07-16 20:11:36 +02:00
Sridhar Ganesan
26cf09dfa2
Modifying the _REMOTE_PROJECT_PATH, _PROJECT_SHORT_NAME_, _CAPITALIZED_PROJECT_SHORT_NAME_ to actual names and packages
2018-07-16 20:07:05 +02:00
Sridhar Ganesan
de20825779
Adding cosmos-sdk-cli - initial version
2018-07-16 19:32:56 +02:00
Aditya Sripal
5b98a3da48
Merge branch 'master' of https://github.com/cosmos/cosmos-sdk into aditya/cleanup
2018-07-13 17:22:56 -07:00
Joon
bdccbeff9e
Merge PR #1265 : Global Paramstore
...
in progress
in progress
stake and slashing now params
fix gaia
fix gaia again
add msg type deactivation
delete local error
in progress
revert actual application in baseapp/gaia/stake
add test, fix apps
fix MinSignedPerWindow, pass lint
fix gaia
fix keeper_test
fit with multiple msgs
fix
apply requests
pass lint
really the last fix
fix dependency
fix keeper_test
fix lint
2018-07-14 02:12:23 +02:00
Christopher Goes
405bb538fc
Merge branch 'master' into cwgoes/a-random-walk-down-proof-of-stake
2018-07-14 02:09:41 +02:00
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