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

Scenarios for PR 6114 #27

Merged
merged 5 commits into from
Apr 29, 2024
Merged

Scenarios for PR 6114 #27

merged 5 commits into from
Apr 29, 2024

Conversation

gabi-vuls
Copy link
Contributor

Scenarios for PR 6114
mx-chain-go branch : MX-15360-waiting-list-distribution-leaving-nodes

Copy link
Contributor

@andreibancioiu andreibancioiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My review was not performed in depth.

return keys


def get_keys_from_validator_statistics(needed_state: str) -> list[str]:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe can also be moved in that package called get_infos? Also, perhaps rename that package to network_provider or something similar?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is already in get_infos folder. We had before a get_info.py, but I divided it into multiple files based on from where it will take the information : staking, delegation, transactions...etc. I renamed it network_provider

testing-suite/staking-v4/get_infos/get_validator_info.py Outdated Show resolved Hide resolved
@mariusmihaic mariusmihaic self-requested a review April 25, 2024 09:48
testing-suite/staking-v4/caching.py Show resolved Hide resolved
testing-suite/staking-v4/chain_commander.py Show resolved Hide resolved
testing-suite/staking-v4/chain_commander.py Show resolved Hide resolved
testing-suite/staking-v4/chain_commander.py Show resolved Hide resolved
testing-suite/staking-v4/chain_commander.py Outdated Show resolved Hide resolved
testing-suite/staking-v4/scenarios/PR_6114.py Show resolved Hide resolved
testing-suite/staking-v4/scenarios/PR_6114.py Show resolved Hide resolved
testing-suite/staking-v4/scenarios/PR_6114.py Show resolved Hide resolved
testing-suite/staking-v4/scenarios/PR_6114.py Outdated Show resolved Hide resolved
testing-suite/staking-v4/scenarios/PR_6114.py Outdated Show resolved Hide resolved
Copy link

@mariusmihaic mariusmihaic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous comments are still not solved

testing-suite/staking-v4/caching.py Outdated Show resolved Hide resolved
testing-suite/staking-v4/config.py Show resolved Hide resolved
@gabi-vuls gabi-vuls requested a review from mariusmihaic April 26, 2024 08:32
testing-suite/staking-v4/caching.py Outdated Show resolved Hide resolved
def test_PR_6114():

# === PRE-CONDITIONS ==============================================================
AMOUNT_TO_MINT = "10000" + "000000000000000000"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will still be a variable, but having a func, like:

 AMOUNT_TO_MINT =  getEGLDAmount("10000")

which adds the remaining necessary num of decimals. It should also take care of values < 1 egld

Copy link

@mariusmihaic mariusmihaic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still unresolved comments from first review

@gabi-vuls gabi-vuls requested a review from mariusmihaic April 26, 2024 12:01
@gabi-vuls gabi-vuls merged commit f33cc17 into rc/v1.7.0 Apr 29, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants