Commit Graph

452 Commits

Author SHA1 Message Date
yjh ecfea4536f wasm_executor: fix wasm signature checker (#471)
Signed-off-by: yjhmelody <465402634@qq.com>
2019-10-10 13:49:25 +02:00
Bastian Köcher cb4875ec81 Make ParachainContext take self as mutable (#458)
This replicates changes to `Environment`/`Proposer` that are used
internally at Cumulus.
2019-10-08 17:41:52 +02:00
Bastian Köcher dd0009a006 Fix compilation in wasm (#465)
Also fix the weird file structure by making `wasm_executor.rs` ->
`wasm_executor/mod.rs`.
2019-10-08 17:40:48 +02:00
André Silva 9c7845b824 Update latest substrate master (#462)
* update substrate to latest polkadot-master

* fix test runtime
2019-10-08 08:44:29 +02:00
thiolliere 9d3dd691b6 update (#457) 2019-10-03 12:52:41 +02:00
Bastian Köcher 6a7956b45e Enable substrate-session std feature and remove unused traits (#456) 2019-10-01 10:46:54 +02:00
Talha Cross 3e78d326a4 docs: add security policy (#450)
* docs: add security policy

* Update SECURITY.md

Co-Authored-By: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
2019-09-30 14:39:24 +02:00
joe petrowski e9bfafc235 update readme for cc2 (#453) 2019-09-30 11:32:05 +02:00
ddorgan d82f459543 Kusama CC2 spec (#449) 2019-09-26 12:27:38 +02:00
thiolliere ba31727ddd lock (#446) 2019-09-24 18:04:29 +02:00
André Silva ec828175d8 grandpa: set justification period to 512 blocks (#445) 2019-09-24 17:29:47 +02:00
André Silva 821a59ca8d add authority discovery module (#444) 2019-09-24 15:31:27 +02:00
Bastian Köcher 4f4baa9b07 Update to lastest Substrate master (#443) 2019-09-24 13:09:30 +02:00
thiolliere 444a19ec5f update substrate (#442) 2019-09-23 16:25:14 +02:00
Bastian Köcher 21cb1e9f45 Switch to wasm-builder 1.0.7 (#441)
* Switch to `wasm-builder` 1.0.7
2019-09-23 12:38:38 +02:00
Gavin Wood 0b0a42b717 Crowdfund parachain deposit (#315)
* Initial crowdfund stuff

* Make `communication_for` exit when we end a round (#313)

* Make `communication_for` exit when we end a round

* Fix compilation

* Add file

* Rest of logic.

* Consts to Getters

* Cleanups

* Trying to get things to compile

* More patchwork

* Patch dissolve

* Patch `fix_deploy_data`, add getters to `NewBidder`

* Dispatchable functions compile... with warnings

* Fix some warnings and typos

* Whitespace to Tabs

* Update to use `into_sub_account`

* Add events

* Basic fixes to runtime logic and checking

* Check that auction in progress when creating

* Automatically assign end for crowdfund

* Update runtime/src/crowdfund.rs

Co-Authored-By: Amar Singh <asinghchrony@protonmail.com>

* Update runtime/src/crowdfund.rs

Co-Authored-By: Amar Singh <asinghchrony@protonmail.com>

* Update runtime/src/crowdfund.rs

Co-Authored-By: Amar Singh <asinghchrony@protonmail.com>

* Update crowdfund.rs

* Patch `NewRaise` logic

* Test compiles

* Make `NewRaised` logic even better

* Fix trie id generation, start to add some tests

* More tests

* Add more tests

* Finish tests

* Formatting nits

* Use `into_iter`

* Fix for latest Substrate updates

* Cleanup

* Fixes.

* Copyright header.

* Remove dead code.

* Reinstate actually alive code.

* Fix tests

Still have to write some new follow up tests though

* Make funds work before auction

* Test a fund which spans 2 auctions.

* Docs.

* Update doc
2019-09-17 18:22:34 +08:00
Gavin Wood 99c6d600c4 Substrate.from() (#431)
* Update branches

* Bump runtime.

* Update again.
2019-09-13 15:27:41 +02:00
gabriel klawitter cccfdee49b ci: build-linux-release fix missing bracket (#434) 2019-09-12 14:48:39 +02:00
gabriel klawitter 524890c335 ci: build kusama-nightly-staging and trigger deployment (#430)
* trigger pipeline in github-api for polkasync

* update polkadot branch name for replacement

* deployment: update project
2019-09-12 14:12:25 +02:00
Gavin Wood 28e23d07ef Substrate.from() (#426)
* Substrate.from()

* Fix some transaction validation code

* must be more specific for matching now.

* Update `wasm-builder` and add `build-only-wasm` script

* Update to latest service builder interfaces

* ANother substrate update

* Another update
2019-09-11 13:14:20 +02:00
thiolliere 5590ba2fbe forward ported version bump (#418) 2019-09-04 12:47:25 +02:00
gabriel klawitter b3b511c974 Disable merge test enable kusama nightly staging test (#412)
* remove merge-test and set up kusama-nightly-staging

* refactor .gitlab-ci.yml

* kusama-nightly-staging typo i

* kusama-nightly-staging typo and cond --locked
2019-09-03 23:29:40 +01:00
郭光华 512ca35c62 Typo (#417) 2019-09-03 10:29:09 +02:00
thiolliere 8c38f05517 Update substrate master (#411)
* in progress impl

* im_online authorityid

* fix

* fix

* use polkadot-master

* trigger CI

* trigger CI

* fix removal

* storage reorganize included

* lock version
2019-09-02 16:05:51 +02:00
Robert Habermeier 55c4c830fe ICMP message-routing gossip (#304)
* core logic for ICMP gossip

* refactor gossip to make more extension friendly

* move files aroun

* extract attestation-gossip logic to its own module

* message validation and broadcast logic

* fix upstream crates' compilation

* add a test

* another test for overlapping

* Some grammar and phrasing tweaks

Co-Authored-By: Luke Schoen <ltfschoen@users.noreply.github.com>

* add since parameter to ingress runtime API

* broadcast out known unrouted message queues

* fix compilation of service and collator

* remove useless index_mapping

* some tests for icmp propagation

* fix decoding bug and test icmp queue validation

* simplify engine-id definition

Co-Authored-By: Sergei Pepyakin <sergei@parity.io>

* address some grumbles

* some cleanup of old circulation code

* give network a handle to extrinsic store on startup

* an honest collator ensures data available as well

* address some grumbles

* add docs; rename the attestation session to "leaf work"

* module docs

* move gossip back to gossip.rs

* clean up and document attestation-gossip a bit

* some more docs on the availability store

* store all outgoing message queues in the availability store

* filter `Extrinsic` out of validation crate

* expunge Extrinsic from network

* expunge Extrinsic from erasure-coding

* expunge Extrinsic from collator

* expunge from adder-collator

* rename ExtrinsicStore to AvailabilityStore everywhere

* annotate and clean up message-routing tests
2019-08-29 11:49:59 +02:00
Pierre Krieger bd8ebbfee5 Update to latest Substrate (#407)
* Update to latest Substrate

* Fix main.rs
2019-08-27 15:50:24 +02:00
Chevdor 7612b7b56e Better filter to speed and reduce the size passed to the first stage image (#405) 2019-08-25 08:59:34 -07:00
Gavin Wood 974b400020 Update substrate (#404) 2019-08-24 20:41:16 +02:00
Gavin Wood 6c4ac65f5f Spelling and update (#402) 2019-08-24 18:58:20 +02:00
Logan Saether a554e72e91 Add Kusama to the README (#399) 2019-08-24 13:42:15 +02:00
Gavin Wood ccfa2b1828 Bump all versions to 0.6.0 (#397) 2019-08-24 13:40:57 +02:00
Gav Wood 4ee086f80a Bump runtime version 2019-08-24 03:06:08 -07:00
Gavin Wood 9011168ee1 Fix up bonding period. (#396) 2019-08-24 12:04:16 +02:00
Arkadiy Paronyan 908473c26b Allow parallel parachain validation (#370)
* Allow parallel parachain validation

* Fixed test interference

* Switch to pooled implementation

* Apply suggestions from code review

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* Update validation_host.rs

* Minor cleanups

* Fixed build
2019-08-24 11:52:00 +02:00
Gavin Wood 7ae4f606c1 Kusama CC1 chain spec(!) (#395)
* CC-1 chain spec

* Name tweak
2019-08-23 12:14:34 +02:00
Jaco Greeff 9a32065c74 Add networkId to Kusama chain spec (#393)
* Add networkId to Kusama chain spec

* ss58Format
2019-08-21 17:24:48 +02:00
Gavin Wood 823aaabb60 Tweak treasury params (#392)
* Tweak treasury params

* Revert clobber
2019-08-21 16:47:08 +02:00
Robert Habermeier 7d78d9ace6 pay out slashes to the treasury (#391) 2019-08-20 18:33:14 +02:00
Federico Gimenez 2a78213040 fix Dockerfile (#386) 2019-08-20 15:09:23 +02:00
André Silva ac672a7881 runtime: disable grandpa offline fallback (#390) 2019-08-20 14:14:28 +02:00
Gavin Wood 6bcb0e57bf Update substrate and add some sensible values (#387)
* Update substrate

* Update substrate and some chain spec

* Undo old change

* Use hex ser/de for ethereum addresses

* Add docs.

* Accidental line

* incorrect fix

* Fix build
2019-08-20 13:29:05 +02:00
Pierre Krieger fdd014b862 Bump multistream-select to fix a debug_assert! (#389) 2019-08-20 13:16:06 +02:00
Gavin Wood ee630db943 Runtime version affinity enabled in transactions. (#384)
* Update to latest substrate

* Update lock

* Introduce tx version check

* Move to release constants

* fixes

* More updates

* More fixes
2019-08-19 09:18:03 +02:00
Robert Habermeier 742730c865 error variant for failed deadline compute in validation worker (#383)
* error variant for failed deadline compute

* fix compilation
2019-08-18 17:12:46 +02:00
Gavin Wood e6fb85a203 Move sudo to the last module (#381) 2019-08-18 15:36:36 +02:00
Gavin Wood cdefa9f9ad Enable session module during PoA (#380) 2019-08-17 19:13:06 +02:00
Gavin Wood 406aad0f9b Blocktime and epoch length tweaks. (#379)
* Blocktime and epoch length tweaks.

* Tweak probabilities.

* Deduplication.

* Add testnet values.
2019-08-16 21:48:42 +02:00
Bastian Köcher da39da8a04 Fix service setup for non-validator nodes (#378)
* Fix service setup for non-validator nodes

* Apply suggestions
2019-08-16 20:10:58 +02:00
Gavin Wood 2c6409a942 Update to latest Substrate (#377)
* Update to latest substrate

* Propagate substrate#3225

* Fixes

* Build

* Fix
2019-08-16 17:56:56 +02:00
Federico Gimenez 1054a531b5 non-root user for running node in Dockerfile (#369) 2019-08-16 13:42:37 +02:00