Nikhil Parasaram
5a184e8225
Add support for locking config file ( #1652 )
...
* Add support for locking config file
* Remove abi decode test
* Fix typo
2 years ago
Nikhil Parasaram
591af8a319
Use latest blake2bpy, Fix version extraction ( #1644 )
...
* Use latest blake2bpy, Fix version extraction
* Fix setup.py
* Handle setup.py
* Handle setup.py
* Handle setup.py
* Fix requirements
* Fix requirements
* Fix requirements
* restrict eth-hash
2 years ago
Nikhil Parasaram
ca0edd6208
Handle CRLF line endings ( #1637 )
...
* Handle CRLF line endings
* Add new line at the end of file
3 years ago
Nikhil Parasaram
949a9820ad
Fix caching for exceptions module ( #1633 )
3 years ago
Nikhil Parasaram
651a17c647
Fix issue with cache during summaries ( #1619 )
...
* Check versions before using integer module
* Use IssueAnnotations
* Fix misc issues with summaries
* Fix cache issue
* Fix safe functions
3 years ago
Nikhil Parasaram
50e1ded4ab
Check versions before using integer module ( #1613 )
3 years ago
Nikhil Parasaram
bb1dd3e794
Support TX constraints and refactor CLI ( #1607 )
...
* Support TX constraints and refactor CLI
* Fix typing
* Add additional typing
* Use dict over accessor
* Fix z3py requirements
* Init storage args
* Init storage args
* Init args in vm tests
3 years ago
Nikhil Parasaram
7d3f9b5842
Beam search ( #1606 )
...
* Init config dir
* Fix solc optimizer
* Add beam search
* Use dict over reference
3 years ago
Nikhil Parasaram
8fbe2e2748
Fix NPM code block issue ( #1602 )
...
* Init config dir
* Fix solc optimizer
* Fix NPM code block issue
* Extend tests
3 years ago
Nikhil Parasaram
c88a5eda57
Fixes optimizer issue ( #1597 )
...
* Init config dir
* Fix solc optimizer
3 years ago
Nikhil Parasaram
0a2996a83e
Support Pragmas ( #1591 )
...
* Support Pragmas
* Fix MarkUpSafe
3 years ago
Nikhil Parasaram
c72ac81de1
Add more precompile tests ( #1576 )
...
* Add tests for natives
* Black updates
* Update black
3 years ago
Nikhil Parasaram
510ff95655
Support symbolic bytecode ( #1560 )
...
* Support symbolic bytecode
* Use hex notation
* Handle swarm hash
3 years ago
Nikhil Parasaram
65e274a210
Removes pyethereum Dependencies and leveldb libraries ( #1555 )
...
* change versions
* Move away from pyethereum dependency
* Remove leveldb
* Change requirements
* Add rzpad()
* Fix issues with sha3
* Fix sha3 edge cases
* Fix setup.py
* Restrict eth-utils
* Restrict eth-typing
* Fix py-ecc
3 years ago
Nikhil Parasaram
9d7873621e
Fixes issues by considering future concrete hashes ( #1547 )
...
* Fix issues with hashing
* Fix offsets and edge cases
3 years ago
Nikhil Parasaram
9d922fe9f4
Refactor opcode files and fix issues ( #1532 )
3 years ago
Nikhil Parasaram
3e113c9a55
[WIP] Add safe function support ( #1510 )
...
* Add safe functions cli
* Add a change
* Add tests
* Change examples
* Fix bytecode tests
3 years ago
Nikhil Parasaram
89bc36baa8
Support Panic(uint256) calls for asserts in v0.8.0+ ( #1514 )
...
* Support panic() asserts
* Use typing extensions
3 years ago
Nikhil Parasaram
067d2c0b47
Add BASEFEE opcode ( #1513 )
...
* Add BASEFEE opcode
* Add test
3 years ago
Nikhil Parasaram
e1f8b51c3b
Fix json issue ( #1503 )
...
* Fix json issue
* Add missing files
3 years ago
Nikhil Parasaram
05a1b5bb7e
Fix issues with optimizer ( #1499 )
...
* Fix issues with optimizer
* Fix solidity contract test
3 years ago
Nikhil Parasaram
c72d212c7e
[WIP] Handle exponents ( #1497 )
...
* Handle exponents
* Bruteforce enumerate constraints
* Fix evm tests
* Fix imports
* Fix z3 version to avoid exception
* Fix z3 version to avoid exception
* Fix z3 version
* Fix z3 version
* Hunt the issue
* Hunt the issue
* Hunt the issue
* Hunt the issue
* Hunt the issue
* Fix issue
* Fix issue
* Add tests
* Black
* Fix issue
* Fix issue with disassembler test
* Fix issue with disassembler test
3 years ago
Nikhil Parasaram
d8aa12d62b
[WIP]Use latest mythril CI image ( #1463 )
...
* Use updated container
* Use geth option
* Use geth option
* Update geth command
* use http flag
* Fix the geth flags
* Remove rpc test and use 0.5.0
* black
* Fix tests for different solc version
* Fix tests for different solc version
* Fix analyzer test
* Fix eth-hash
4 years ago
Nikhil Parasaram
3ef1065b15
Support berlin fork ( #1428 )
...
* Support berlin fork
* Add review fixes
Co-authored-by: JoranHonig <JoranHonig@users.noreply.github.com>
4 years ago
Nikhil Parasaram
79dfe70747
Support Ifs for arrays and have handy id function for Node ( #1418 )
...
* Support Ifs for arrays and have handy id function for Node
* rename counter
* Fix error related to mypy
* Fix tests
* Review fixes
4 years ago
Joran Honig
25207801c8
mock execution_info
4 years ago
Nikhil Parasaram
698b1d423f
Fix create tests
5 years ago
Nikhil Parasaram
1ddfc598be
Fix string loop errors ( #1370 )
...
* Fix off by one errors and add tests
* Add type hints
Co-authored-by: Bernhard Mueller <b-mueller@users.noreply.github.com>
5 years ago
Bernhard Mueller
aff3ec67b0
Update tx.origin test to excpect SWC-115
5 years ago
Bernhard Mueller
4391d1ae55
Revert tests
5 years ago
Bernhard Mueller
f5fc3c304d
Also update origin.sol.easm
5 years ago
Bernhard Mueller
32b5a1e21d
It's supposed to be runtime bytcode
5 years ago
Bernhard Mueller
3e8b668f0d
Try again
5 years ago
Bernhard Mueller
e09480df48
Remove the evil newline
5 years ago
Bernhard Mueller
d2be41b61d
Fix inexplicably failing test
5 years ago
Nikhil Parasaram
b304cad96e
Fix statespace tests
5 years ago
Nikhil Parasaram
bc767a6472
Black
5 years ago
Nikhil Parasaram
c7b4712a40
Fix tests
5 years ago
Nikhil Parasaram
27b941791b
Upgrade infura ( #1341 )
...
* Add infura key argument
* Make some changes and update docs
* Fix config tests
* Set dummy infura_id in test
* Use ci env var
* Set env var in config.yaml
* Remove curly braces
* Create a separate run to initialise env var
* Debug commit
* test ci
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
* Fix setting of env var
Co-authored-by: Bernhard Mueller <b-mueller@users.noreply.github.com>
5 years ago
Nikhil Parasaram
8f93f525dd
Handle concrete hashes ( #1339 )
...
* Handle concrete hashes
* rename hash to keccak
* Use SMT Bool
* Make constraints cleaner
Co-authored-by: Bernhard Mueller <b-mueller@users.noreply.github.com>
5 years ago
Nikhil Parasaram
b290b6071a
Fix create salt ( #1306 )
...
* Remove native tests
* Handle symbolic salt
* Handle symbolic salt
* Add type hint for contract_address
* Bring the instruction gas up
* Fix the tests and the instruction
Co-authored-by: JoranHonig <JoranHonig@users.noreply.github.com>
5 years ago
Nikhil Parasaram
fa3207c5b8
Fix loop bounds ( #1336 )
...
* new algo for creating loop counter keys
* Good old black
* Revert to debug log level
* Fix type annotation
* Minor modification of checksum generation
* Greater trace length and some black
* Count continous loops
Co-authored-by: Bernhard Mueller <b-mueller@users.noreply.github.com>
5 years ago
Joran Honig
cc476df2a5
retrieve callback modules not post modules
5 years ago
Nikhil Parasaram
4d2b331ac0
Add create and create2 test ( #1308 )
...
* Add create tests
* Use pytest raises
Co-authored-by: JoranHonig <JoranHonig@users.noreply.github.com>
5 years ago
Joran Honig
4413a033ff
whoop whoop black
5 years ago
Joran Honig
22da6a7ce9
implement initial loader test
5 years ago
Joran Honig
064837d814
add interface tests
5 years ago
Bernhard Mueller
49aa7462e5
Disable even more Infura-reliant tests
5 years ago
Bernhard Mueller
ab35dcd09b
Disable more Infura tests
5 years ago
Bernhard Mueller
de92272bf9
Disable Infura tests "temporarily"
5 years ago