diff options
author | chriseth <chris@ethereum.org> | 2016-10-12 23:28:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-12 23:28:47 +0800 |
commit | 5fb0bcce4532e9dec8a5aa0ef056d5a1c12405a2 (patch) | |
tree | 1976579193413d73cd7166200d4a4489ece829d3 /libsolidity/codegen/ContractCompiler.cpp | |
parent | cbd933ceedc9d38df356856eec7bfca07d440523 (diff) | |
download | dexon-solidity-5fb0bcce4532e9dec8a5aa0ef056d5a1c12405a2.tar dexon-solidity-5fb0bcce4532e9dec8a5aa0ef056d5a1c12405a2.tar.gz dexon-solidity-5fb0bcce4532e9dec8a5aa0ef056d5a1c12405a2.tar.bz2 dexon-solidity-5fb0bcce4532e9dec8a5aa0ef056d5a1c12405a2.tar.lz dexon-solidity-5fb0bcce4532e9dec8a5aa0ef056d5a1c12405a2.tar.xz dexon-solidity-5fb0bcce4532e9dec8a5aa0ef056d5a1c12405a2.tar.zst dexon-solidity-5fb0bcce4532e9dec8a5aa0ef056d5a1c12405a2.zip |
Replace `fixed` by standard `encode` function.
This way, we can use
```
BOOST_CHECK(callContractFunction("t(fixed8x128)", make_pair(rational(2, 3), 128)) == encodeArgs(u256(9)));
```
which is a bit more self-explanatory, I would say.
Diffstat (limited to 'libsolidity/codegen/ContractCompiler.cpp')
0 files changed, 0 insertions, 0 deletions