terra-money / fcd-classic

Terra ETL + RestFul API Server
https://fcd.terra.dev/swagger
MIT License
63 stars 42 forks source link

FCD and LCD mainnet give back wrong parameter. But Tequila-LCD/FCD are correct #124

Closed pedro-explore closed 3 years ago

pedro-explore commented 3 years ago

FCD gives back erroneous parameter for slash_window. Not sure where the issue is arising from. Not sure if it is a reporting issue only or if this is affecting the entire Core slashing calculation. Tequila-FCD reports correct data.

https://fcd.terra.dev/oracle/parameters Slash_window: 432000 (blocks per month) (erroneous)

https://tequila-fcd.terra.dev/oracle/parameters Slash_window: 100800 (blocks per week) (correct)

hanjukim commented 3 years ago

It is not wrong. Mainnet parameter has been updated by a proposal

pedro-explore commented 3 years ago

If the slash window was changed to month then you should have changed here to month not week: https://github.com/terra-money/fcd/pull/123