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
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
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
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
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
17948ccf04
auth-mock simulate block now commits, stake app_test cleanup
2018-06-08 11:28:07 -07:00
rigelrozanski
abab7c2e42
modules test within mock application
2018-06-07 20:55:14 -07:00
rigelrozanski
1e67768485
ported ibc tests
2018-06-07 17:20:35 -07:00
rigelrozanski
f58b454985
mock application framework compiling
2018-06-07 16:13:11 -07:00
Christopher Goes
b166cc237f
Testcase/linter fixes
2018-06-08 00:35:13 +02:00
Christopher Goes
a6c0db71e5
Bech32ify GetSignBytes() for x/bank
2018-06-08 00:32:14 +02:00
Christopher Goes
f8896ee7aa
Fix x/bank Msg testcases
2018-06-07 23:47:23 +02:00
Christopher Goes
cabb6e68fc
bech32ify x/bank/MsgSend
2018-06-07 23:42:37 +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
Zaki Manian
ce850dca3b
Switch from bech32cosmos to bech32
2018-06-01 16:23:58 +02: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
e9545d69ed
Switch the default modules to use wire.codec's MarshalJSON instead of json.Marshal
2018-05-31 11:51:15 -07: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
f33f49a840
Almost from scratch reimplementation of bech32cosmos integration.
2018-05-27 13:47:23 +02:00
sunnya97
cb52712660
in progress
2018-05-23 19:49:35 -07:00
Ethan Buchman
4bdcad572b
remove gasLimit from NewContext
2018-05-15 22:19:09 -04:00
Christopher Goes
4134bf922c
Address PR comments
2018-05-16 02:06:17 +02:00
Christopher Goes
702ffafa06
Rebase
2018-05-16 01:14:30 +02:00
Christopher Goes
1f8ef62d28
Swap to panic/recover version
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
efc7843fb9
Changes to bank keeper for gas
2018-05-16 01:13:47 +02:00
Christopher Goes
26991803ee
GasMeter & context updates
2018-05-16 01:13:47 +02:00
Rigel
64f445ed22
Merge pull request #985 from LLLeon/master
...
modify bad syntax for struct tag value
2018-05-14 10:29:11 -04:00
LLLeon
f1e441346a
x/bank: fix typo
2018-05-13 20:47:26 +08:00
Christopher Goes
2b707f6b0a
AppendTags a function of Tags
2018-05-10 17:37:12 +02:00
Christopher Goes
60b56f9b1c
Slight tags API changes (Jae comments)
2018-05-10 17:36:55 +02:00
Christopher Goes
bef7e44f6d
Example tag implementation for CoinKeeper
2018-05-10 17:36:55 +02:00
Christopher Goes
62fc3e2c49
Context-accessible logger field
2018-05-01 13:52:49 +02:00
Sunny Aggarwal
af0e71fa0d
got rid of Get on Msg interface
2018-05-01 00:15:15 +02:00
Christopher Goes
5b4fb85f7e
Fn suffix & http.HandlerFunc
2018-04-25 22:32:22 +02:00
Christopher Goes
fd40d39556
Only one CoreContext for all REST commands
2018-04-25 16:49:31 +02: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
rigelrozanski
996cafe972
register wire, stake changelog, stake genesis update
2018-04-18 12:19:35 -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
Sunny Aggarwal
d2013ec2a0
added state change revert comment
2018-04-17 23:39:57 +02:00
Sunny Aggarwal
fcc164fab1
rebase and switch test to amino
2018-04-17 23:39:57 +02:00
Sunny Aggarwal
c7bd05f0b8
hard reset
2018-04-17 23:39:52 +02:00
Christopher Goes
c7b680a545
Address PR comments
2018-04-10 11:16:30 +02:00
Christopher Goes
bd626ba94e
Helper function
2018-04-10 11:16:30 +02:00
Christopher Goes
ec98545a1b
Default to next sequence number ( closes #807 )
2018-04-10 11:16:30 +02:00
Adrian Brink
13521b3f77
Remove deadcode
2018-04-09 17:33:53 +02:00
Ethan Buchman
4bee8c6865
update for tendermint v0.18.0-rc1
2018-04-05 16:31:06 +03:00
Christopher Goes
12f4a21d03
Reuse Tendermint client instance ( closes #671 )
2018-04-03 22:16:03 +02:00
Christopher Goes
8412215c16
Additional module cleanup
2018-04-03 22:16:03 +02:00
Christopher Goes
7214149f1d
Move client context initialization from viper to separate package
2018-04-03 22:16:03 +02:00
Christopher Goes
f5322fa25f
Remove unused imports
2018-04-03 22:15:51 +02:00
Christopher Goes
7a8e00dbb9
Change CoreContext parameters instead of using viper.Set
2018-04-03 22:15:27 +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
Rigel
d0eb05b162
Merge pull request #690 from cosmos/sunny/keeper-based-modules
...
Keeper based modules
2018-03-28 02:47:50 +02:00
Sunny Aggarwal
0be651fd27
address rigels review
2018-03-27 19:42:09 +02:00
Yukai Tu
96d9c55172
Encaptulate Get Passphrase Logic in Builder
2018-03-24 23:14:18 -07:00
Sunny Aggarwal
eac63038e3
works
2018-03-25 01:43:36 +01:00
Sunny Aggarwal
8fe34097eb
asdf
2018-03-25 01:12:44 +01:00
Sunny Aggarwal
884b827730
everything but IBC
2018-03-25 00:29:33 +01:00
Sunny Aggarwal
917d431f39
updated app.go
2018-03-25 00:28:41 +01:00
Sunny Aggarwal
8b19ffa7c1
worked on coolKeeper
2018-03-25 00:27:29 +01:00
Joon
e80f7b040c
Merge branch 'develop' into joon/ibc-mvp1
2018-03-19 22:53:58 +01:00
Ethan Buchman
984aff12da
Merge pull request #642 from cosmos/sunny/errors
...
move some errors to sdk from bank
2018-03-19 22:37:30 +01:00
Adrian Brink
54b162f5c3
Merge branch 'develop' into joon/ibc-mvp1
2018-03-18 17:11:34 +01:00
Adrian Brink
23191aee68
Work out wire for IBC module
2018-03-18 15:47:17 +01:00
Adrian Brink
6c9b62d461
Add errors to IBC module
2018-03-18 14:51:08 +01:00
Sunny Aggarwal
3e91e12a2f
moved errors to sdk from bank
2018-03-18 03:42:54 +01:00
Ethan Buchman
64852138b6
fix the tests. includes some hacks
2018-03-18 02:02:26 +01:00
Ethan Buchman
d807d32f8a
client/lcd: wip use in-proc tm and lcd for tests
2018-03-17 23:12:43 +01:00
Ethan Buchman
683663f680
fixes post rebase
2018-03-17 23:09:04 +01:00
Fabian Weber
5ea06639f9
fix tests and refactored
2018-03-17 22:17:56 +01:00
Fabian Weber
cf6f04978c
adjusted sending + tx tests
2018-03-17 22:17:56 +01:00
Fabian
0121c98a1e
add /accounts endpoints but failing
2018-03-17 22:14:19 +01:00
Ethan Buchman
3babf8c2d9
fix and clean fees and x/auth
2018-03-17 19:54:18 +01:00
rigelrozanski
5965df1613
move signmsg into common sign and build functionality
2018-03-17 16:49:47 +01:00
Ethan Buchman
2336a20f5a
fix cli to sign StdSignDoc. fixes #620
2018-03-14 13:11:19 +01:00
Ethan Buchman
087721dc04
x/bank: clean up tests
2018-03-13 01:42:13 +01:00
Ethan Buchman
b906c141bd
x/bank: remove Sequence from Input
2018-03-13 01:42:13 +01:00
rigelrozanski
fb199e293e
fixes, add to changelog
2018-03-04 17:21:37 +00:00
rigelrozanski
a2e4479dcc
complete cool CLI
2018-03-04 17:21:37 +00:00
rigelrozanski
b6347db664
refactor client
2018-03-04 17:21:37 +00:00
rigelrozanski
131130b7a4
basecoin upgrade without CLI
2018-03-04 17:21:37 +00:00
rigelrozanski
6dec9353be
working new cool module in basecoin
2018-03-04 17:21:37 +00:00
Ethan Buchman
630a5fe579
revert to old go-wire
2018-03-02 04:24:07 -05:00
Ethan Buchman
62d6a5de46
crypto.Address -> sdk.Address
2018-03-02 02:49:07 -05:00
rigelrozanski
3be46395cf
restructure to remove deps on example
2018-03-01 02:36:57 +00:00
rigelrozanski
5bc5135c1b
wire
2018-03-01 02:36:57 +00:00
rigelrozanski
1d3904dfd3
bank registers crypto
2018-03-01 02:36:57 +00:00
rigelrozanski
65f27f2daa
basecli refactor
2018-03-01 02:36:57 +00:00
Ethan Frey
bb74e84b29
Clean up keys/keybase and comments
2018-03-01 02:36:57 +00:00
Ethan Frey
03dc660797
Cleanup client/input.go per buckys request
2018-03-01 02:36:57 +00:00
Ethan Frey
05f5141734
Cleanup from rige's review
2018-03-01 02:36:57 +00:00
Ethan Frey
734b1073ba
Added tx subcommands and automate manual testing
2018-03-01 02:36:57 +00:00
Ethan Frey
7779eec990
Make store name for query account configurable
2018-03-01 02:36:57 +00:00
Ethan Frey
356baf61c1
Move sendtx and query account commands into x/bank
2018-03-01 02:36:57 +00:00
Adrian Brink
d79473d1ab
Go through all tests
2018-02-26 11:59:48 +01:00
Zach Ramsay
0e0b6ae504
x/bank: moar tests
2018-02-21 02:05:41 +00:00
Zach Ramsay
b9780ff9ae
x/bank: boost test coverage
2018-02-20 23:57:24 +00:00
Adrian Brink
8837af66bd
Refactor CoinMapper
...
CoinMapper is now called CoinKeeper to differentiate it from
AccountMapper. A Mapper retrieves things from a store. A Keeper exposes
functionality of coins and maintain invariants.
bank.NewHandler takes a CoinKeeper instead of the entire AccountMapper.
2018-02-13 13:33:19 -05:00
Jae Kwon
3b09a3033a
Review feedback from Adrian
2018-01-28 15:20:45 -08:00
Jae Kwon
b95b67d520
Separation of Tx from Msg; CodeType
2018-01-26 06:54:03 -08:00
Jae Kwon
c6bad0b325
Add first Basecoin test harness
2018-01-26 06:54:03 -08:00
Jae Kwon
be665d53fe
Substore->Store; BaseApp has db; Mapper
2018-01-22 06:20:46 -08:00
Jae Kwon
bd8bbf9d98
BasecoinApp init refactor
2018-01-20 19:06:29 -08:00
Jae Kwon
11cccfaf02
New error API
2018-01-18 00:44:54 -08:00
Jae Kwon
14a0dce920
Refactor basecoin example ( #332 )
...
Refactor basecoin example
2018-01-17 16:59:40 -08:00
Ethan Buchman
124f93b20f
x/bank: fix test
2018-01-15 20:21:33 -05:00
Ethan Buchman
2d56729a1f
TransferHandlerFn -> NewHandler
2018-01-12 19:17:17 -08:00
Ethan Buchman
5f76febce8
auth and bank compile
2018-01-12 19:17:17 -08:00
Jae Kwon
fcd8e88e65
Fix x/coin imports
2018-01-12 19:17:17 -08:00
Jae Kwon
ba2b4f0f21
WIP: refactor
...
Refactor
* No more decorators, but rather types.AntiHandler
* No more handlers, but rather types.MsgHandler
* Ability to pass "stores" in NewXYZHandler()
* Coins live in types, and Accounts have coins
* Coinstore -> bank
2018-01-12 19:17:17 -08:00