CodeChain-io / CodeChain-io/codechain-indexer

Hard-coded min fee not works in private network or test network

Aperta
#369 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
21
Fork
15
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Indexer hardcode min fee in static distribution code.
It works for the CodeChain Main network, but not works for test networks or private networks.

https://github.com/CodeChain-io/codechain-indexer/blob/4a4006a66eadce67bd6214e94dc2d73d849bd741/src/worker/staticFeeDistribution.ts#L117

Indexer queries the min fees in the dynamic fee calculation. It seems that (not confident) CodeChain before 2.0 does not have a feature that queries the min fee.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.