Use default gasPrice in Forwarder tests
This commit is contained in:
@@ -45,7 +45,7 @@ blockchainTests.only(ContractName.Forwarder, env => {
|
||||
let tx: TransactionReceiptWithDecodedLogs;
|
||||
|
||||
let erc721MakerAssetIds: BigNumber[];
|
||||
let gasPrice: BigNumber;
|
||||
const gasPrice = new BigNumber(constants.DEFAULT_GAS_PRICE);
|
||||
|
||||
before(async () => {
|
||||
await env.blockchainLifecycle.startAsync();
|
||||
@@ -61,10 +61,6 @@ blockchainTests.only(ContractName.Forwarder, env => {
|
||||
forwarderFeeRecipientAddress,
|
||||
] = accounts);
|
||||
|
||||
const txHash = await env.web3Wrapper.sendTransactionAsync({ from: accounts[0], to: accounts[0], value: 0 });
|
||||
const transaction = await env.web3Wrapper.getTransactionByHashAsync(txHash);
|
||||
gasPrice = new BigNumber(transaction.gasPrice);
|
||||
|
||||
const erc721Wrapper = new ERC721Wrapper(env.provider, usedAddresses, owner);
|
||||
erc20Wrapper = new ERC20Wrapper(env.provider, usedAddresses, owner);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user