Skip to content

Issue with burning funds on Kusama relay chain #9986

@rockbmb

Description

@rockbmb

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

On the Kusama relay chain, burning funds via balances.burn burns more than expected.

Steps to reproduce

  1. Fork Kusama relay with chopsticks
  2. Note the current total issuance via balances.totalIssuance(); let this number be named old
Image
  1. Using the Alice dev account, call balances.burn for 1 KSM
Image
  1. Check balances.totalIssuance() again; let this number be new
Image
  1. Verify that old - new does not equal 1 * 10^12 = 1 KSM, when it should
    • let fee = 410589072 be the fee applied
    • In fact, old - new = 82117816, which happens to be very close to floor((fee * 2) / 10) = 82117814

Metadata

Metadata

Assignees

No one assigned

    Labels

    I10-unconfirmedIssue might be valid, but it's not yet known.I2-bugThe node fails to follow expected behavior.T8-polkadotThis PR/Issue is related to/affects the Polkadot network.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions