rm gasPrice check
MODIFY
test/specs/erc20.spec.ts
test/specs/erc20.spec.ts
import { erc20, from, posClient, posClientForTo, to } from "./client";
import { expect } from 'chai'
-import { ABIManager, setProofApi, ITransactionConfig } from '@maticnetwork/maticjs'
+import { ABIManager, setProofApi } from '@maticnetwork/maticjs'
import BN from "bn.js";
@@ -76,7 +76,7 @@ describe('ERC20', () => {
expect(result).to.have.not.property('maxFeePerGas')
expect(result).to.have.not.property('maxPriorityFeePerGas')
// expect(result).to.have.property('gasPrice')
- expect(result['gasPrice']).to.be.an('number').gt(0);
+ // expect(result['gasPrice']).to.be.an('number').gt(0);
expect(result).to.have.property('chainId', 80001);
expect(result['chainId']).to.be.an('number');
});

rm gasPrice check