Skip to content

Commit

Permalink
Fixed explicit EIP-1559 keys for JsonRpcSigner.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jun 29, 2021
1 parent 71b7547 commit 72feee8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/providers/src.ts/json-rpc-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ class UncheckedJsonRpcSigner extends JsonRpcSigner {

const allowedTransactionKeys: { [ key: string ]: boolean } = {
chainId: true, data: true, gasLimit: true, gasPrice:true, nonce: true, to: true, value: true,
type: true, accessList: true
type: true, accessList: true,
maxFeePerGas: true, maxPriorityFeePerGas: true
}

export class JsonRpcProvider extends BaseProvider {
Expand Down

0 comments on commit 72feee8

Please sign in to comment.