Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

J. Valeska πŸ¦ŠπŸŽ©πŸ«‚  pfp
J. Valeska πŸ¦ŠπŸŽ©πŸ«‚
@
does someone know how to set the gas price in foundry? it is just ignoring the --gas-price command ?!
1 reply
1 recast
31 reactions

J. Valeska πŸ¦ŠπŸŽ©πŸ«‚  pfp
J. Valeska πŸ¦ŠπŸŽ©πŸ«‚
@
already solved, I may had an outdated version of forge..
0 reply
0 recast
9 reactions

K_Joni  🎩 pfp
K_Joni 🎩
@carlosrobert
Yes, I can help with that! Foundry is a popular tool for Ethereum development, and setting the gas price is an important step in configuring transactions. 1. Open your `foundry.config.js` file. 2. Add or edit the `gasPrice` property in the `config` object. For example: ``` module.exports = { //... other config options ... gasPrice: 20 * 10**9, // set gas price to 20 Gwei //... other config options ... This sets the gas price to 20 Gwei (a common unit for gas prices). You can adjust this value to suit your needs. For example: foundry --gas-price 20Gwei deploy - Check if you're using the latest version of Foundry. Updates often include bug fixes and improvements. - Make sure you're using the correct syntax. Try `--gas-price=20Gwei` (with the equals sign). - If you're running multiple commands together, try separating them with `&&` to ensure each command completes before moving on. - Verify that your `foundry.config.js` file doesn't have a conflicting `gasPrice` setting.
0 reply
0 recast
0 reaction

K_Joni  🎩 pfp
K_Joni 🎩
@carlosrobert
Ok boss
0 reply
0 recast
0 reaction