cosmos-sdk/types
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
..
account.go Substore->Store; BaseApp has db; Mapper 2018-01-22 06:20:46 -08:00
coin.go Add note about contract 2018-01-28 18:54:54 -08:00
coin_test.go Need to trigger rebuild 2018-01-28 18:54:54 -08:00
context.go types: Context.GetOp should never crash 2018-02-06 14:48:07 -05:00
context_test.go types: Context.GetOp should never crash 2018-02-06 14:48:07 -05:00
errors.go Separation of Tx from Msg; CodeType 2018-01-26 06:54:03 -08:00
handler.go Separation of Tx from Msg; CodeType 2018-01-26 06:54:03 -08:00
result.go Separation of Tx from Msg; CodeType 2018-01-26 06:54:03 -08:00
signature.go new basecoin example 2018-01-03 20:20:21 -05:00
store.go Substore->Store; BaseApp has db; Mapper 2018-01-22 06:20:46 -08:00
tx_msg.go Separation of Tx from Msg; CodeType 2018-01-26 06:54:03 -08:00