Skip to content

Commit

Permalink
change gas
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Nov 8, 2024
1 parent 3e27e32 commit f62df34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/contracts/testdappv2/TestDAppV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ contract TestDAppV2 {

function consumeGas() internal {
// Approximate target gas consumption
uint256 targetGas = 2000000;
uint256 targetGas = 1400000;
// Approximate gas cost for a single storage write
uint256 storageWriteGasCost = 20000;
uint256 iterations = targetGas / storageWriteGasCost;
Expand Down

0 comments on commit f62df34

Please sign in to comment.