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

Ndev 3482 refactor neon evm tests #481

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

sshiganov
Copy link
Collaborator

No description provided.

1. changed environment fixture
2. added fixtures for solana, neon_api, neon_rpc clients
2. moved evm vars from constants.py to envs.json (local)
3. slightly refactored type hints of functions
@kristinaNikolaevaa
Copy link
Collaborator

Please check README file ( section about how to run evm tests)

proxy_url: str
tracer_url: str
solana_url: str
faucet_url: str
network_ids: dict
spl_neon_mint: str
sol_mint_id_string: str
neon_mint_id_string: str
Copy link
Collaborator

Choose a reason for hiding this comment

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

neon_mint_id_string == spl_neon_mint (see below)
sol_mint_id_string is the same for all stands. Lets het the value from solana lib, it is called NATIVE_MINT

lets delete both of them



def prepare_operator(key_file, evm_loader: EvmLoader):
def prepare_operator(key_file: pathlib.Path | str, evm_loader: EvmLoader, environment: EnvironmentConfig) -> Keypair:
Copy link
Collaborator

Choose a reason for hiding this comment

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

we have chain ids in evm_loader
environment can be deleted

Copy link
Collaborator

Choose a reason for hiding this comment

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

please check that new params are optional
otherwise add them to each section

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.

2 participants