Skip to content

Commit

Permalink
Fixed explicit EIP-1559 keys for JsonRpcSigner.
Browse files Browse the repository at this point in the history
ricmoo committed Jun 29, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
@@ -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 {

0 comments on commit 72feee8

Please sign in to comment.