CodeChain-io / CodeChain-io/codechain-indexer

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

Open
#369 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.