Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_fee_rate_statistics returns apparently incorrect data on devnet #4350

Open
phroi opened this issue Feb 13, 2024 · 0 comments
Open

get_fee_rate_statistics returns apparently incorrect data on devnet #4350

phroi opened this issue Feb 13, 2024 · 0 comments
Labels
t:bug Type: This doesn't seem right.

Comments

@phroi
Copy link

phroi commented Feb 13, 2024

Hello folks at Nervos,
I'm running a devnet for testing iCKB and I see an unexpected behavior.

Current Behavior

I have a stream of transactions with 1000 feeRate, but then when I check get_fee_rate_statistics both mean and median feeRate seems almost double. So went back to my code, I double checked and my transactions indeed have the intended feeRate, I'm not overpaying.

Also I tried increasing the feeRate to 10^9, but get_fee_rate_statistics consistently returns around double of the intended fee rate.

Also I tried setting feeRate to 999 and indeed the txPool reject the transaction as expected.

Expected Behavior

get_fee_rate_statistics should return feeRate mean and median of the past transactions feeRate.

Environment

  • CKB version: ckb 0.113.0 (82871a3 2024-01-09)
  • Chain: dev
  • Operating system: Ubuntu 20.04
  • Arch: x86_64
  • Installation: GitHub Release
@phroi phroi added the t:bug Type: This doesn't seem right. label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:bug Type: This doesn't seem right.
Projects
None yet
Development

No branches or pull requests

1 participant