Fix for when blockTag is specified as a null equivalent value in contract overrides (#329).
This commit is contained in:
parent
3a19f43844
commit
28a52cd485
@ -158,9 +158,10 @@ function runMethod(contract: Contract, functionName: string, estimateOnly: boole
|
||||
|
||||
if (tx.blockTag != null) {
|
||||
blockTag = tx.blockTag;
|
||||
delete tx.blockTag;
|
||||
}
|
||||
|
||||
delete tx.blockTag;
|
||||
|
||||
// Check for unexpected keys (e.g. using "gas" instead of "gasLimit")
|
||||
for (let key in tx) {
|
||||
if (!allowedTransactionKeys[key]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user