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
2018-09-15 13:46:59 +03:00
committed by Gav Wood
parent 56def2a38b
commit dcd181f31e
5 changed files with 274 additions and 145 deletions
+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!(