evm: update msgs to accept zero gas price (#299)

* update keeper to accept gas price=0; default pending to latest

* cleanup

* more cleanup

* more cleanup

* more cleanup

* more cleanup

* ante: copy IncrementSequenceDecorator from SDK's AnteHandler

* improve bloom test

* lint

* update msg error

Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
noot
2020-05-14 22:08:13 -04:00
committed by GitHub
co-authored by Federico Kunze Federico Kunze
parent 51b68d7512
commit 1f63ddfe96
7 changed files with 103 additions and 11 deletions
+2 -3
View File
@@ -44,9 +44,8 @@ func (bn *BlockNumber) UnmarshalJSON(data []byte) error {
*bn = LatestBlockNumber
return nil
case "pending":
return fmt.Errorf("pending queries not implemented")
// *bn = PendingBlockNumber
// return nil
*bn = LatestBlockNumber
return nil
}
blckNum, err := hexutil.DecodeUint64(input)