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

28 Коммитов

Автор SHA1 Сообщение Дата
Eddy Ashton 06cc5e5aad
uint256_ts are lower case by default, when converted to json (#31)
* Lower-case hex strings are the default for json output

* Remove debug printing
2019-04-18 18:04:06 +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
Eddy Ashton d39457e705
Clarify that get_block_hash takes a <256 offset, not block index (#28) 2019-04-05 17:25:22 +01:00
Eddy Ashton 3ca7eedc4d
gaslimit opcode should return _block_'s gas limit, not tx's (#27) 2019-04-05 15:44:46 +01:00
Eddy Ashton d34c8c855e
Add CircleCI badge (#26)
* Add CircleCI badge

* Update README.md
2019-04-05 09:38:57 +01:00
Amaury Chamayou c29e4af1bb Tentative Circle CI setup (#25)
Initial Circle CI config
2019-04-05 09:24:03 +01:00
Eddy Ashton 0c14073d48
Add implementation of RLP Decode (#23)
* Move RLP tests to separate file

* Initial int parsing

* String and list decoding

* Support for writing single byte-vectors

* WIP

* List and empty decoding

* Tuple decode by tag dispatch

* Properly decode tuple items separately

* Avoid undefined execution order

* Add some comments

* Avoid references in tag dispatch

* Decode a long, nested example

* Add example of decoding a user type

* Test uint256_t decoding

* Fix uint256 0 encoding/decoding, add tx hash test

* Correct name

* Generalise to_hex_string
2019-04-04 13:36:07 +01:00
Eddy Ashton 7e31e689e2
Remove unnessary call-by-value copy (#22) 2019-03-28 16:49:38 +00:00
Eddy Ashton 4ea7593f6f
Add explicit type to RLP shift to satisfy UBSAN (#21) 2019-03-18 10:51:00 +00:00
Eddy Ashton 24be26b00e
Replace RLP implementation (#19)
* Clear error message when TEST_DIR is not set

* Use uint256 call_values

* In progress improvements to RLP

Working tuple nesting

* Tuple of tuples is still a problem

* Correct and tested RLP

* Add comments

* Replace old rlp-implementation with new

* Rename rlp::to_bytes to to_byte_string

* Add to_byte_string for boost bigints

* Test large uint256_t encoding

* Remove debug inclusions

* Add missed include for std::apply

* Print verbose make instructions in CI

* Try a windows-hosted agent

* Reinstate Ubuntu CI - give up on it passing
2019-03-08 14:49:00 +00:00
Eddy Ashton a6c1b14e4f
Use uint256 call values (#17)
* Clearer error message when TEST_DIR is not set

* Use uint256 call_values
2019-02-06 10:13:41 +00:00
Eddy Ashton 2c66c18dde
Remove unneeded equality operator (#16) 2019-01-29 17:25:37 +00: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
Felix Schuster bb6d764499
Merge pull request #12 from Microsoft/update_docs
Update docs
2018-11-28 04:01:16 -08:00
Edward Ashton (Brook Street) 59cd7eb722 Update docs
Update precompiled contracts range
2018-11-28 11:45:16 +00:00
azure-pipelines[bot] ad50aa279c Set up CI with Azure Pipelines (#5)
* Set up CI with Azure Pipelines

* Get Boost

Add Azure Pipelines status badge

* Unpack Boost in tmp dir

* Make test wrapper executable

* Add full build step
2018-11-02 13:49:34 +00:00
Marley Gray dc0a32a144 Update README.md
Rename to Confidential Conpute Blockchain Framework.
2018-10-29 20:44:47 +01:00
Felix Schuster d9c6d3e944
Merge pull request #2 from Microsoft/tidy
Some minor tidying
2018-10-29 05:20:15 -07:00
Eddy Ashton ca1d729333
Update include/exception.h
Co-Authored-By: flxflx <1911679+flxflx@users.noreply.github.com>
2018-10-29 05:19:48 -07:00
Felix Schuster 568ba6f66a tidy 2018-10-29 11:37:06 +00:00
Felix Schuster e5a45dc2ea tidy 2018-10-29 11:37:00 +00:00
Eddy Ashton 084c9269ff
Merge pull request #1 from eddyashton/master
Seed commit
2018-10-26 11:56:41 +01:00
Edward Ashton (Brook Street) 6741ddbe8b Correct README file link 2018-10-26 11:42:03 +01:00
Edward Ashton (Brook Street) 962f075f75 Seed commit 2018-10-26 11:38:32 +01:00
Microsoft Open Source 6c2501c6d7 Initial commit 2018-10-25 15:03:14 -07:00
Microsoft Open Source febb8a99d1 Initial commit 2018-10-25 15:03:14 -07:00
Microsoft GitHub User 20d38abe83
Initial commit 2018-10-25 15:03:10 -07:00