QueryTraceCallRequest.deserialize constructor
QueryTraceCallRequest.deserialize(
- List<int> bytes
)
Implementation
factory QueryTraceCallRequest.deserialize(List<int> bytes) {
final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
return QueryTraceCallRequest(
args: decode.getBytes<List<int>?>(1),
gasCap: decode.getBigInt<BigInt?>(2),
proposerAddress: decode.getBytes<List<int>?>(3),
traceConfig: decode.messageTo<injective_evm_v1_trace_config.TraceConfig?>(
4,
(b) => injective_evm_v1_trace_config.TraceConfig.deserialize(b),
),
blockNumber: decode.getBigInt<BigInt?>(5),
blockHash: decode.getString<String?>(6),
blockTime: decode.messageTo<google_protobuf_timestamp.Timestamp?>(
7,
(b) => google_protobuf_timestamp.Timestamp.deserialize(b),
),
chainId: decode.getBigInt<BigInt?>(8),
);
}