Contracts: return arbitrary sized buffers (#711)

* WIP

* Direct return of output data.

* Docs and renamings.

* Add get_storage test.

* Overwrite the scratch buffer.
This commit is contained in:
Sergey Pepyakin authored and Gav Wood committed 2018-09-15 12:46:59 +02:00
1 parent 56def2a38b
commit dcd181f31e
5 files changed
+274 -145

No files matched your search

+1 -1
View File
@@ -505,7 +505,7 @@ fn top_level_create() {
));
// 11 - value sent with the transaction
// (3 * 129) - gas spent by the ctor
// (3 * 129) - gas spent by the init_code.
// (3 * 175) - base gas fee for create (175) (top level) multipled by gas price (3)
// ((21 / 3) * 3) - price for contract creation
assert_eq!(