thiolliere
c7d9ca379d
Contract accounting removal ( #2230 )
...
* first partial implementation
* update rent allowance
* fmt
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com >
* remove comments
* reward surcharge claims
* remove rent allowance in param + code_hash changed
* Fix bug
* fix tests
* fmt
* impl getter setter rent allowance
* fmt
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com >
* comments
* doc + be->le
* doc
* doc
* fix improve fast return
* renamings
* rename + COMPLEXITY
* COMPLEXITY
* add test
* etrinsic claim surcharge delay configurable
* comment addressed
* move and rewrite of pay_rent
* remove child trie
* fmt
* use derive
* arithmetic operation
* fix
* fix storage root + checked_mul + test
* WIP: test
* WIP
* add tests and fix
* fmt
* typo and doc suggestions
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com >
* WIP
* address some comments
divide tests + some docs
* use br_table
* remove unused function
* Bump the runtime version
* insert_with
* Add some comments.
* Refactor
* Shuffle and fix comments
* More comment fixes.
* dues limited
* Add comment
* Handicap
* Docs.
* Apply suggestions from code review
Co-Authored-By: pepyakin <s.pepyakin@gmail.com >
* Coalesce block_passed in a block
* Fix build
* Paid → Ok
* match → if
* Imrpove handicap description
2019-04-30 09:41:33 +02:00
thiolliere
c98db99d80
implement contract events ( #2161 )
...
* implement contract events
* update runtime
* renaming
* update test code hash
* improve complexity details
* add deposit event base cost
* add test
* Revert "add deposit event base cost"
This reverts commit 58ec010c0f4f4f0e16935ad41da32aedd17a8c57.
* update test
* Revert "update test"
This reverts commit 6fe61a593ccf0d41f09a0b97472b28ed8751a999.
* Revert "Revert "add deposit event base cost""
This reverts commit 145e8a9bac15313a4c380aa66b94fd4d36fa3f6d.
* Fix format a bit
2019-04-03 08:20:01 +02:00
Jordan Beauchamp
fb0f4dfb03
Expose block random seed and timestamp to contract ABI ( #1630 )
...
* Expose block random seed and timestamp to contract ABI
* Add tests
* Bump spec version
2019-02-07 10:58:02 +01:00
Sergei Pepyakin
025bcdda0f
srml-contract: ext_caller follow-up ( #1266 )
...
* s/account ID/address
* Add a note about CODE_CALLER
* Comment tests.
2018-12-13 18:20:40 +01:00
Sergei Pepyakin
ce91da6b89
srml-contract: introduce ext_caller external function ( #1255 )
...
* Implement ext_caller.
* Rebuild wasm.
* Update COMPLEIXTY.md
2018-12-12 14:00:21 +01:00
Luke Schoen
037f9dde10
docs: Extends #999 . Remove disused package readmes. Rename to sr-metadata. Fix Readme Rustdoc names ( #1016 )
...
* docs: Remove safe-mix since is no longer local dependency
* docs: Fix existing packages link. Still only includes Substrate Core
* docs: Remove empty package Readmes. Remove old docs links. Rename to Readme
* docs: Remove link to old docs
* misc: Merge latest from master. Renaem to sr-metadata. Fix list of RustDoc package names
* Rename substrate-metadata to sr-metadata, since it is in the "srml" subdirectory
* Change example to use package name that opens all packages in RustDocs
* Fix list of packages names that are available to open in RustDocs
* fix typo
* fix ordering of CLI options and add missing backslash
2018-11-12 21:18:06 +01:00
Sergey Pepyakin
1f0f3c8f6b
srml-contract: Extract schedule ( #1044 )
...
* Rename Config → Schedule.
* Fetch and pass config.
* Integrate config everywhere.
* <<<E as Ext>::T as Trait> → <<E::T as Trait>
* Update roots
* Cache existential_deposit
* Update COMPLEXITY.md
* Update roots.
2018-11-12 20:44:05 +01:00
Sergey Pepyakin
05a73de366
Refine Complexity.md ( #1038 )
2018-11-01 09:30:32 +01:00
Sergey Pepyakin
89fd3a78d5
Contracts: COMPLEXITY.md ( #905 )
...
* Initial sketch.
* More work.
* Grammar.
* Fix.
* Fix grammar.
2018-10-17 17:47:55 +02:00