Commit Graph

45 Commits

Author SHA1 Message Date
sunnya97 7ac220beb6 asdf 2018-07-09 00:59:51 -07:00
Liamsi b7f902fba5 sort *all* GetSignBytes:
- call MustSortJSON before return JSON bytes to guarantee alphabetic
ordering

- moved SortJSON and MustSortJSON to types package to avoid cyclic
package dep
2018-07-06 01:12:57 +01:00
Ethan Buchman e8946e9b36 fixes from review 2018-06-28 19:06:37 -04: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
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
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
Matt Bell 5c1a7694e5 Merge branch 'develop' into matt/stake-rest 2018-05-27 16:02:33 +09:00
Matt Bell efd1a3ac44 Typo fix 2018-05-25 09:32:12 +09:00
sunnya97 cb52712660 in progress 2018-05-23 19:49:35 -07: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 5da41a6c88 types: modify bad syntax for struct tag value 2018-05-13 17:34:56 +08: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
rigelrozanski db0a275b23 rational to Exposed Fields 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
Ethan Buchman e4b8010077 ParseAccount -> AccountDecoder 2018-03-21 02:22:15 +01:00
Ethan Buchman 64852138b6 fix the tests. includes some hacks 2018-03-18 02:02:26 +01:00
Ethan Buchman 683663f680 fixes post rebase 2018-03-17 23:09:04 +01:00
Ethan Buchman 7c3213fa00 fixes from review 2018-03-17 22:08:19 +01:00
Ethan Buchman 3babf8c2d9 fix and clean fees and x/auth 2018-03-17 19:54:18 +01:00
Ethan Buchman 45f8ccbe90 x/auth: cleanup ante handler 2018-03-17 18:34:06 +01:00
Ethan Buchman be7cb6c96c types: introduce StdFee 2018-03-17 18:34:06 +01:00
Ethan Buchman eb23803833 remove tx.GetFeePayer 2018-03-17 18:34:06 +01:00
Ethan Buchman 2336a20f5a fix cli to sign StdSignDoc. fixes #620 2018-03-14 13:11:19 +01:00
Ethan Buchman 661d0fd7e8 types: StdSignDoc includes sequence for each sig 2018-03-13 01:42:13 +01:00
Ethan Buchman a05ea5fcc9 implement replay protection 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 6dec9353be working new cool module in basecoin 2018-03-04 17:21:37 +00:00
Ethan Buchman 62d6a5de46 crypto.Address -> sdk.Address 2018-03-02 02:49:07 -05:00
Ethan Frey c083678cae cleaned up basecli tx so it really works 2018-03-01 02:36:57 +00:00
Ethan Buchman c31f871de6 finish removing TestApp and TestTx 2018-02-17 16:32:30 -05:00
rigelrozanski da538a8bf6 more comments cleanup 2018-02-08 10:36:37 +00: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 8fda920de0 auth.AccountStore assumes go-wire; Remove GetTxBytes() from Tx 2018-01-20 18:11:38 -08:00
Ethan Buchman 6d3b5cb402 basecoin: fix codecs, add some tests 2018-01-20 18:11:38 -08:00
Ethan Buchman 381424460c basecoin compiles 2018-01-14 22:49:57 -05: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
Jae Kwon 51e6144c0d Initial commit for permissioning... 2018-01-12 19:17:17 -08:00
Ethan Buchman 3ba3d6b02f move coins and accounts out of types 2018-01-09 19:11:00 -08:00
Ethan Buchman 1d07f88867 new basecoin example 2018-01-03 20:20:21 -05:00
Ethan Buchman a9b2636439 Coin (#312)
* wip: tests and fixes for kvstore iteration
* update for latest tmlibs
* types compiles
* x/coin almost compiles
* x/coin: move things out of the way so it builds
* rebase fixes
* update glide
* add test for ChainDecorators
2017-12-21 03:31:33 -08:00
Jae Kwon a2a1151a4f
Unify CheckTx and DeliverTx (#286)
Unify CheckTx and DeliverTx
2017-12-03 21:25:37 -08:00
Jae Kwon b96e4784ed Draft of new BaseApp 2017-12-01 09:10:17 -08:00
Jae Kwon 458fba22d3 Update decorators/handler/results.go add tx_msg/signature.go 2017-11-26 14:14:03 -08:00