Skip to content

Commit a4cee27

Browse files
committed
more sensible gas price defaults for testnets (too)
1 parent 1e56be3 commit a4cee27

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/ethereum-contracts/truffle-config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ const E = (module.exports = {
221221
"optimism-sepolia": {
222222
...createNetworkDefaultConfiguration("optimism-sepolia"),
223223
network_id: 11155420,
224+
maxPriorityFeePerGas: 1e6, // 0.001 gwei
225+
maxFeePerGas: 1e9, // 1 gwei
224226
},
225227

226228
//
@@ -272,6 +274,8 @@ const E = (module.exports = {
272274
"base-sepolia": {
273275
...createNetworkDefaultConfiguration("base-sepolia"),
274276
network_id: 84532,
277+
maxPriorityFeePerGas: 1e6, // 0.001 gwei - even 0 may do
278+
maxFeePerGas: 1e9, // 1 gwei
275279
},
276280

277281
//

0 commit comments

Comments
 (0)