a8722655bb
* all: bump go-ethereum to v1.10.4 * build * state transition and rpc * wip rpc changes * fix refund * fixes * no base fee param * ante handler * undo change * fix test * bump deps * calculate base fee * gRPC base fee query * update RPC * fix * update' * go.mod * fix build * fix panic * rm changes in third_party * json rpc changes * reserved fields * fixes fixes fixes * rm no stringer * fixes 2 * tests wip * bump geth version * update * grpc traceTx * rm fee market from ante * fix TransactionArgs * lint * update proto * update tx args * changelog
21 lines
419 B
Go
21 lines
419 B
Go
package types
|
|
|
|
import (
|
|
"math/big"
|
|
|
|
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
|
)
|
|
|
|
func (cr EthCallRequest) GetBaseFee() *big.Int {
|
|
if cr.BaseFee == nil {
|
|
return nil
|
|
}
|
|
|
|
return cr.BaseFee.BigInt()
|
|
}
|
|
|
|
// UnpackInterfaces implements UnpackInterfacesMesssage.UnpackInterfaces
|
|
func (m QueryTraceTxRequest) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error {
|
|
return m.Msg.UnpackInterfaces(unpacker)
|
|
}
|