Skip to content

Commit

Permalink
increase gas consumption
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Nov 8, 2024
1 parent f0c5352 commit 9998144
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/contracts/testdappv2/TestDAppV2.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/contracts/testdappv2/TestDAppV2.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/contracts/testdappv2/TestDAppV2.json

Large diffs are not rendered by default.

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 = 1000000;
uint256 targetGas = 2000000;
// Approximate gas cost for a single storage write
uint256 storageWriteGasCost = 20000;
uint256 iterations = targetGas / storageWriteGasCost;
Expand Down

0 comments on commit 9998144

Please sign in to comment.