classic-terra / oracle-feeder

Oracle Feeder Daemon
Apache License 2.0
6 stars 7 forks source link

fix: missing `isClassic` argument in `tx.toData()` #22

Closed fragwuerdig closed 1 year ago

fragwuerdig commented 1 year ago

The missing isClassic flag leads to the tx method toData() interpreting the tx as message as if it were a phoenix-1 msg. This panics - because on phoenix-1 oracle messages are not supported. This error inhibits the actual broadcast error message (which would be otherwise pretty useful to have in the logs).

nghuyenthevinh2000 commented 1 year ago

@fragwuerdig I have reverted this pr on main, please submit another one