-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: stop estimating gas in tests [APE-1020] (#16)
- Loading branch information
Showing
3 changed files
with
34 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import pytest | ||
from ape_ethereum.transactions import TransactionType | ||
|
||
|
||
def test_gas_limit(arbitrum): | ||
assert arbitrum.config.local.gas_limit == "max" | ||
|
||
|
||
@pytest.mark.parametrize("type", (0, "0x0")) | ||
def test_create_transaction(arbitrum, type): | ||
txn = arbitrum.create_transaction(type=type) | ||
assert txn.type == TransactionType.STATIC.value |