tellor-io / dataSpecs

Data specifications for oracle queries
16 stars 9 forks source link

Include empty bytes encoded when no query parameters #60

Closed oraclown closed 2 years ago

oraclown commented 2 years ago

To have a consistent decoding pattern, maybe include some empty bytes in the query data even if the query type has no parameters, like so: abi.encode("TellorOracleAddress", abi.encode(bytes("")))?

themandalore commented 2 years ago

Sounds good. Want to just make a PR with the instructions?