Commit Graph

3603 Commits

Author SHA1 Message Date
Christopher Goes 24c7cb03d3
Merge PR #2175: Update PRIORITIES.md 2018-08-28 22:43:39 +02:00
Jack Zampolin dfd29a523c Update PRIORIEIES.md 2018-08-28 11:13:21 -07:00
Ethan Buchman a804dec76e
Merge pull request #2039 from cosmos/cwgoes/update-priorities
Update PRIORITIES.md
2018-08-28 13:15:37 -04:00
Matthew Slipper c6d692e27f Merge PR #2172: Use cobra.NoArgs where appropriate
Closes #885.
2018-08-28 12:59:42 -04:00
Dev Ojha 946e24d7bf Merge PR #2152: Make CI not update the lock file
* CI: Make CI not update the lock file

We want CI to be running the lock in the repo, not generating a new one.
Linting now ensures that the lock file is up to date.

* Switch to Chris' comment

* Update pending to indicate this new command
2018-08-28 12:53:56 -04:00
Christopher Goes 4be6350d95
Merge pull request #2174 from cosmos/fabo/fix-docs
Update config.js
2018-08-28 17:09:03 +02:00
Fabian e89e860524
Update config.js 2018-08-28 16:18:06 +02:00
Christopher Goes 6a7d700543
Merge PR #2167: Load Ledger Device at Runtime 2018-08-28 14:55:25 +02:00
Christopher Goes 5f347e0d9a
Merge PR #2166: simulation: Allow operations to specify future operations 2018-08-28 14:53:45 +02:00
Christopher Goes d1ecc8f6b4
Merge PR #2141: Governance CLI uses Querier 2018-08-28 14:49:33 +02:00
Aleksandr Bezobchuk bdbdd1a832 Further godoc updates 2018-08-28 08:24:19 -04:00
Aleksandr Bezobchuk 1a6c4785e9 Cleanup ledger godocs and reduce complexity 2018-08-28 08:16:50 -04:00
Christopher Goes 73f90e8f92
Merge PR #2047: Simulate transactions by default to set gas automatically 2018-08-28 13:53:29 +02:00
Christopher Goes d3021d4c2f
Merge PR #2143: Speedup IAVL iterator by removing defers when unneeded. 2018-08-28 13:51:47 +02:00
Aleksandr Bezobchuk de061fa8e1 Do not export ledger discovery types 2018-08-27 18:57:06 -04:00
Aleksandr Bezobchuk 0245a4b5ee Update pending log 2018-08-27 18:45:34 -04:00
Aleksandr Bezobchuk fc20f757ec Load ledger device at runtime 2018-08-27 18:42:03 -04:00
HaoyangLiu 5ed1775681 Merge PR #2148: Change delegation amount from int64 to sdk.Int
* Change delegation amount from int64 to sdk.Int

* Refactor code according to code review

* leave freeFermionVal to int64 in case of overflow
2018-08-27 18:18:18 -04:00
Sunny Aggarwal bfdeb3f8ce works 2018-08-27 15:18:01 -07:00
ValarDragon 855222e8c3 simulation: Allow operations to specify future operations
The intent of this is to allow for simulating things like slashing for not
voting on a governance proposal. To test this, you would queue all the validator votes
in future blocks, and keep track of which ones you didn't slash. Then you could add queue a
"check governance slashing operation" after the voting period is over.
2018-08-27 14:27:00 -07:00
Christopher Goes df70a34c45
Merge PR #2161: Updating config.js for docs website build process 2018-08-27 18:56:59 +02:00
Christopher Goes 666c218330
Merge PR #2138: Datadog fixes and new ansible scripts 2018-08-27 18:50:27 +02:00
Greg Szabo 909a68ed65
Updating config.js for docs website build process
This change will put the documentation to the right folder for website deployment.
2018-08-27 12:34:16 -04:00
Dev Ojha 2c3a4fc025
Merge branch 'develop' into dev/speedup_iavl_iterator 2018-08-27 08:05:09 -07:00
Christopher Goes 9482c13b1f
Merge PR #2153: simulation: rename TestAndRunTx to Operation, make timestamp randomized 2018-08-27 11:32:09 +02:00
ValarDragon 4451755600 simulation: rename TestAndRunTx to Operation, make timestamp randomized 2018-08-26 19:40:53 -07:00
Jae Kwon bec53fb1df fixed bech32 for validator pubkeys 2018-08-26 16:44:51 -07:00
Jae Kwon 305589faf4
Update bech32 human readable spec to simply "cosmos" (#2103)
Update bech32 human readable to simply "cosmos"
2018-08-26 16:41:08 -07:00
Christopher Goes 46176aa6e2
Merge PR 2144: double curlies breaks vuepress - single curlies does not 2018-08-26 16:59:41 +02:00
Alessio Treglia 76a16ab288
Modify AnteHandler to take a simulate boolean parameter 2018-08-25 20:12:14 +01:00
Jordan Bibla 96fc6c6f7b double curlies breaks vuepress - single curlies does not 2018-08-24 15:05:40 -04:00
Sunny Aggarwal 6391611005 asdf 2018-08-24 11:07:53 -07:00
ValarDragon f6cb4d4fb6 Speedup IAVL iterator by removing defers when unneeded.
Note each defer occurs a 30ish ns overhead here, which is significant
for IAVL iteration. We were previously using around 3-4 defers. (2 in
next, one in Valid, one in Key, one in Value) This slows down the entire
application quite significantly, as we require fast iteration.
2018-08-24 10:26:02 -07:00
Alessio Treglia 7e8feec738
Incorporating @cwgoes comments 2018-08-24 15:20:53 +01:00
Christopher Goes 5128a7c1b7
Merge PR #2128: Fix export segfault 2018-08-24 14:22:37 +02:00
Matthew Slipper 2146450aaa Fix export segfault
Closes #1834
2018-08-24 02:24:00 -07:00
Alessio Treglia f36f749818
Incorporating @ValarDragon's comments 2018-08-24 10:16:51 +01:00
Alessio Treglia fb5fe9914d
simplify json handling in LCD tests 2018-08-24 10:16:51 +01:00
Alessio Treglia 2dea46779c
TestCoinSend: test success case when setting gas by hand 2018-08-24 10:16:51 +01:00
Alessio Treglia 7e9ceb452d
clarifyy that adjustment is a multiplicative factor 2018-08-24 10:16:51 +01:00
Alessio Treglia e959478e61
comment getContextForAnte(), rename applyTxMode() 2018-08-24 10:16:51 +01:00
Alessio Treglia 47d55bd572
Add/refresh docs 2018-08-24 10:16:51 +01:00
Alessio Treglia 323fac3bf7
Update PENDING.md 2018-08-24 10:16:51 +01:00
Alessio Treglia f432c0c383
Simulate transactions before actual execution
* Change --gas=0 semantic in order to enable gas auto estimate.
* REST clients have been modified to simulate the execution of
  the tx first to then populate the context with the estimated
  gas amount returned by the simulation.
* The simulation returns both an unadjusted gas estimate and an
  adjusted one. The adjustment is required to ensure that the
  ensuing execution doesn't fail due to state changes that might
  have occurred. Gas adjustment can be controlled via the CLI's
  --gas-adjustment flag.
* Tiny refactorig of REST endpoints error handling.

Closes: #1246
2018-08-24 10:16:51 +01:00
Christopher Goes c5d44bcaf0
Merge PR #2001: Update slashing spec for slashing-by-period 2018-08-24 02:09:29 +02:00
Christopher Goes 63a85aaacf Change ASCII diagram slightly 2018-08-23 22:45:38 +02:00
Greg Szabo b331c4d610 Fix for gaiacli service - removed 'advanced' 2018-08-23 15:09:32 -04:00
Greg Szabo 02efc1e209
Merge branch 'develop' into greg/datadog-fixes 2018-08-23 15:03:08 -04:00
Greg Szabo 62d3964823 Merge branch 'greg/datadog-fixes' of github.com:cosmos/cosmos-sdk into greg/datadog-fixes
Conflicts:
	PENDING.md
2018-08-23 14:57:38 -04:00
Greg Szabo 0e3883f8bf Ansible and Terraform script updates 2018-08-23 14:55:22 -04:00