dyne / reflow-os

Base scripts to run Reflow OS
7 stars 2 forks source link

economicEvents filtering #23

Closed vcuculo closed 2 years ago

vcuculo commented 2 years ago

Following the resolution of issue #16 , it would be useful to replicate the filtering feature also for economicEvents. Query is already present, but seems to ignore the parameters. in particular action, startDate, endDate and receiverId.

query{
  economicEventsFiltered(action:"transfer", receiverId:"01FKQVX0JNWE9QNX437SKTPSTM", startDate:"2022-01-01T13:21:31.335000Z", endDate:"2022-01-10T14:21:31.335000Z"){
    id
  }
}
densizengin commented 2 years ago

Following the resolution of issue #16 , it would be useful to replicate the filtering feature also for economicEvents. Query is already present, but seems to ignore the parameters. in particular action, startDate, endDate and receiverId.

query{
  economicEventsFiltered(action:"transfer", receiverId:"01FKQVX0JNWE9QNX437SKTPSTM", startDate:"2022-01-01T13:21:31.335000Z", endDate:"2022-01-10T14:21:31.335000Z"){
    id
  }
}

Hi, Vittorio.

Thanks for reporting. I'll work on it and report you back! ^^

Cheers, srfsh

densizengin commented 2 years ago

I've fixed this in the latest image I released. Can you test the changes? It is also live on http://reflow-demo.dyne.org:4000.

vcuculo commented 2 years ago

Perfect, thank you!