github.com/MetalBlockchain/metalgo@v1.11.9/tests/e2e/c/hashing.sol (about) 1 // SPDX-License-Identifier: MIT 2 3 pragma solidity = 0.8.6; 4 5 contract ConsumeGas { 6 7 bytes hashVar = bytes("This is the hashing text for the test"); 8 9 function hashIt() public { 10 for (uint i=0; i<3700; i++) { 11 ripemd160(hashVar); 12 } 13 } 14 15 }