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

The test framework needs an option to load test accounts from the spending plan in order to run on testnet and mainnet. #3111

Open
Tracked by #3059
ebadiere opened this issue Oct 16, 2024 · 0 comments · May be fixed by #3136
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ebadiere
Copy link
Collaborator

ebadiere commented Oct 16, 2024

Description

Currently, the only static account used in the test framework is the relay operator's account. Accounts are created in the framework by creating alias accounts and generating keys while the tests are running. This makes it impossible to whitelist or add these accounts to spending plans that will not trigger HBar Rate Limiter errors.

When an HBar Rate Limiter error is triggered, the framework does not refund the HBars spent. This is the cause of the mainnet test "leak" of funds.

This is a real issue when running tests on testnet or mainnet.

Steps to reproduce

Run some tests that can trigger the HBar Rate Limiter on testnet or mainnet.

Additional context

No response

Hedera network

mainnet

Version

v0.57.2

Operating system

Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment