Commit Graph

34 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
Joon
ec6acda6a4 Merge PR #1331: Remove TxBytes from NewContext 2018-06-22 03:03:05 +02:00
Christopher Goes
be7ec5bc07
Merge PR #1115: Update SDK to ABCI v11 2018-06-05 01:42:01 +02: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
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
147cf9f897
Move GasKVStore to /store 2018-05-16 01:14:30 +02:00
Christopher Goes
1c4ed7b833
Gas-wrap ctx.KVStore 2018-05-16 01:13:48 +02:00
Christopher Goes
26991803ee
GasMeter & context updates 2018-05-16 01:13:47 +02:00
Christopher Goes
46f9445f06
Add gas limit / gas consumed to context 2018-05-16 01:13:47 +02:00
Christopher Goes
62fc3e2c49
Context-accessible logger field 2018-05-01 13:52:49 +02:00
rigelrozanski
bdc7fe56ba cachecontext comments and changelog update 2018-04-10 15:44:49 -04:00
Joon
1c8094c6bd
Update context.go 2018-04-10 17:07:54 +02:00
mossid
8ed15f7e9d typo 2018-04-10 17:06:02 +02:00
mossid
442e677300 add CacheContext 2018-04-10 17:04:27 +02:00
rigelrozanski
da538a8bf6 more comments cleanup 2018-02-08 10:36:37 +00:00
Ethan Buchman
14ce7f3366 types: update comments on ctx.GetOp 2018-02-06 14:48:18 -05:00
Emmanuel Odeke
cf91a059c9 types: Context.GetOp should never crash
Ensure that requesting version <= 0 doesn't
cause a runtime out of bounds dereference,
with a simple validation and accompanying tests
to ensure we never regress.

Since GetOp allows int64, it is fair game
that it should except out of range inputs,
plus this is an SDK so is bound to be abused
both unintentionally and intentionally.

Fixes #400
2018-02-06 14:48:07 -05:00
Jae Kwon
c368b1062c Add docs/design.md; Add sketchy for illustration 2018-01-28 15:20:45 -08:00
Jae Kwon
05036e35d2 CacheWrap after AnteHandler 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
a74293e4ba godoc tweak 2018-01-20 15:03:57 -08:00
Ethan Buchman
5f76febce8 auth and bank compile 2018-01-12 19:17:17 -08:00
Ethan Buchman
5e46eea616 types and store compile 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
Jae Kwon
620bdf409f Update context to track thePast 2018-01-12 19:17:17 -08:00
Jae Kwon
51e6144c0d Initial commit for permissioning... 2018-01-12 19:17:17 -08:00
Jae Kwon
e7b38b3fb9 ABCI w/ more non-nullable fields 2017-12-22 00:23:37 -08:00
Jae Kwon
623e77d5a2 Context is more immutable 2017-12-21 23:30:14 -08: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
6e8e4331ea ... 2017-11-26 20:29:17 -08:00
Jae Kwon
6a9b8c3a92 Sweeping util/* 2017-11-26 02:19:17 -08:00