* decl_module and extract runtime mod
* Invert dependency staking←→contract
* Remove CodeOf
* Remove StorageOf and move double_map
* Comment staking test
* Clean
* Add gas_price and gas_limit
* Commit.
* Renames
* Params
* WIP
* Rename transfer to call
* WIP
* Rebuild binaries.
* WIP
* Backport ctro changes
* Call wiring
* Commit overlay.
* Rename merge → commit, into_state → ..._change_set
* WIP
* Contract creation routines
* Set code of the created account.
* Fix the ID of `create` Call
* Fix most of the warning.
* Add the simplest test in the contract crate
* Transfers work!
* Add contract_create test.
* Clean
* Add top-level create test
* Clean a bit.
* Pass gas_limit and data via create.
* Introduce OnAccountKill callback in staking
* Hook up OnAccountKill
* Comments
* Pay for gas.
* Refund unused gas in call
* Tests for zero call and zero endownment.
* Add todo about rewriting docs
* Pay for gas in create transactions
* Fix refunds
* Clean unrelevant comments
* fixup! Fix refunds
* fixup! Clean unrelevant comments
* Move DetermineContractAddress to contract
Also restore account removal test
* fixup! Clean unrelevant comments
* Inline effect_transfer, remove effect_create
Remove account_db!
* Use own new_test_ext.
* Don't account for liability
* Add some docs
* Move contract_fee into contract module
* Take GasMeter in vm::execute
* Use GasMeter throughout contract module for meter
* gas module refactoring
* Clean
* Add base call fee
* note about gas price should be taken from storage
* Add base fee for create
* Rename send → call
* Clean
* Take fee expressed in dots in gas
* Add Checked{Add,Sub,Mul,Div} to SimpleArithmetic
* Make Gas generic
* Store {call,create}_base_fee in storage
* Clean
* Rename buy_gas
* Store gas_price in the storage
* Remove unneeded comment.
* Bail out if contract already has code.
* Todos
* Refund even if top-level contract fails.
* Fix error msg
* Fix caller issue
* Extract tests module
* Add max_depth var in storage
* Remove left over gas_left
* Refactor exec
* Add test oog test.
* set_free_balance_creating
* Docs and comments.
* Update storage roots because of ContractFee move
* Rebuild binaries.
* Simplify vm code.
* Wrapping.
* Refactor a bit.
* Typo
* UpdateBalanceOutcome enum
* Style grumbles.
* Rebuild binaries.
* Always consume the given amount of gas.
* [skip ci] endownment → endowment
* Rename `AccountId` generic in on_account_kill
* Fix Cargo.lock
* Refine docs for gas meter.
* [skip ci] Add comments for gas module
* Directly assign to `return_data` at declaration
* Use slices instead of vecs to pass the input data
* Add todo about passing return data without copy
* Use checked_add instead of add with overflow
* Use return_data directly.
* Rebuild binaries.
* Rebuild binaries.
* Moved chain ops to substrate-service
* moved RPC to susbstrate-service WIP
* Moved RPC to substrate-service
* Version
* Removed redundadnt messages
* substrate CLI
* Removed obsolete files
* Sorted out startup messages
* Pass executable name to CLI
* Simplify cli parsing: remove unnecessary match for Version and help: e.exit() manages both for us already
* Allow passing of IP:PORT as bootnodes, then try to discover its PEER_ID
* Make telemetry less susceptible to flakey wifi
* Update readme
* Staging shouldn't autoconnect to telemetry
* Don't try to output more than 1KB of hex to Display
* Better logging of transactions
* Grumbles
* off-by-one
* skeleton of collators object
* awaiting and handling collations. rename `collators` to CollationPool
* add some tests
* add tests
* implement Collators trait for ConsensusNetwork
* plug collators into main polkadot-network
* ignore collator role message
* add a couple more tests
* garbage collection for collations
* extract session-key tracking from consensus
* add local_collations.rs
* finish polish of local_collations
* integrate local_collations into network layer
* introduce API for adding local collations
* mostly finish collator implementation pending service fix
* Specialized network()
* push collations to the network
* grumbles
* substrate-service has custom configuration
* initialize network in collator mode as necessary
* Final tweaks for PoC-2 runtime upgrade
* Address grumble
* Avoid slow wasm
* New poc-2-era bootnodes
* Fix warning
* Typo
* Fix for allocation in wasm
* Fix & runtimes.
* PoC-1 should be default.
* Name testnet Krumme Lanke, update README
* YML update
* Use the right port
* Fix warnings in libp2p
* Force a reason when you use the fatalist disable_peer
* Print more information
* Slightly more concise ref-fu
* Tracing for figuring out what's going into genesis
* Merge
* Fxi test
* make spec.name() part of database_path preventing collisions
resolves#279
* add `id` field to `ChainSpec`
* add blank line for readability
* dot/cli: use spec_id in db_path
* dot/cli: make spec_id part of keystore_path
* dot/cli: make spec_id part of network_path
* add id field to poc-1.json chain spec
* dot/cli: spec_id -> chain_id
* Substrate service
* Splitting polkadot service
* Specialised components
* Specialised components
* Docs and style
* Docs and style
* Final touches
* Added db key assertion
* skeleton of collators object
* awaiting and handling collations. rename `collators` to CollationPool
* add some tests
* add tests
* implement Collators trait for ConsensusNetwork
* plug collators into main polkadot-network
* ignore collator role message
* add a couple more tests
* garbage collection for collations
* ensure disconnected backup collator is removed from pool
* address other grumbles
* runtime: refactor Checkable and BlindCheckable traits
* fix impl BlindCheckable for Extrinsic
* fix impl Checkable for TestXt
* fix impl Checkable for UncheckedExtrinsic
* fix tabs
* add ::Address to system::Trait since its no longer in Checkable trait
* replace tab by space in comment
* replace occurences of Checkable::check with ::check_with
* tx-pool: replace CheckedIntrinsic type alias since it now would require type param
* make more uses of Checkable compile
* adapt Executive impl to new Checkable trait
* fix that CheckedExtrinsic takes AccountId not Address as first type param
* Checkable trait: return error again since it's required in some cases
* Checkable: improve docstrings
* consistent punctuation and capitalization in docstrings
* Ctx -> Context
addresses https://github.com/paritytech/polkadot/pull/287#discussion_r200956240
* reduce trait bounds for impl Checkable for TestXt
addresses https://github.com/paritytech/polkadot/pull/287#discussion_r200839303
* use <UncheckedExtrinsic as Checkable>::Checked
addresses https://github.com/paritytech/polkadot/pull/287#discussion_r200955165
* Revert "add ::Address to system::Trait since its no longer in Checkable trait"
This reverts commit 02eb103015b833c995c9f9067aac2542bb7ce5ea.
* runtime/executive: properly fix that Address no longer in Checkable
* return `Result<Self::Checked, &'static str>` from `Checkable::check`