Skip to content

Commit

Permalink
[truffle-v4] Add EIP1559 transaction overrides
Browse files Browse the repository at this point in the history
Tried doing a search for maxPriorityFeePerGas and maxFeePerGas in Truffle
repo. Got only one result: https://github.com/trufflesuite/truffle/blob/f1a70cf7348ae629b7e95a849a93d3e8ce7971c8/packages/contract/lib/utils/index.js#L14-L15
Seems that they don't have any types exported.

Co-authored-by: rafinskipg <[email protected]>
  • Loading branch information
zemse and rafinskipg committed Aug 22, 2021
1 parent 219b5db commit fa30889
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/target-truffle-v4/static/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ declare namespace Truffle {
from?: string
gas?: BigNumber | number | string
gasPrice?: BigNumber | number | string
maxPriorityFeePerGas?: BigNumber | number | string
maxFeePerGas?: BigNumber | number | string
value?: BigNumber | string
}

Expand Down

0 comments on commit fa30889

Please sign in to comment.