-
Notifications
You must be signed in to change notification settings - Fork 29
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
Feat: integration tests for contracts #459
Conversation
.github/workflows/tests.yml
Outdated
run: poetry run pytest -m "not integration and not e2e" --cov=src tests | ||
run: poetry run pytest --cov=src tests | ||
env: | ||
LIDO_LOCATOR_ADDRESS: 0xC1d0b3DE6792Bf6b4b37EccdcC24e45978Cfd2Eb |
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.
why you need real locator address for unit tests?
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.
Now there are some integration tests, but placed this constant inside, because tests are bind to mainnet currently
@@ -104,8 +104,8 @@ class SharesRequestedToBurn: | |||
|
|||
@dataclass | |||
class WithdrawalRequestStatus: | |||
amountOfStETH: int | |||
amountOfShares: int | |||
amount_of_st_eth: int |
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.
amount_of_st_eth: int | |
amount_of_steth: int |
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.
named_tuple_to_dataclass
automatically renames amountOfStETH
to amount_of_st_eth
. Don't think we need any exceptions for this case
…ido-oracle into feat/tests-for-abstraction
No description provided.