forked from cerc-io/laconicd-deprecated
f6dc80d949
* add some unit tests for estimateGas Also add some test environment setup, Closes #323 test estimateGas of erc20 token transfer fix failed test case the trick is to keep a clean transient store, by doing a commit put artifacts to external file * fix test failure Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
7 lines
323 B
Bash
Executable File
7 lines
323 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# prepare sloc v0.5.17 in PATH
|
|
solc --combined-json bin,abi --allow-paths . ./tests/solidity/suites/staking/contracts/test/mocks/StandardTokenMock.sol \
|
|
| jq ".contracts.\"./tests/solidity/suites/staking/contracts/test/mocks/StandardTokenMock.sol:StandardTokenMock\"" \
|
|
> x/evm/keeper/ERC20Contract.json
|