mirror of
https://github.com/logos-storage/nim-ethers.git
synced 2026-01-04 06:33:07 +00:00
Remove useless specific EIP1559 test because Hardhart support it so all transactions are using EIP1559 by default
This commit is contained in:
parent
92f1932acb
commit
09d3fff502
@ -101,16 +101,6 @@ suite "Wallet":
|
|||||||
check txHash.hash != TransactionHash.default
|
check txHash.hash != TransactionHash.default
|
||||||
|
|
||||||
test "Can call state-changing function automatically":
|
test "Can call state-changing function automatically":
|
||||||
#TODO add actual token contract, not random address. Should work regardless
|
|
||||||
let wallet = !Wallet.new(pk_with_funds, provider)
|
|
||||||
let overrides = TransactionOverrides(
|
|
||||||
nonce: some 0.u256,
|
|
||||||
maxPriorityFeePerGas: some 1_000_000_000.u256,
|
|
||||||
gasLimit: some 22_000.u256)
|
|
||||||
let testToken = Erc20.new(wallet.address, wallet)
|
|
||||||
await testToken.transfer(wallet.address, 24.u256, overrides)
|
|
||||||
|
|
||||||
test "Can call state-changing function automatically EIP1559":
|
|
||||||
#TODO add actual token contract, not random address. Should work regardless
|
#TODO add actual token contract, not random address. Should work regardless
|
||||||
let wallet = !Wallet.new(pk_with_funds, provider)
|
let wallet = !Wallet.new(pk_with_funds, provider)
|
||||||
let overrides = TransactionOverrides(
|
let overrides = TransactionOverrides(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user