Giveth / giveth-bridge

Giveth bridge
GNU General Public License v3.0
12 stars 6 forks source link

Gas fee issue after 1559 #30

Closed aminlatifi closed 3 years ago

aminlatifi commented 3 years ago

Bridge cannot make mainnet transaction after 1559, Error:

{ Error: Returned error: err: max fee per gas less than block base fee: address 0xa27243046e16ee596D19Ff3091719160527e469a, maxFeePerGas: 126000000000 baseFee: 126661117366 (supplied gas 3908504)
0|giveth-b |     at Object.ErrorResponse (/home/deploy/giveth-bridge/node_modules/web3-core-helpers/lib/errors.js:28:19)
0|giveth-b |     at /home/deploy/giveth-bridge/node_modules/web3-core-requestmanager/lib/index.js:303:36
0|giveth-b |     at XMLHttpRequest.request.onreadystatechange (/home/deploy/giveth-bridge/node_modules/web3-providers-http/lib/index.js:98:13)
0|giveth-b |     at XMLHttpRequestEventTarget.dispatchEvent (/home/deploy/giveth-bridge/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:22)
0|giveth-b |     at XMLHttpRequest._setReadyState (/home/deploy/giveth-bridge/node_modules/xhr2-cookies/dist/xml-http-request.js:208:14)
0|giveth-b |     at XMLHttpRequest._onHttpResponseEnd (/home/deploy/giveth-bridge/node_modules/xhr2-cookies/dist/xml-http-request.js:318:14)
0|giveth-b |     at IncomingMessage.<anonymous> (/home/deploy/giveth-bridge/node_modules/xhr2-cookies/dist/xml-http-request.js:289:61)
0|giveth-b |     at IncomingMessage.emit (events.js:203:15)
0|giveth-b |     at IncomingMessage.EventEmitter.emit (domain.js:448:20)
0|giveth-b |     at endReadableNT (_stream_readable.js:1145:12)
0|giveth-b |     at process._tickCallback (internal/process/next_tick.js:63:19) data: null }
aminlatifi commented 3 years ago

https://docs.alchemy.com/alchemy/guides/eip-1559/send-tx-eip-1559