Ismail Khoffi 3ff820bdf4 fix amino overhead computation for Tx (#2792)
* fix amino overhead computation for Tx:

- also count the fieldnum / typ3
- add method to compute overhead per Tx
- slightly clarify comment on MaxAminoOverheadForBlock
- add tests

* fix TestReapMaxBytesMaxGas according to amino overhead

* fix TestMempoolFilters according to amino overhead

* address review comments:

 - add a note about fieldNum = 1
 - add forgotten godoc comment

* fix and use sm.TxPreCheck

* fix test

* remove print statement
2018-11-11 10:09:33 -05:00
..
2018-10-29 09:16:50 -04:00
2018-10-31 10:27:11 -04:00
2018-11-01 02:07:18 -04:00
2018-11-01 02:07:18 -04:00
2018-11-01 02:07:18 -04:00
2018-11-01 02:07:18 -04:00
2018-10-24 21:34:01 -04:00
2018-11-01 02:07:18 -04:00
2018-11-01 02:07:18 -04:00