Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 520 Bytes

File metadata and controls

15 lines (11 loc) · 520 Bytes

Solidity Challenge #394 🕵️‍♂️

Guess the output of the compareGasUsage() function and also tell us if or why you would choose it. 👇 SwapVariables Contract

What Went Wrong?

  1. Gas usage measurement for the two swap methods.
  2. No clear issues in the provided contract code.

Example

  1. Comparison of gas usage between two swap methods: swapWithTemp and swapWithTuple.

Solution

  1. Code is correctly measuring gas usage and comparing results.
  2. Testing required for verification.