classic-terra / oracle-feeder

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

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

Closed fragwuerdig closed 12 months ago

fragwuerdig commented 12 months 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 12 months ago

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