Denis Pisarev
02bf5acf6c
docs: undebug docs build ( #569 )
2021-08-10 12:12:54 +00:00
Denis Pisarev
0c39e49aaf
docs: optimize docs build ( #568 )
2021-08-10 12:00:25 +02:00
Denis Pisarev
6cb0544001
CI: fix gh doc publishing ( #567 )
...
* CI: fix gh doc publishing
* CI: it needs nightly
* CI: add wasm32 target
* CI: return to running on master
2021-08-09 19:52:32 +02:00
Gavin Wood
b3c38f0926
Companion to #9514 (Remove Filter and use Contains instead) ( #566 )
...
* Remove Filter and use Contains instead
* Fixes
* Remove patch
* Bump Polkadot
* bump
2021-08-09 18:07:37 +02:00
Joshy Orndorff
6637471fb4
Publish rustdocs to github pages ( #562 )
...
* Publish rustdocs to github pages
* @TriplEight 's suggestions from code review
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io >
2021-08-09 17:00:32 +02:00
Bastian Köcher
8307255697
Disable integration tests outside of CI ( #565 )
2021-08-07 23:03:12 +02:00
Gavin Wood
6283c1fce9
Support XCM v1 (Companion to #2815 ) ( #561 )
...
* support for XCM v1
* Fixes
* Fix.
* Use `xcm::latest`
* Bump Polkadot
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-08-06 19:13:33 +00:00
Bastian Köcher
4f936689ef
Update Substrate & Polkadot ( #563 )
2021-08-05 20:53:32 +02:00
Shaun Wang
47b368ea5c
Polkadot companion (XCM-simulator) ( #560 )
...
* Use definitions from polkadot.
* Remove unused imports.
* Rerun CI.
2021-08-05 08:43:51 +02:00
Bastian Köcher
53c5340eff
Log pov size as info ( #558 )
2021-08-03 21:52:41 +02:00
Bastian Köcher
71ed6b272c
Update Substrate & Polkadot ( #557 )
...
* Update Substrate & Polkadot
* Format
* Update again
2021-08-03 11:59:37 +02:00
Chevdor
2fd51bd915
ci: reduce the list of events triggering matrix messages ( #547 )
2021-07-30 23:56:56 +02:00
Bastian Köcher
f5de2f93af
Update Substrate & Polkadot ( #551 )
...
* Update Substrate & Polkadot
* Update client/service/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* Update client/service/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-07-27 22:42:39 +02:00
Chevdor
49b72cdee6
ci: upgrade subwasm ( #550 )
2021-07-27 13:04:33 +02:00
Denis Pisarev
3883f73391
CI: build a test artifact ( #527 )
...
* CI: build a test artifact
* CI: try building before testing
* CI: try proper bin name
* CI: preempty cache to benchmark properly
* CI: run build after test
* CI: change target source
* CI: try build before test once again
* CI: chore
* CI: prepopulate target cache
* CI: conditional build; aws sync
* CI: mock building to test publishing
* CI: lacks permissions in the other job
* CI: undebug
2021-07-23 17:06:57 +02:00
tgmichel
6f47b85db1
Add rpc_http_threads ( #548 )
2021-07-23 10:07:31 +00:00
Bastian Köcher
3462a4b7fa
Do not set best block when there already exists a best block with an higher number ( #544 )
...
* Do not set best block when there already exists a best block with an higher number
* Apply suggestions from code review
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
statemine_v2
2021-07-21 16:21:52 +02:00
Bastian Köcher
594f2f4347
Update Substrate & Polkadot ( #540 )
2021-07-20 16:11:56 +02:00
André Silva
b89037bd82
bump spec version of statemine and westmint ( #539 )
2021-07-16 10:23:00 +02:00
Shawn Tabrizi
954f85a85c
Add Uniques to Westmint and Statemint ( #493 )
...
* Add uniques to westmint and statemint
* update cargo
* Update Cargo.lock
* Update lib.rs
* fix merge
* Apply suggestions from code review
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
* fix build
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: joepetrowski <joe@parity.io >
2021-07-15 16:51:31 +02:00
Gavin Wood
c905b56303
Enable permissionless asset creation ( #476 )
...
* Enable permissionless asset creation
* Fixes
* Fixes
* Update polkadot-parachains/statemine-runtime/src/lib.rs
Co-authored-by: Joshy Orndorff <JoshOrndorff@users.noreply.github.com >
* update Cargo.lock
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io >
Co-authored-by: Joshy Orndorff <JoshOrndorff@users.noreply.github.com >
Co-authored-by: joepetrowski <joe@parity.io >
2021-07-15 16:51:14 +02:00
Shawn Tabrizi
a3c33fd31d
make parachain system config consistent ( #538 )
2021-07-14 23:44:39 -04:00
Keith Yeung
303b194f4a
Properly declare #[pallet::validate_unsigned] in ParachainSystem ( #537 )
...
* Properly declare #[pallet::validate_unsigned] in ParachainSystem
* Add ValidateUnsigned to construct_runtime in ParachainSystem tests
2021-07-14 21:26:34 -04:00
Sergei Shulepov
59cdbb6a56
Update Polkadot and Substrate ( #528 )
...
One breaking change:
- https://github.com/paritytech/substrate/pull/9209
2021-07-07 11:43:12 +00:00
Chevdor
9481c708d1
chore: upgrade srtool-actions and subwasm ( #526 )
...
- add builds for "statemint", "rococo", "shell"
- switch to chevdor/srtool-actions@v0.3.0 which default the new srtool image from paritytech/srtool
- bumps up the version of subwasm
- cleanup
- ability to start builds on-demand
2021-07-07 09:34:01 +02:00
Shaun Wang
f119e39033
Fix xcmp message processing condition. ( #510 )
...
* Fix xcmp message processing condition.
* add a very simple test
* Update Cargo.lock
* remove comment
* remove comment
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com >
2021-07-06 16:35:59 +02:00
Bastian Köcher
a2a97be872
Bring back runtime upgrade test ( #525 )
...
This brings back the runtime upgrade test and also updates Substrate &
Polkadot.
2021-07-06 16:21:19 +02:00
Bastian Köcher
d0b57c1ad4
Update Substrate & Polkadot ( #523 )
2021-07-05 23:35:28 +02:00
Bruno Škvorc
2384feb071
Propose bumping StringLimit to 128 bytes ( #516 )
...
* Propose bumping StringLimit to 64 bytes
The StringLimit of 50 bytes is too short for useful hashes of different protocols:
- When using IPFS, the hash is 46 bytes. With a protocol prefix and type prefix (IPFS vs IPNS) it becomes: `ipfs://ipfs/QmPK1s3pNYLi9ERiq3BDxKa4XosgWwFRQUydHUtz4YgpqB` or 59 bytes.
- On arweave, the hash is 43 bytes. Prefixed with just `arweave://` bumps it up to 53: `arweave://BNttzDav3jHVnNiV7nYbQv-GY0HQ-4XXsdkE5K9ylHQ`.
- On Sia, with 46 char hashes, adding `sia://` as the protocol to use will bump it past 50: `sia://GACjmEWXmYF1N3Rc-PyjN304-8M0zOXHYzAXY9222xkGhA` (52)
As such, we feel that 64 bytes is a reasonable minimum for the `StringLimit`.
* Update lib.rs
* Add different const for `UniquesStringLimit`
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-07-02 10:30:01 +02:00
Sergei Shulepov
3d636b9820
Update Substrate & Polkadot ( #519 )
...
* Update Substrate & Polkadot
* Basti improvements
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-06-28 20:38:28 +00:00
Xiliang Chen
f878c49de5
add RelaychainBlockNumberProvider ( #515 )
...
* add RelaychainBlockNumberProvider
* add docs
2021-06-28 14:45:09 +02:00
Chevdor
35738c7325
Refactor paths and runtime names ( #507 )
...
chore: refactor for consistant naming of the crates and paths of the runtimes
* tests: ignore folder created by the tests
* chore: refactoring
* Update polkadot-parachains/Cargo.toml
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-06-28 14:24:03 +02:00
Joshy Orndorff
1bb5e2ae4b
Adds a mock provider for the parachain inherent ( #484 )
...
* Bring in code from moonbeam
* move it to mock.rs
* Actually build it 🤦
2021-06-23 10:37:50 +02:00
zjb0807
0aa7880ffe
Fix CandidateRemoved event ( #503 )
2021-06-22 18:59:54 +02:00
JesseAbram
6c688ce9c2
min collator check ( #498 )
...
* min collator check
* change statemint/mine min candidates
* Ci pass
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update pallets/collator-selection/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Apply suggestions from code review
* build fixes
* add error messages to errors
* added validator register check
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-22 18:59:14 +02:00
Shawn Tabrizi
d8cd07b610
fix rename ( #502 )
2021-06-20 13:38:03 +02:00
André Silva
f996d1fac8
use max_block_proposal_slot_portion ( #499 )
...
* use max_block_proposal_slot_portion
* remove patch now that Substrate PR is merged
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2021-06-20 11:05:08 +00:00
Shawn Tabrizi
70b39acf94
Fix Max Block Weight ( #501 )
...
* fix max block weight
* fix milli per block too
2021-06-19 14:47:05 +02:00
cheme
5e8933fbca
ensure early drop of proof memory. ( #500 )
2021-06-18 19:29:42 +02:00
Bastian Köcher
c6edbdb119
Update Polkadot & Substrate ( #497 )
2021-06-17 11:18:30 +02:00
Sergei Shulepov
fe21865d12
WIP: Update Substrate & Polkadot ( #496 )
...
* WIP: Update Substrate
* Update Substrate & Polkadot
* fixes
* more fixes
* few missing origins
* use spawn_essential_handle
* bump polkadot dep
* remove newlines
* fix test
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-17 09:37:03 +02:00
Shawn Tabrizi
7d6f46bbde
Remove All Assets and Uniques from NonTransfer Proxy ( #486 )
...
* remove all assets and uniques from `NonTransfer` proxy
* fix merge
2021-06-16 23:02:38 +00:00
Bastian Köcher
36c3438c74
Rename pallet-session-benchmarking crate ( #495 )
...
This is required to support patching Substrate, as otherwise there are
two crates with the same name.
2021-06-16 12:53:42 +02:00
Bastian Köcher
d3b4279f14
Adds support for checking the timestamp inherent while validating a block ( #494 )
...
* Adds support for checking the timestamp inherent while validating a block
This adds support for checking the timestamp inherent while validating a
block. This will use the relay chain slot number * relay chain slot
duration to calculate a timestamp. This timestamp is used to check the
timestamp in the timestamp inherent.
* Update polkadot-parachains/rococo-runtime/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update polkadot-parachains/statemine-runtime/src/lib.rs
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
* Update primitives/timestamp/src/lib.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Fix warnings
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2021-06-16 10:53:47 +02:00
Bastian Köcher
a84f7866f5
Make sure system tests are checking for the correct result ( #491 )
2021-06-13 12:23:13 +02:00
Bastian Köcher
d54fdd788e
Bring support for calling check_inherents ( #490 )
...
* Start
* More work
* Add proc-macro for `validate_block`
* Make everything compile
* Add some test
2021-06-12 20:21:46 +02:00
Bastian Köcher
2f88be0874
Use polkadot-client instead of polkadot service where possible ( #489 )
2021-06-11 12:56:14 +02:00
Guillaume Thiolliere
11a0bca6d7
update substrate/polkadot with construct_runtime changes ( #485 )
...
* update substrate/polkadot with construct_runtime changes
* fix update
* Fixes
* More fixes
* fix test, but might be wrong fix
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-06-10 17:50:09 +02:00
Chevdor
9ff72525d9
feat(ci): update runtime build workflow ( #471 )
...
* feat(ci): update runtime build workflow
- switch to a tag for the chevdor/srtool-actions
- trigger to only tags & ignore folders not involved in the runtime
- add weekly build schedule
- add timestamp to the artifacts
2021-06-10 17:28:29 +02:00
JesseAbram
a7b44a9eff
Add session weight ( #477 )
...
* session weight
* decouple session benchmarking and collator selection
* removed mock
* licensing
* benchmarking script
* set benchmarking into runtime
* Update scripts/benchmarks.sh
* real weights
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-06-08 13:24:19 +02:00