Commit Graph

44 Commits

Author SHA1 Message Date
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
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
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
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
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
Joon
ec6acda6a4 Merge PR #1331: Remove TxBytes from NewContext 2018-06-22 03:03:05 +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
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
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
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
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
rigelrozanski
abab7c2e42 modules test within mock application 2018-06-07 20:55:14 -07:00
Christopher Goes
be7ec5bc07
Merge PR #1115: Update SDK to ABCI v11 2018-06-05 01:42:01 +02:00
rigelrozanski
952aedc4f1 get rid of candidacy references 2018-05-31 14:57:09 -07:00
Christopher Goes
aed5d94b1c
Remove absent validators from sdk.NewContext 2018-05-29 02:26:17 +02:00
Christopher Goes
95c5baf449
Rebase & squash slashing 2018-05-28 21:55:27 +02:00
sunnya97
5d7c3af1b8 works 2018-05-23 22:09:01 -07:00
Christopher Goes
bef7e44f6d
Example tag implementation for CoinKeeper 2018-05-10 17:36:55 +02:00
Christopher Goes
2376f231c2
Rebase, update changelog & testcase 2018-05-01 14:00:23 +02:00
Christopher Goes
62fc3e2c49
Context-accessible logger field 2018-05-01 13:52:49 +02:00
Christopher Goes
a6589949fb
Remove unnecessary code 2018-05-01 00:19:28 +02:00
Sunny Aggarwal
af0e71fa0d
got rid of Get on Msg interface 2018-05-01 00:15:15 +02:00
Christopher Goes
f6cef02904 Reorder parameters & remove redundant check 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
9746260d1d Add testcases 2018-04-27 20:03:43 -04:00
Christopher Goes
f71191e402 Add simple WriteGenesis for stake & cool modules 2018-04-27 20:00:58 -04:00
Christopher Goes
ff66629b68 Example WriteGenesis implementation 2018-04-27 20:00:58 -04:00
Rigel
ef88ca4c21
Merge pull request #924 from cosmos/rigel/cleanup
cleanup, move simplestaking to democoin
2018-04-27 19:00:45 -04:00
rigelrozanski
260ab69e4f cleanup, move simplestaking to democoin 2018-04-26 22:59:30 -04:00
rigelrozanski
54a5869efd added used of cobra arg constraints 2018-04-26 17:32:20 -04:00
Christopher Goes
56ac948dc6
REST folder restructure & cleanup 2018-04-25 16:18:06 +02:00
rigelrozanski
d28efaac27 many renames / golint compliance 2018-04-19 00:49:24 -04:00
Christopher Goes
f8e44b5b00 Error codespacing (#809)
* Initial codespacing layout (ref #766)
* Add codespace to Router (ref #766)
* Implement Codespacer and update modules
* Default codespaces, testcases
* Update error formatting, codespacer tests
* Add RegisterOrPanic testcase
* Update CHANGELOG
2018-04-17 19:16:21 -07:00
Christopher Goes
c7b680a545
Address PR comments 2018-04-10 11:16:30 +02:00
Christopher Goes
7383c99026
Add AutoSequence to all transaction-sending commands 2018-04-10 11:16:30 +02:00
Jae Kwon
c4bc888375 Fix almost all tests 2018-04-07 00:02:00 -07:00
Christopher Goes
bbda5b43dd
Update mine command usage information 2018-04-05 18:26:09 +02:00
Christopher Goes
d99f4f3c14
PoW InitGenesis; testcases 2018-04-05 15:16:54 +02:00
Christopher Goes
d47f271459
Mount store; add testcases 2018-04-05 14:13:11 +02:00
Christopher Goes
21fe81720a
Merge old PoW module into Democoin 2018-04-05 13:45:58 +02:00
Christopher Goes
7214149f1d
Move client context initialization from viper to separate package 2018-04-03 22:16:03 +02:00
Christopher Goes
579e5d4cdc
Add CoreContext for CLI/REST options 2018-04-03 22:15:12 +02:00
Christopher Goes
720b37c6f2
Rename client/builder to client/core (ref #721) 2018-04-03 22:14:11 +02:00
Christopher Goes
f1af53fe30
Move 'sketchy' and 'cool' modules to democoin, which is separate from basecoin 2018-03-30 20:13:22 +02:00