cosmos-sdk/types
Alessio Treglia 2ba21d33ab
types: better Dec.MarshalTo's performance (#6691)
Use big.Int.Cmp() and compare against zeroInt instead
of checking Bytes() against a 0-length byte slice.

Closes: #6680
Thanks: @odeke-em for the patch.

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-12 13:26:51 +00:00
..
bech32 fix import to sdk (#6201) 2020-05-12 17:12:26 +00:00
errors Server/simd: Viper Removal (#6599) 2020-07-05 16:56:17 +00:00
module x/crisis: In-Process CLI Integration Tests (#6634) 2020-07-08 08:23:34 +00:00
query Add proper support for Any in gRPC queries (#6594) 2020-07-03 16:42:12 +00:00
rest REST bank transfers fail due to encoding. (#6536) 2020-07-02 05:16:39 +02:00
simulation ci: split unit tests across 4 machines (#6297) 2020-05-29 15:25:27 +02:00
tx Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
abci.go
address.go Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00
address_bench_test.go
address_test.go types: add test cases (#5747) 2020-03-04 17:49:59 +00:00
codec.go Merge PR #6076: Proto Any init + evidence 2020-05-05 10:28:20 -04:00
coin.go linter: enable nolintlint (#6162) 2020-05-08 08:46:12 +00:00
coin_benchmark_test.go types: fix invalid int->string conversion in benchmarks (#6678) 2020-07-10 12:34:43 +02:00
coin_test.go add string test for coin and coins (#6547) 2020-06-30 14:11:29 -04:00
config.go client/keys/parse: honor config changes (#6172) 2020-05-08 10:30:55 +02:00
config_test.go client/keys/parse: honor config changes (#6172) 2020-05-08 10:30:55 +02:00
context.go Document types/context.go code (#6654) 2020-07-09 19:14:18 +00:00
context_test.go Merge PR #6325: Add GRPCRouter 2020-06-03 09:33:51 -04:00
cosmos.pb.go Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
dec_coin.go linter: enable nolintlint (#6162) 2020-05-08 08:46:12 +00:00
dec_coin_test.go
decimal.go types: better Dec.MarshalTo's performance (#6691) 2020-07-12 13:26:51 +00:00
decimal_test.go types: better Dec.MarshalTo's performance (#6691) 2020-07-12 13:26:51 +00:00
denom.go
denom_test.go
events.go
events_test.go
handler.go
handler_test.go lint: various linting fixs (#5825) 2020-03-20 19:24:18 +00:00
int.go
int_test.go types: add test cases (#5747) 2020-03-04 17:49:59 +00:00
invariant.go
invariant_test.go types: add test cases (#5747) 2020-03-04 17:49:59 +00:00
proto.go linter: enable nolintlint (#6162) 2020-05-08 08:46:12 +00:00
queryable.go
result.go Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00
result_test.go Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00
router.go module: pass route by value (#6404) 2020-06-11 15:37:23 +00:00
router_test.go run make format (#6416) 2020-06-12 10:17:36 -04:00
staking.go
staking_test.go lint: various linting fixs (#5825) 2020-03-20 19:24:18 +00:00
store.go linter: enable nolintlint (#6162) 2020-05-08 08:46:12 +00:00
store_test.go types: add test cases (#5747) 2020-03-04 17:49:59 +00:00
tx_msg.go Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
tx_msg_test.go Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
uint.go
uint_test.go types: add test cases (#5747) 2020-03-04 17:49:59 +00:00
utils.go Merge PR #6219: Different db support 2020-05-14 09:41:05 -04:00
utils_test.go x/ibc: IBC alpha (#5277) 2020-04-08 20:57:52 -04:00