-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: develop
Are you sure you want to change the base?
Conversation
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
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 |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
No description provided.