Skip to content

Testnet Conversion Bug #118

Description

@svngrhms

Yooo Its Prez... whats up... So ran into a lil conversion bug in the testnet but was wondering if it only in the testnet.

My Revnet is backed by USDC Sepolia on Base network
I'm testing token purchases on the testnet

Bug Description:
When I buy tokens from my Revnet using Base Sepolia ETH (different from the backing asset), I get much fewer tokens than expected:

First try: Bought 10,000 tokens → Received only 56.80 tokens
Second try: Bought 6,000 tokens → Received only 34 tokens

Important Finding:
When I used USDC Sepolia (same as backing asset) to buy $0.10 worth of tokens, I got the correct amount.

Suspected Issue:
The conversion rate seems wrong when using a different asset than what the Revnet is backed by.
Questions:

Is this a known issue?
Could this be happenin in production too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions