-
-
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.
fix: issue where
create_transaction()
ignored network gas limit [AP…
…E-1423] (#20)
- Loading branch information
Showing
4 changed files
with
97 additions
and
40 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
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 |
---|---|---|
@@ -1,15 +1,12 @@ | ||
def test_basic(accounts, networks): | ||
with networks.arbitrum.local.use_provider("test"): | ||
a = accounts.test_accounts[0] | ||
receipt = a.transfer(a, 100) | ||
def test_basic(account, second_account, networks, eth_tester_provider): | ||
receipt = account.transfer(account, 100) | ||
|
||
assert not receipt.failed | ||
assert receipt.value == 100 | ||
assert not receipt.failed | ||
assert receipt.value == 100 | ||
|
||
|
||
def test_get_receipt(accounts, networks): | ||
with networks.arbitrum.local.use_provider("test"): | ||
transfer = accounts.test_accounts[0].transfer(accounts.test_accounts[1], 1) | ||
assert transfer.txn_hash | ||
tx = networks.provider.get_receipt(transfer.txn_hash) | ||
assert tx.data.hex() | ||
def test_get_receipt(account, second_account, networks, eth_tester_provider): | ||
transfer = account.transfer(second_account, 1) | ||
assert transfer.txn_hash | ||
tx = networks.provider.get_receipt(transfer.txn_hash) | ||
assert tx.data.hex() |