Ethan Buchman
e64a5538e4
update changelog, reset pending
2018-08-13 10:48:03 -04:00
Christopher Goes
8f05d052f2
Merge branch 'master' into cwgoes/stage
2018-08-11 15:04:28 +02:00
Jae Kwon
d27c5ee9e1
Tweak changelog, using tendermint 0.22.8 not 0.22.7
2018-07-26 19:10:57 -07: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
46abe9f8e0
Merge PR #1724 : R4R: Add Stake Genesis Intra-Tx Counter
...
* add revoked to human-readable validator
* changelog
* added failing test
* add intra-tx counter to the genesis validators
* changelog
2018-07-25 17:11:10 -07:00
Jae Kwon
3dcec8a25c
Move more junk from PENDING to CHANGELOG for below merges
2018-07-25 17:08:25 -07:00
Ethan Buchman
2bbd721e65
update changelog
2018-07-25 17:13:42 -04:00
ValarDragon
6a742c8773
client: On any tx that broadcasts a tx, check that acct exists
...
This subverts the really hard to decipher ABCI error message, with
a nice user friendly error message.
2018-07-20 00:23:08 +02:00
Christopher Goes
d04c6cf9e5
Changelog to 0.23
2018-07-20 00:20:04 +02:00
Hendrik Hofstadt
30b8d9901d
update changelog
2018-07-20 00:18:50 +02:00
Christopher Goes
cbf432d34c
Merge PR #1746 : Remove ctx.IsCheckTx
...
* Remove ctx.IsCheckTx
* Changelog to Pending
* Typo
* Simulate instead of Check in SignCheckDeliver
* Add descriptive comment
* Change to 'CheckTx implements ABCI'
* Alphabetize changelog
2018-07-19 02:42:19 +02:00
Rigel
cfe78027f2
Merge PR #1724 : R4R: Add Stake Genesis Intra-Tx Counter
...
* add revoked to human-readable validator
* changelog
* added failing test
* add intra-tx counter to the genesis validators
* changelog
2018-07-18 22:09:40 +02:00
Dev Ojha
95191f5a51
Merge PR #1730 : client: On any tx that broadcasts a tx, check that acct exists
...
This subverts the really hard to decipher ABCI error message, with
a nice user friendly error message.
2018-07-18 20:25:55 +02:00
Hendrik Hofstadt
c01a3d218f
update changelog
2018-07-18 13:27:16 +02:00
Dev Ojha
2c81f4973f
Merge PR #1731 : tools: remove `rm -rf vendor/` from `make get_vendor_deps`
...
We now ensure that the Gopkg.lock is correct, and that the toml
doesn't depend on any branches, so this is no longer necessary.
2018-07-18 10:21:52 +02:00
Dev Ojha
f88d64499d
Merge PR #1705 : baseapp: Allow alphanumerics in routes
...
Previously only alphabetic characters were allowed.
2018-07-17 23:11:34 +02:00
Sunny Aggarwal
d6969c1d22
Merge PR #1697 : Proposal Query filter by status
2018-07-17 22:59:06 +02:00
Ethan Buchman
972b8f5d6d
Merge pull request #1690 from cosmos/release/v0.22.0
...
update params for x/gov and default config
2018-07-16 19:46:26 +01:00
Ethan Buchman
8f453eaa04
update params for x/gov and default config
2018-07-16 17:43:10 +01:00
Ethan Buchman
12fa42b43b
Merge branch 'master' into release/v0.21.1
2018-07-16 16:15:30 +01:00
Christopher Goes
28a1b5ebc0
Version & changelog
2018-07-14 04:20:14 +02:00
Alexander Bezobchuk
db7407f96e
Fix Cross Compile Build/Ledger Build Tag ( #1674 )
...
* Merge pull request #1674 : Fix Cross Compile Build/Ledger Build Tag
* Merge pull request #1674 : Fix Cross Compile Build/Ledger Build Tag
* Remove incorrect Ledger test
2018-07-14 04:19:23 +02:00
Alexander Bezobchuk
bb1f1a21bf
Fix Cross Compile Build/Ledger Build Tag ( #1674 )
...
* Merge pull request #1674 : Fix Cross Compile Build/Ledger Build Tag
* Merge pull request #1674 : Fix Cross Compile Build/Ledger Build Tag
* Remove incorrect Ledger test
2018-07-14 04:17:53 +02:00
Christopher Goes
1a1373cc22
Update changelog & version
2018-07-13 23:00:07 +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
Ethan Buchman
faa88d83c7
Merge pull request #1656 from cosmos/jordan/cosmos-docs
...
update docs folder to match cosmos.network/docs/
2018-07-13 20:24:08 +01:00
Christopher Goes
78edba82c0
Merge PR #1648 : Write moniker on 'gaiad init' and 'gaiad init gen-tx'
...
* Write moniker on 'gaiad init' and 'gaiad init gen-tx'
* Update changelog
* Add comment to second instance
* Checkout Gopkg.lock
2018-07-13 19:16:31 +02:00
Jeremiah Andrews
43b9cc6df0
Merge PR #1533 : Pruning Cleanup
2018-07-13 03:20:26 +02:00
Jordan Bibla
28da104e1a
Merge branch 'master' into jordan/cosmos-docs
2018-07-12 20:01:27 -04:00
Alexander Bezobchuk
5983a07fb6
Merge PR #1599 : Implementation of TraceKVStore
2018-07-13 01:58:51 +02:00
Rigel
2885ac586e
Merge PR #1660 : Redelegation doesn't subtract from liquid
...
* fix redelegation subtracting source coins
* changelog
* Add testcases for balance subtraction
* Move changelog entry
2018-07-13 01:38:35 +02:00
Dev Ojha
98bc419d5e
Merge PR #1659 : crypto/keys: Allow one to export their private key
...
* crypto/keys: Allow one to export their private key
* Update changelog
2018-07-13 00:12:20 +02:00
Jordan Bibla
06967eff55
Merge branch 'master' into jordan/cosmos-docs
2018-07-12 17:05:35 -04:00
Jordan Bibla
33831117e7
updated changelog
2018-07-12 17:04:43 -04:00
Christopher Goes
8b9f5396de
Move changelog entry
2018-07-12 19:45:09 +02:00
Fabian Weber
c3bbb37df3
changelog
2018-07-12 19:44:31 +02:00
Christopher Goes
a6cc85ae87
Merge PR #1619 : R4R: Clearer staking logic
2018-07-12 19:39:51 +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
Dev Ojha
c57c6c43ce
Merge branch 'master' into dev/fix_key_update_bug
2018-07-11 15:01:30 -07:00
Ethan Buchman
e56379821c
update changelog
2018-07-10 23:57:48 -04:00
ValarDragon
fc4c563e29
keys: Keybase.Update no longer asks for newpass if oldpass is incorrect
...
Achieved by refactoring the parameter newpass as follows:
* (newpass string) -> (getNewpass func() (string, error))
Closes #1629
2018-07-10 20:00:22 -07:00
Sunny Aggarwal
cba7fd7ee8
gov enums marshal to String
2018-07-10 17:59:07 -07:00
Aditya
b195c556e2
Merge pull request #1600 : Friend can create validator and delegate on behalf of genesis validator
...
* Added msg and handling for surrogate create validator
* changelog and error fix
* fix changelog
* Remove unnecessary msg by combining into CreateValidator
* Refactor
* Appease linter
* Added onbehalfof functionality in client
* fmt
* Added gaia onbehalfof test
* Update test for onbehalfof validator creation
* fix test
* Fix flag error
* Add app test
* fmt
* Fixed signer for onbehalfof createvalidator
* Fix error msg
* Simplify test
* fmt
2018-07-10 20:16:37 -04:00
Ethan Buchman
9afb89491c
Merge pull request #1618 from cosmos/release/v0.20.0
...
Release/v0.20.0
2018-07-10 20:15:58 -04:00
Jeremiah Andrews
338c7b5e4c
Merge pull request #1603 : Adding option functions to NewBaseApp
...
* adding option functions to baseapp constructor
* Added simple test and changed godoc
* remove unrelated changelog updates
2018-07-10 15:10:59 -04:00
rigelrozanski
c21e6a0642
Merge remote-tracking branch 'origin/develop' into rigel/clearer-staking-logic
2018-07-10 14:52:49 -04:00
rigelrozanski
053f4e955b
changelog
2018-07-10 14:25:56 -04:00
Ethan Buchman
d226f1d62e
changelog, version
2018-07-10 12:20:29 -04:00
Christopher Goes
0ce2732660
Merge branch 'develop' into rigel/genesis-no-zero-power
2018-07-10 07:25:13 +02:00
Christopher Goes
06be53a983
Merge PR #1614 : fix cli delegations unmarshalling
2018-07-10 07:23:56 +02:00
Ethan Buchman
af478a94bd
Merge branch 'develop' into fedekunze/gov_module_docs
2018-07-10 00:29:39 -04:00
Ethan Buchman
7ba37a7ce5
Merge branch 'develop' into dev/update_changelog
2018-07-10 00:17:26 -04:00
Rigel
b60fcb68d6
Merge branch 'develop' into rigel/genesis-no-zero-power
2018-07-10 00:15:10 -04:00
Rigel
f0a6ade1a6
Merge branch 'develop' into rigel/fix-unbond-percent
2018-07-10 00:13:39 -04:00
rigelrozanski
ce3fd47f9d
changelog
2018-07-10 00:12:50 -04:00
Ethan Buchman
7ba52e8d32
Merge pull request #1609 from cosmos/rigel/two-val-pubkey
...
prevent create-validator with duplicate pubkey
2018-07-09 23:06:53 -04:00
rigelrozanski
74a9e33533
changelog
2018-07-09 22:52:34 -04:00
Christopher Goes
5a56c3f03d
Merge PR #1575 : ready-for-review: sdk.AccAddress natively bech32
2018-07-10 04:18:23 +02:00
ValarDragon
39fa70b84a
changelog: Reorder items in the changelog
...
Additionally I've added the following entries:
* Added MinInt and MinUint functions
* The keys sub-module is now in the sdk
* [keys] New keys now have 24 word recovery keys, for heightened security
* \#872 - recovery phrases no longer all end in `abandon`
2018-07-09 19:07:35 -07:00
rigelrozanski
f8b625b391
Merge pull request #1609 : prevent create-validator with duplicate pubkey
2018-07-09 20:51:12 -04:00
Sunny Aggarwal
eaf49a2dfb
Merge branch 'develop' into sunny/sdkAddress_bech32
2018-07-09 16:07:43 -07:00
ValarDragon
a768543d92
tools: Add code complexity linter, gocyclo
...
Gocyclo is a code complexity linter. It uses cyclomatic complexity.
Cyclomatic complexity essentially measures the number of different
paths code could go through. (The conditional in a for loop counts
as adding one path) It looks at this on a per-function level. The
idea that this would be enforcing is that if there are too many
different paths code can go through in a function, it needs to be
better split up. (A function with too many code paths is hard to
reason about)
The complexity which we want the linter to start failing on is
configurable. The default is 10. Change the "Cyclo" parameter in
`tools/gometalinter.json` to try other values.
2018-07-09 15:29:16 -07:00
Aleksandr Bezobchuk
7fc2363191
Merge pull request #1601 : Fix LCD rest-server Command
2018-07-09 15:56:08 -04:00
Federico Kunze
4794870753
Update CHANGELOG.md
2018-07-09 11:10:56 -04:00
Sunny Aggarwal
9f2f47a0a5
changelong
2018-07-09 02:15:36 -07: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
Christopher Goes
51a50210e9
Merge PR #1565 : Validator Cliff Updates
2018-07-07 02:50:54 +02:00
rigelrozanski
f08f02d67d
changelog
2018-07-06 20:04:01 -04:00
rigelrozanski
37a5f2fd4c
fix count in UpdateBondedValidators to not include revoked validators
2018-07-06 19:53:07 -04:00
Christopher Goes
c456daae25
Merge remote-tracking branch 'origin/develop' into cwgoes/zero-power-should-not-be-bonded
2018-07-07 01:49:46 +02:00
Christopher Goes
3805c35aff
Merge pull request #1582 : Simplify auth.StdSignMsg fields, add testcase
...
* Simplify auth.StdSignMsg
* Add StdSignMsg.Bytes() test
2018-07-06 19:26:22 -04:00
Christopher Goes
723e057d95
Merge pull request #1566 : Fix validator power decrease bug
...
* Demonstrative testcase
* Update when decreasing but still bonded
* Only update when decreasing, not when equal
* Cleanup conditional; changelog
* Clarify comments
* Simplify conditional
2018-07-06 18:00:00 -04:00
Dev Ojha
6f8f222ef6
Merge pull request #1175 : Randomized Module Testing
...
* WIP, ammend this later
* Add randomized testing suite
* Fix linting
* Auth invariant check, method to take in seed, way to run invariant check less frequently
* Fix merge conflicts
* Update bank
* Fix error on zero input by skipping it
* Add PeriodicInvariant Function
* Abstract verification / send functionality
* Fix liniting errors (PeriodicInvariant godoc)
* Update formatting and docs of randomization
* Minor refactor, update godocs
* Update godoc for mock
* Export TestAndRunTx
* fix cyclic dependencies
* Address PR most pr comments
* Fix merge conflict: Bring back codec.seal
* remove debug code, fix linting
* Fix merge conflicts
2018-07-06 16:19:11 -04:00
ValarDragon
c708c799fd
Add print-response flag
2018-07-05 22:19:50 -07:00
ValarDragon
8e20200abe
Add --json flag
2018-07-05 20:42:41 -07:00
Christopher Goes
0c47e6ffdf
Merge PR #1568 : cli: deprecate --name in favor of --from
2018-07-06 04:37:45 +02:00
Christopher Goes
1f3ab377ae
Merge PR #1570 : stake/client: Fix panic on if validator doesn't exist
2018-07-06 04:26:39 +02:00
Liamsi
05670ea9c0
Merge remote-tracking branch 'remotes/origin/develop' into sort_getsignbytes
2018-07-06 02:52:50 +01:00
Liamsi
fe04faf194
Merge branch 'sort_getsignbytes' of https://github.com/Liamsi/cosmos-sdk into sort_getsignbytes
2018-07-06 02:38:06 +01:00
Liamsi
1fabaee2dd
update changelog
2018-07-06 02:37:55 +01:00
ValarDragon
8fc6e68511
stake/client: Fix panic on if validator doesn't exist
...
Closes #1505
2018-07-05 18:24:02 -07:00
ValarDragon
0b10430d65
gaiacli, keys: Improve error message when deleting non-existant key
2018-07-05 18:03:41 -07:00
ValarDragon
bf8cde1d3a
cli: deprecate --name in favor of --from
2018-07-05 17:24:02 -07:00
Ethan Buchman
586ab68b2a
Merge pull request #1490 from cosmos/dev/improve_send_error_msgs
...
gaiacli: Improve error messages for `send` command
2018-07-05 17:22:16 -04: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
Christopher Goes
6fa122804d
Update changelog
2018-07-05 20:26:50 +02:00
rigelrozanski
319358c587
changelog
2018-07-04 14:34:55 -04: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
Rigel
cae6b40221
Merge pull request #1467 : staking index keys don't hold values
...
* docs: Explain the expected return type within the store (#1452 )
* bug somewhere here
* ...
* ...
* fix appending over key
* keys cleanup
* changelog
* remove some junk
* address bucky comments - rearrange appends
* hard code address length
2018-07-03 19:15:48 -04:00
Fabian
a118229fcb
Fabo/Switch key creation REST output to bech32 address ( #1522 )
...
* switch new key output to bech32
* changelog
* fixed tests
* Update LCD TestKeys failure message
2018-07-03 21:31:15 +02:00
Christopher Goes
3f438cdbc2
Merge PR #1511 : Prevent unrevoked validators from unrevoking
...
* Prevent unrevoked validators from unrevoking
* Update changelog
* Update previously incorrect test
* 'make format'
2018-07-03 07:47:40 +02:00
Ethan Buchman
498aed433e
update changelog
2018-07-02 16:48:56 -04:00
Ethan Buchman
7a14982901
some changelog updates
2018-07-02 14:47:58 -04:00
Dev Ojha
6a864923fa
types: Rename rational.Evaluate to rational.Round ( #1487 )
...
* rational.Evaluate -> rational.RoundInt64
* rational.EvaluateInt -> rational.RoundInt
This done to improve clarity of the code.
Closes #1485
2018-07-02 11:57:33 -04:00
ValarDragon
819eedd281
gaiacli: Improve error messages for `send` command
...
Now provides better error messages when the account you're sending
from has no money, or it has insufficient funds. (Avoids making
the user interpret ABCI errors)
closes #1489
2018-06-30 01:32:01 -07:00
Christopher Goes
3654579ea7
Merge PR #1278 : Slashing v2
...
Implement semifinal Gaia slashing spec (#1263 ), less #1348 , #1378 , and #1440 which are TBD.
2018-06-30 05:34:55 +02:00
Rigel
2f508f5b28
Merge PR #1422 : Add Contributing Guidelines
...
* Merge pull request #1422 : Add Contributing Guidelines
* cwgoes comments
2018-06-30 04:04:29 +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
Dev Ojha
47e4682d9f
Merge PR #1415 : x/stake: Limit the size of rationals from user input
...
* x/stake: Limit the size of rationals from user input
This commit sets the maximum number of decimal points that can be
passed in from messages. This is enforced on the validate basic of
MsgBeginUnbonding and MsgBeginRedelegation. The cli has been
updated to truncate the user input to the specified precision. This
also updates types/rational to return big ints for Num() and Den().
Closes #887
* Switch NewFromDecimal to error instead of truncating
2018-06-29 22:30:12 +02:00
Dev Ojha
b66a5cc853
Merge PR #1455 : tools: Add make format
...
This adds a command to automatically fix gofmt and misspell errors.
2018-06-29 09:37:16 +02: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
David Kajpust
090aaf8137
Merge #1412 : Add async flag and functionality to gaiacli send
...
* added async functionality to gaiacli
* addressed requested changes, updated changelog
2018-06-28 21:23:47 +02:00
Dev Ojha
3e14868bd6
Merge PR #1429 : tools: Add ineffassign linter
...
* tools: Add ineffassign linter
This errors on assignments that don't actually do anything. i.e.
x, err := myFunc(1)
y, err = myFunc(2)
This will call out that the first function's call error was never
used.
* Fix makefile, add misspell to makefile
2018-06-28 19:12:02 +02:00
Dev Ojha
2755c66545
Merge PR #1424 : tools: add unconvert linter
...
unconvert checks for unnecessary type conversions
2018-06-28 18:08:29 +02:00
Dev Ojha
6d9f07dfee
tools: Add go vet as a linter ( #1421 )
...
* tools: add go vet
* tools: Add go vet as a linter
2018-06-27 20:32:06 -04:00
Sunny Aggarwal
4effa6f8d4
Merge PR #1357 : RESTful governance endpoints
...
* get deposit rest endpoint
* query proposals
* changelog
* fixed commented out headers
* fixed undeterministic tests
* increase circle test timeout
* MustBech32ifyAcc
* asdf
2018-06-28 01:49:59 +02:00
Aditya
9b4838d96e
Merge PR #1367 : Set ChainID on InitChain
...
* Added chain-id to context in InitChain
* Fix bug in test
* fmt
* Appease linter
* updated changelog
* Remove chainID hack
* setCheckState in InitChain
* Fix bug
* Fix initialization errors in example tests
* Initialize app tests with default stake genesis
* fix comments
2018-06-28 00:45:10 +02:00
Dev Ojha
49f421db19
Merge PR #1332 : benchmarks: Add benchmark for block time to bank module
...
* benchmarks: Add benchmark folder, and single benchmark for block time
* Move benchmark into module
* Fix merge conflict errors
* Fix spelling
* Add instructions to run benchmark
* Update auth_app_test.go
2018-06-28 00:33:56 +02:00
Joon
6018e719d2
Merge PR #1069 : Oracle Module
...
fix prefixstore iterator
in progress
fix mock validator
fix NewContext
add to changelog
apply requests
fix mock
2018-06-27 19:21:12 +02: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
Dev Ojha
d6df6b07d1
Merge PR #1388 : types/int: Switch Int, Uint to use pointers internally
...
* types/int: Switch Int, Uint to use pointers internally
This reduces the amount of pointer refs & derefs.
* Fix nil pointers on unmarshalling amino
* Fix elusive bug in marshalling with unitialized big int
* Remove debug code
* Switch big.rat to use pointers internally
2018-06-27 03:10:34 +02:00
Christopher Goes
8bdf06b9f6
Remove Viper from ante handler
2018-06-26 23:45:31 +02:00
7768
4f57a765ad
Merge PR 1354: CLI: Show fractional in human-readable format
...
Fix https://github.com/cosmos/cosmos-sdk/issues/1353
before:
```
Shares: Status Bonded, Amount: -6508168128760126341/-3308135364330552608
Delegator Shares: -6508168128760126341/-3308135364330552608
```
after:
```
Shares: Status Bonded, Amount: 2.0000000000
Delegator Shares: 2.0000000000
```
2018-06-26 19:26:12 +02:00
Dev Ojha
9f30a90980
Merge PR #1374 : types/rat: Fix overflowing in printing
...
This now uses the underlying golang big.rat's string function,
instead of casting to num and den which are int64s.
Closes #1258
2018-06-26 05:03:55 +02:00
Dev Ojha
893bb4027d
Merge PR #1377 : types: remove GetMemo from Tx
...
This method is an unneccessary requirement on Tx. Auth casts the Tx
to StdTx, so the memo can be obtained in previous usecases from
StdTx. This also makes it more clear for when something is
implementing StdTx vs Tx.
Resolves #1375
2018-06-26 04:37:21 +02:00
Dev Ojha
f2a83a07f9
Merge PR #1366 : tests: add method to wait for n blocks to pass
...
Adds a helper method to tests/util.go for waiting for N blocks to
pass. This is useful for situations when you need to wait for
multiple blocks to pass, but don't know the current block number.
In general, this is safer than using "wait for height", since the
block height could have advanced further than expected while the
test was running.
Resolves remaining point in #1283
2018-06-25 23:53:48 +02:00
Dev Ojha
2e97baabf6
Merge PR #1358 : Fix typos and gofmt files
...
* Fix typos
* gofmt -s files
* Add mispellings and gofmt checks to circle CI
* circleci: Install misspell in the linting step
2018-06-25 20:23:17 +02:00
Dev Ojha
eb097c4c5c
Merge PR 1361: server: Use differing defaults from tendermint
...
When loading the config file, this now checks in the sdk if the file
already exists. If not, it writes a config with different defaults.
The defaults differ by having the profiler listen address set,
and increasing the receive / send rates.
2018-06-25 18:33:07 +02:00
Christopher Goes
b098c0da74
Merge PR #1344 : Swap parallelism: 4 to parallelism: 1
2018-06-22 22:58:48 +02:00
Dev Ojha
15bba919e2
Merge PR #1341 : Switch gometalinter to stable
...
* Switch gometalinter to stable
* Delete empty folder
2018-06-22 22:08:50 +02:00
Sunny Aggarwal
c3c570898d
Merge PR #1340 : Reverted ChangePubKey
...
* removed msgChangePubKey
* changelog
* removed setPubKey
2018-06-22 21:53:24 +02:00
Geet Kumar
17e5a48b65
Merge PR #1334 : democli: fix account query
...
* democli: fix query account
* Update changelog
2018-06-22 20:50:36 +02:00
Dev Ojha
7f1169db4d
Merge PR #1337 : tools: Fix makefile install scripts
...
Previously, the install scripts weren't installing golint and gometalinter.
This commit fixes this, and installs tendermints linter, and the HEAD of
the gometalinter repository. Now make all should work.
2018-06-22 20:01:44 +02: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
Fabian
4884747662
Merge PR #1317 : Added tx hash to query output in LCD
...
* added tx hash
* changelog
2018-06-21 19:21:58 +02:00
Dev Ojha
e2d23040a8
Merge PR #1325 : Refactor Complete Setup to not take in a testing parameter
...
* Refactor Complete Setup to not take in a testing parameter
* Update changelog
2018-06-21 18:55:08 +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
Christopher Goes
2a9bc2153a
Merge pull request #1310 : Fix x/bank REST handler
...
* Update sendtx.go
* Pass chain_id through in LCD tests
* Update changelog
2018-06-20 10:34:12 -07:00
Dev Ojha
0292a3b4d9
Merge PR #1291 : Delete unused tests
...
* Tweak retry logic on waitForHeight
* Add HTTP retry logic to LCD tests
* Simplify waitForHeight changes
* Update changelog
* Add 'make test_cli_retry', 'make test_unit_retry'
* Run test_cli_retry in CI
* Delete unused tests
2018-06-20 00:29:54 +02:00
Dev Ojha
1f88b0bf8f
Merge PR #1281 : Don't run defers if it would result in an NPE
...
* Don't run defers if it would result in an NPE
* Nuke CircleCI caches
2018-06-16 09:49:55 +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
b66f6475ef
No-change change to trigger CircleCI
2018-06-14 15:25:34 -07:00
Greg Szabo
f8290a0fc3
Merge branch 'develop' into greg/testnet-command-2
2018-06-14 11:34:26 -07:00
Ethan Buchman
1cac5e7a0f
Merge branch 'develop' into rigel/spec-staking
2018-06-14 11:22:29 -07:00
Fabian
42e72956f4
Merge PR #1252 : Query node version
...
introduce non store queries
add version query
update lcd spec
changelog
moved version query into baseapp
2018-06-14 07:49:21 +02:00
rigelrozanski
14c1ff27f3
Merge remote-tracking branch 'origin/develop' into rigel/spec-staking
2018-06-13 20:50:59 -07:00
Greg Szabo
17e88a5e00
Fixes requested by Rigel: GenTx, config package name
2018-06-13 17:30:16 -07:00
Dev Ojha
bd362ee590
Merge PR #1090 : Switch away from ephemeral ports
...
* Switch ports 4665x to be 2655x
This is done so the default ports aren't in the linux kernel's default ephemeral port range.
* Missed one doc file, change dep so gaiad works
* Update changelog, fix Gopkg.lock
2018-06-14 00:13:51 +02:00
Greg Szabo
73b0b489cf
Merge branch 'develop' into greg/testnet-command-2
2018-06-13 09:28:04 -07:00
Ethan Buchman
1b7396d487
dev version bump
2018-06-13 01:34:51 -07:00
Christopher Goes
65786e4578
Update version.go & changelog
2018-06-13 10:05:50 +02:00
Ethan Buchman
3e07519d58
Merge pull request #1237 from cosmos/bucky/gaiadebug-merge-master
...
Bucky/gaiadebug merge master
2018-06-13 01:01:03 -07:00
Christopher Goes
219a16c6de
Revert "Merge PR #1232 : Bucky/gaiadebug"
...
This reverts commit 37bba35c91
.
2018-06-13 09:57:54 +02:00
Ethan Buchman
37bba35c91
Merge PR #1232 : Bucky/gaiadebug
...
* update to tm v0.19.6
* update tm to 0.17.4
* update for tm v0.19.9
* update godep
* Merge PR #1195 : gaiacli - Add error message for when account isn't found
* Add --gas flag to specify gas limit for a transaction
* lawl viper
* version and changelog
* add cmd/gaia/testnets folder to deprecate cosmos/testnets repo
* cmd/gaia/testnets: update status.md with recent history
* cmd/gaia/testnets: update versions, use a working seed
* readme points to testnet folder
* add fixes from billy
* fix status.md
* seed->seeds
* 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
* testnets: minor readme update
* gaiadebug tool
* gaiadebug: add hack command
* fix from merge
* gaiadebug: raw-bytes command
* fix from merge
2018-06-13 09:44:46 +02:00
Rigel
83c1183e25
Merge PR #1233 : Inflation now unbonded
...
working debug fix
add broken test
fix testnet bug
updated provision test
changelog
cwgoes comments
2018-06-13 09:12:57 +02:00
Ethan Buchman
85c7702ca0
Merge branch 'master' into local/develop
2018-06-12 22:40:54 -07:00
Greg Szabo
61dc65e3cf
Changelog fix
2018-06-12 21:27:26 -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
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
Rigel
1b20adcd22
Merge PR #1191 : LCD cleanup / add LCD gas field
...
* remove global variables from lcd
* added make race, fix lcd race condition
* cleanup
* Five-character changelog update
2018-06-12 03:12:37 +02:00
Fabian
8ece807301
Merge PR #1085 : Re-enable tx history in LCD
...
* reenable tx search
* removed not needed argument
* register types for decoding
* trying to fix indexing tests
* added tx hash query test
* Fix x/bank tagging
* remove dead code
* remove print
* extended tests for tx querying
* changelog
* added txs address querying
* linted
* rename
* use prefix for bech32 addresses in tags
* changed error message
* Fix tiny linter issue
2018-06-11 22:09:29 +02:00
Christopher Goes
2d2b57261c
Update changelog
2018-06-11 02:59:36 +02:00
Ethan Buchman
cb6534a8f8
version and changelog
2018-06-09 09:32:59 -07:00
Christopher Goes
c6796b8fba
Add --gas flag to specify gas limit for a transaction
2018-06-09 09:31:59 -07:00
Dev Ojha
aaaa0e16a2
Merge PR #1195 : gaiacli - Add error message for when account isn't found
2018-06-09 09:31:22 -07:00
Ethan Buchman
be340d2edd
Merge pull request #1189 from cosmos/bucky/merge-master
...
Bucky/merge master
2018-06-09 09:15:14 -07:00
Christopher Goes
d47b7cf5fa
Add --gas flag to specify gas limit for a transaction
2018-06-09 08:51:31 +02:00
Dev Ojha
9c4bbf7dfd
Merge PR #1195 : gaiacli - Add error message for when account isn't found
2018-06-09 08:40:22 +02:00
Ethan Buchman
a277ba91c7
Merge PR #1178 : Merge master (Tendermint updates)
...
* update to tm v0.19.6
* update tm to 0.17.4
* update for tm v0.19.9
* update godep
2018-06-09 06:34:27 +02:00
Ethan Buchman
2913d14239
Merge branch 'master' into develop
2018-06-08 19:31:48 -07:00
Rigel
0b9751ac98
Merge pull request #1170 from cosmos/rigel/test_framework
...
mock test framework for modules
2018-06-08 13:30:24 -07:00
rigelrozanski
42def02ae9
pr comments
2018-06-08 10:03: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
40f5928898
changelog
2018-06-07 20:59:35 -07:00
Christopher Goes
34ec53a761
Update CHANGELOG.md, update x/auth to avoid base64
2018-06-08 01:50:59 +02: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
Adrian Brink
af15f89531
Update changelog for 0.18.0 ( #1149 )
2018-06-06 06:34:19 +02:00
Ethan Buchman
f3f2729b11
update for tm v0.19.9
2018-06-05 18:04:16 -07:00
rigelrozanski
605dfbbe54
changelog, update spec README
2018-06-05 09:23:23 -07:00
Jeremiah Andrews
91c8962740
changelog
2018-06-04 18:38:50 -07:00
rigelrozanski
0ef3259a39
revised use of EndBlock/BeginBlock, basecoin updated for staking/slashing
2018-06-01 14:24:48 -07:00
rigelrozanski
7ce9e000b6
update changelog, minor update
2018-06-01 00:53:54 -07:00
rigelrozanski
4150fe5ec9
update changelog
2018-05-31 15:02:24 -07:00
rigelrozanski
952aedc4f1
get rid of candidacy references
2018-05-31 14:57:09 -07:00
Christopher Goes
12a7c0373a
Merge pull request #1072 from ValarDragon/dev/tx_encoding
...
Change to go-wire UnmarshalJSON for bank transactions
2018-05-31 23:51:27 +02:00
ValarDragon
0371109039
Register crypto on amino codecs, update changelog
2018-05-31 12:55:21 -07:00
Ethan Buchman
36b3e530ab
update tm to 0.17.4
2018-05-31 09:31:42 -04:00
Rigel
1c462013a9
Merge branch 'develop' into matt/stake-rest
2018-05-30 10:53:12 -04:00
Ethan Buchman
5b2a5c948c
update to tm v0.19.6
2018-05-29 12:54:02 -04:00
ValarDragon
2d87563856
Change to go-wire UnmarshalJSON for bank transactions
...
The bank module now uses it's own codec to encode and decode Bank Msgs
into JSON.
2018-05-28 11:26:43 -07:00
Zaki Manian
4fd998c669
Merge branch 'develop' into bech32cosmos
2018-05-27 19:14:15 +02:00
Zaki Manian
ca9af7462a
Update change log
2018-05-27 14:51:19 +02:00
Matt Bell
5c1a7694e5
Merge branch 'develop' into matt/stake-rest
2018-05-27 16:02:33 +09:00
sunnya97
c057a71f5b
changelog
2018-05-26 18:05:21 -07:00
Rigel
ae82931b7c
Merge pull request #1049 from cosmos/std_to_auth
...
Move stuff from types to auth
2018-05-26 04:43:27 -04:00
rigelrozanski
92356b7d9b
changelog update
2018-05-26 04:36:05 -04:00
Fabian
2efb637f81
Merge branch 'develop' into matt/stake-rest
2018-05-25 09:54:44 +02:00
Bill Ip
87a696e490
updated changelog
2018-05-25 09:33:08 +08:00
Christopher Goes
02bf73b94d
Rebase, fix changelog
2018-05-25 03:03:18 +02:00
Greg Szabo
c920d9a69c
Updated CHANGELOG.md
2018-05-25 03:03:18 +02:00
Matt Bell
ae9a9eaaa3
Updated changelog
2018-05-25 09:32:37 +09:00
Christopher Goes
a5b5c45b7f
Update changelog
2018-05-24 18:04:10 +02:00
Rigel
34f64752e4
Merge pull request #982 from cosmos/rigel/stake-refactor
...
Stake refactor // fee seperation
2018-05-23 17:43:35 -04:00
elvin
53e0b3bf6a
update changelog
2018-05-22 10:11:11 +08:00