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
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
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
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
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
Joon
ec6acda6a4
Merge PR #1331 : Remove TxBytes from NewContext
2018-06-22 03:03:05 +02:00
Ethan Buchman
bfe6eed02c
update readmes
2018-06-21 15:46:33 -07: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
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
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
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
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
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
abab7c2e42
modules test within mock application
2018-06-07 20:55:14 -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
Christopher Goes
be7ec5bc07
Merge PR #1115 : Update SDK to ABCI v11
2018-06-05 01:42:01 +02:00
Christopher Goes
f2cf0bee14
Remove commented-out testcode
2018-06-01 23:45:30 +02:00
rigelrozanski
0ef3259a39
revised use of EndBlock/BeginBlock, basecoin updated for staking/slashing
2018-06-01 14:24:48 -07: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
Rigel
4ad3de4204
Merge pull request #1031 from davekaj/basecoin-docs
...
Basecoin docs
2018-05-26 04:44:53 -04:00
Sunny Aggarwal
d3bdb09ffc
passes, needs tests
2018-05-25 20:29:40 -07:00
David Kajpust
1577208362
fix typos
2018-05-24 14:03:22 -03:00
sunnya97
5d7c3af1b8
works
2018-05-23 22:09:01 -07:00
David Kajpust
16e18b7e96
fixed small typos
2018-05-23 09:43:17 -03:00
David Kajpust
114c9a2077
more display updates
2018-05-22 21:56:43 -03:00
David Kajpust
89f787a3df
more display updates
2018-05-22 21:56:07 -03:00
David Kajpust
450f0b6822
fixing display
2018-05-22 21:44:50 -03:00
David Kajpust
1fdb65169a
added updated explaination from old docs
2018-05-22 21:03:19 -03:00
David Kajpust
1e097889cb
markdown formatting fixes
2018-05-21 00:31:22 -03:00
David Kajpust
2c01805a1b
markdown formatting fixes
2018-05-21 00:28:31 -03:00
David Kajpust
cba8d0082e
instructions to launch basecoin and do account tx's
2018-05-21 00:18:43 -03:00
Ethan Buchman
4bdcad572b
remove gasLimit from NewContext
2018-05-15 22:19:09 -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
Christopher Goes
f0e4d24ea3
Basic gas impl, quick testcase
2018-05-16 01:13:47 +02:00
Christopher Goes
26991803ee
GasMeter & context updates
2018-05-16 01:13:47 +02:00
Sunny Aggarwal
ea6d3e8efc
should work maybe?
2018-05-15 16:52:30 -04: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
81ac153e7d
Fix testcase
2018-04-28 02:50:54 +02:00
rigelrozanski
f7587f7847
export refactor, lcd tests borken
2018-04-27 20:47:35 -04:00
rigelrozanski
318e924145
refactor
2018-04-27 20:36:11 -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
9450779bba
InitGenesis & WriteGenesis no longer functions of keepers
2018-04-27 20:03:43 -04:00
Christopher Goes
88b364d5a0
Minor bugfix
2018-04-27 20:03:43 -04:00
Christopher Goes
9746260d1d
Add testcases
2018-04-27 20:03:43 -04:00
Christopher Goes
724c1eced5
Minor cleanup
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
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
rigelrozanski
b9477ecbbe
init refactor uses genesis transaction now
2018-04-26 14:26:39 -04:00
rigelrozanski
201908949a
stake init overhaul
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
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
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
474fa1dfd1
Switch to BurnFeeHandler
2018-04-17 01:06:07 +02:00
Christopher Goes
3bbb15f454
Add tx to feeHandler, move around in example apps
2018-04-16 14:58:19 +02:00
Christopher Goes
39ee95abe4
Refactor to use FeeHandler function
2018-04-16 14:15:03 +02:00
Christopher Goes
49b8978454
Swap all examples & testcases to use automatic DB namespacing
2018-04-14 17:05:50 -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
Ethan Buchman
9e2667b496
basecoin/types: UnmarshalBinaryBare
2018-04-09 21:05:03 +03:00
Jae Kwon
923742622a
Fix docs; Bump version; Fix makefile
2018-04-07 00:08:53 -07:00
Jae Kwon
c4bc888375
Fix almost all tests
2018-04-07 00:02:00 -07:00
Jae Kwon
6c845e4ecd
Comment Capitalization.
2018-04-06 21:48:54 -07:00
Jae Kwon
49fdf80d9d
WIP commit
2018-04-06 17:25:08 -07:00
Jae Kwon
a44e871dc7
WIP, aminoification
2018-04-06 16:20:14 -07:00
Christopher Goes
bbda5b43dd
Update mine command usage information
2018-04-05 18:26:09 +02:00
Ethan Buchman
a21eeae5ea
democli: add cool and pow commands
2018-04-05 18:45:38 +03:00
Ethan Buchman
ebe38c91f4
Merge pull request #792 from cosmos/cwgoes/pow-module
...
Add PoW module to Democoin
2018-04-05 16:30:06 +03: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
Ethan Buchman
9b5babba81
sort coins in genesis
2018-04-05 14:55:10 +03:00
Christopher Goes
21fe81720a
Merge old PoW module into Democoin
2018-04-05 13:45:58 +02:00
Ethan Buchman
1f93e965fb
add log_level flag
2018-04-05 14:16:20 +03:00
Ethan Buchman
4dfc5c0852
fix democoind init. use rootCmd
2018-04-05 13:42:04 +03:00
Ethan Buchman
9fbbdbbe0f
server: consolidate files
2018-04-05 13:31:33 +03:00
Ethan Buchman
609ea0d0f0
more daemon refactoring
2018-04-05 13:24:53 +03:00
Ethan Buchman
f79d06c9f3
refactor basecoind, change GenAppOptions
2018-04-05 13:09:02 +03:00
Ethan Buchman
9e6bc70e28
remove basecoin license/makefile
2018-04-05 13:08:40 +03:00
Ethan Buchman
02a2008c0d
move gaia to cmd, update makefile
2018-04-05 13:08:19 +03:00
Christopher Goes
74a2246b3e
Pass logger and config through CLI context ( closes #725 )
2018-04-05 11:20:05 +02:00
Christopher Goes
7214149f1d
Move client context initialization from viper to separate package
2018-04-03 22:16:03 +02:00
Christopher Goes
47c97c24d3
Write genesis trend for democoin ( closes #762 )
2018-04-03 22:15:51 +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
Ethan Buchman
f40e01aada
fix test
2018-04-02 18:30:30 +03:00
Ethan Buchman
be05bf4343
remove InitGenesis
2018-04-02 18:14:42 +03:00
mossid
8af121a840
remove account_test
2018-03-31 20:20:44 +02:00
mossid
9a4f9345cf
in progress
2018-03-31 20:19:22 +02:00
mossid
549896128d
in progress
2018-03-31 20:01:39 +02:00
mossid
f1d27e95ff
TestHandler -> TestIBCMsgs
2018-03-31 19:42:24 +02:00
mossid
d80e6540c2
merge commit
2018-03-31 19:42:06 +02:00
mossid
12a17f6996
merge commit
2018-03-31 19:40:40 +02:00
Ethan Buchman
20bb78399b
fix democoin
2018-03-31 19:01:54 +03:00
Ethan Buchman
e226cb7a35
Merge branch 'develop' into cwgoes/misc-minor-fixes
2018-03-31 18:54:06 +03:00
Christopher Goes
c8bba0545b
Add back cool module tests to democoin
2018-03-30 20:23:24 +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
Christopher Goes
10a22f20ba
Remove 'cool' and 'sketchy' modules from basecoind
2018-03-30 16:32:11 +02:00
Ethan Buchman
d25593afc4
Merge pull request #726 from cosmos/adrian/mountmultipledbs
...
Mount every single store with its own DB
2018-03-30 06:41:10 -04:00
Ethan Buchman
55e72781ce
basecoin: uncomment test
2018-03-30 13:40:04 +03:00
Adrian Brink
0789a5eed0
NewBasecoinApp takes a map of databases
...
NewBasecoinApp takes a map[string]dbm.DB . This stabilises the API,
since it allows us to add more stores without a breaking change. The
convention is that the keys of the dbs correspond to the names of the
capKeys.
2018-03-30 12:18:12 +02:00
Adrian Brink
fcc8a9a415
Address comments
...
I hope this is correct. I'm feely pretty dizzy right now from the fish
food.
2018-03-29 20:44:56 +02:00
Christopher Goes
fd4e2c53ed
Update gaid for GenAppState change
2018-03-29 12:16:08 +02:00
Christopher Goes
bb66b852ef
Move keybase DB to ~/.basecoind/data ( closes #644 )
2018-03-29 12:04:52 +02:00
Christopher Goes
27d24610ab
basecoind init --testnet ( closes #718 )
2018-03-29 12:04:52 +02:00
Sunny Aggarwal
bc1d9e6f93
fixed package name
2018-03-29 06:40:06 +02:00
Sunny Aggarwal
9d9001ab62
renamed staking to simplestake
2018-03-29 06:33:45 +02:00
rigelrozanski
91d3838464
revert examples/basecoin
2018-03-28 19:01:50 +02:00
rigelrozanski
dc8636390c
refactor, staking uses addresses instead of pubkey
...
staking refactoring working
working
2018-03-28 19:01:50 +02:00
rigelrozanski
b284fd190f
added gaia working cli from frey
2018-03-28 19:01:49 +02:00
rigelrozanski
c2ddc582c4
working gaia store
2018-03-28 19:01:49 +02:00
rigelrozanski
266a8392d3
initial add gaia
...
working
2018-03-28 19:01:49 +02:00
Rigel
76d66aba3b
Merge pull request #710 from cosmos/cwgoes/show_validator
...
Add show_validator command from tendermint to basecoind
2018-03-28 18:57:05 +02:00
Adrian Brink
243564c233
Tests can never be proven to be non-deterministic
...
Our tests are at best probabilistic deterministic.
2018-03-28 15:08:59 +02:00
Adrian Brink
8574f923e8
Mount every single store with its own DB
2018-03-28 14:33:48 +02:00
Christopher Goes
4371667673
Add show_validator command (ref #704 )
2018-03-28 11:41:55 +02:00
Christopher Goes
90304fcfef
Rebase onto #690 (tiny fix)
2018-03-28 11:24:31 +02:00
Christopher Goes
5b642062a7
Initial per-module genesis initialization
2018-03-28 11:24:31 +02:00
Rigel
d0eb05b162
Merge pull request #690 from cosmos/sunny/keeper-based-modules
...
Keeper based modules
2018-03-28 02:47:50 +02:00
Ethan Buchman
742d24b7e4
Merge pull request #699 from lino-network/builder
...
Encapsulate Get Passphrase Logic in Builder
2018-03-27 20:25:48 -04:00
rigelrozanski
010386f48d
sprintf and fix error codes
2018-03-27 21:49:11 +02:00
Sunny Aggarwal
0be651fd27
address rigels review
2018-03-27 19:42:09 +02:00
Christopher Goes
4a8e762adf
Move basecoin.db to ~/.basecoind/data in app and mock (ref #683 )
2018-03-27 12:14:35 +02:00
Christopher Goes
3126afd12b
Add show_node_id command ( closes #704 )
2018-03-26 20:13:46 +02:00
Yukai Tu
96d9c55172
Encaptulate Get Passphrase Logic in Builder
2018-03-24 23:14:18 -07:00