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

Stricten assertions on test_deposit #58

Open
jpcenteno opened this issue Jun 14, 2023 · 0 comments
Open

Stricten assertions on test_deposit #58

jpcenteno opened this issue Jun 14, 2023 · 0 comments

Comments

@jpcenteno
Copy link
Contributor

Address these comments by @mpaulucci.

Take this as a reference:

        assert_eq!(
            l2_balance_after_withdraw,
            l2_balance_before
                - (amount_to_withdraw + tx_receipt.effective_gas_price.unwrap() * tx_receipt.gas_used.unwrap()),
            "Check that L2 balance inmediately after withdrawal has decreased by the used gas and amount"
        );
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

No branches or pull requests

1 participant