Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Eddy Ashton 6060dd87d7
Validate sample execution in CI (#59)
* Validate sample execution in CI

* Fixes for sample seg faults, error for future
2019-11-19 11:38:07 +00:00
Eddy Ashton 0d45a28eb2
Replace Boost with intx (#55)
* Add intx lib

* Add basic intx cmake wrapper, test exe

* WIP: Use intx rather than boost

* Compiles

* Correct signed comparison

* lol

* Make an object, even if its empty

* Use intx::narrow_cast where appropriate

* Fix sdiv

* Fix signextend

* Fix smod

* Fix mload

* Correct to_hex_str

* Fix address_to_hex_string

* Manage your expectations

* Remove unnecessary assignment functions

* Remove unnecessary assign_j

* Minimise bigint.h

* Broad rename - phase I

* Renames - placate samples

* Restore from_bytes

* format

* Remove unnecessary overload

* Add comment

* Implement ostream operator<< for intx

* Include io headers

* Clarify to_hex_string overloads

* Explicit [to/from]_json

* Remove Boost references

* Remove temp intx tests

* Bump
2019-10-10 17:05:08 +01:00
Eddy Ashton e4e843147d
Avoid misalignments in to_big_endian (#52) 2019-09-02 17:30:10 +01:00
Eddy Ashton e5e35c7e84
Add disassembler app (#50)
* Add basic disassembler sample

* Improve disassembler out_of_range exception

* Remove double-0x, unnecessary space

* Align instruction count
2019-08-30 18:01:32 +01:00
Eddy Ashton 36ca7e32ea
Abstract account (#49)
* Initial implementation of abstract Account

* Update samples

* Simplify API

* Remove incorrect comment

* Simplify further - common implementation of pay_to

* Add libfmt license notice

* Merge fixups

* Disable automatic nonce-increment pending further investigation

* Allow nonce to be set in constructor

* Remove unnecessary methods from abstract interfaces
2019-08-23 13:18:25 +01:00
Eddy Ashton 164ef04be5
Add libfmt support (#48)
* WIP: Add libfmt, port samples

* Wider use of libfmt

* libfmt for unexpected opcode error

* libfmt in disassembler

* More use of libfmt

* Compatible with test's expectation
2019-08-19 13:03:21 +01:00
Eddy Ashton d0177767e8
Move includes, rename namespace (#47)
* Rename evm namespace to eevm

* Juggle files

* Move includes

* Fix README link

* Separate core srcs in static library from Simple impl

* Decorate CMake

* Remove unused type aliases

* Make Circle test verbose
2019-08-16 16:15:07 +01:00
Eddy Ashton 659f23547f
Checksum addresses (#30)
* Add to_lower_hex_str

* Add to_checksum_address, and is_checksum_address

* Add tests, fix case of Keccak_256
2019-04-18 17:11:46 +01:00
Felix Schuster 9aa520de7f
Update README.md 2018-12-03 14:06:02 +00:00
Eddy Ashton 287570c2ed
Add samples (#13)
* const& code, clang-format pass

* Add hello_world and sum samples

* clang-format pass

* Initial commit of ERC20 sample

* Add random transactions

* Add comments

* Add const& to avoid unnecessary copies

* Add license headers

* Precise comments

* Initial samples README

* Updated readme, remove unnecessary bin-runtime

* README update

* Check result of hello_world, readme pass
2018-12-03 10:41:25 +00:00