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

Adjust quantum for default asset in market-sim integration tests #558

Open
cdummett opened this issue Nov 16, 2023 · 0 comments
Open

Adjust quantum for default asset in market-sim integration tests #558

cdummett opened this issue Nov 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@cdummett
Copy link
Collaborator

Currently the default asset for market-sim integration tests has:

  • decimal_places=5
  • quantum=1
        vega.create_asset(
            MM_WALLET.name,
            name=ASSET_NAME,
            symbol=ASSET_NAME,
            decimals=5,
            max_faucet_amount=10 * mint_amount * 1e5,
        )

This makes it difficult to debug tests where quantum is involved, e.g. referral programs, volume discount programs, transfer fee discounts.

Proposed change:

  • decimal_places=5
  • quantum=100000

Tests will need fixing after change.

@cdummett cdummett added the enhancement New feature or request label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant