Created
May 25, 2018 21:27
-
-
Save pirapira/758f1ebc8d6384d3b66cc8846318ff3f to your computer and use it in GitHub Desktop.
evm code that adds two numbers from the storage and writes the result to storage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/src/solidity/build((v0.4.21)) $ lllc/lllc < ../../cpp-ethereum/build-tsan/add-storage.lll | |
60015460005401600255 | |
~/src/solidity/build((v0.4.21)) $ cat ../../cpp-ethereum/build-tsan/add-storage.lll | |
(sstore 2 (+ (sload 0) (sload 1))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment