Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Iris upgrade #49

Merged
merged 704 commits into from
May 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
704 commits
Select commit Hold shift + click to select a range
929cf10
Make some UI test expectations crisper (#10791)
KiChjang Feb 4, 2022
7cb0e76
contracts: `is_contract(address)` and `caller_is_origin()` are added …
agryaznov Feb 4, 2022
36c38fb
maybe_total_supply in pallet-assets (#10799)
girazoki Feb 5, 2022
7e643ce
Referenda and Conviction Voting pallets (#10195)
gavofyork Feb 6, 2022
dc4cf6c
More efficient WASM instance memory decommit on macos (#10801)
arkpar Feb 7, 2022
0e9b6e4
make inner field of IdentityFields pub (#10773)
nanocryk Feb 7, 2022
57bf92e
Corrected description of clear_attribute extrinsic (#10729)
SupremaLex Feb 7, 2022
2b14c83
block validators after X sessions, update mock runtime for test
driemworks Feb 8, 2022
c8bef76
sp-maybe-compressed-blob: reduce boilerplate code (#10814)
koushiro Feb 8, 2022
aa7a756
`seal_delegate_call` api function (support for library contracts) (#…
yarikbratashchuk Feb 8, 2022
1532b72
Add Storage Info to Various Pallets (#10810)
shawntabrizi Feb 8, 2022
8c4002f
fixed regression in inline docs (#10819)
takahser Feb 8, 2022
9b5b572
try-runtime-cli: Add to docs (#10822)
emostov Feb 8, 2022
4eb7758
Bump serde from 1.0.132 to 1.0.136 (#10816)
dependabot[bot] Feb 8, 2022
934e0c0
uodate tests, ipfs tests failing
driemworks Feb 9, 2022
8a1b870
--dev implies --tmp (#10828)
shawntabrizi Feb 9, 2022
e9d79da
Add a new host function for reporting fatal errors; make WASM backtra…
koute Feb 9, 2022
e8f68c8
fix merge conflict
driemworks Feb 9, 2022
1539807
specify ipfs version, update tests
driemworks Feb 9, 2022
3aecef7
Add db params for export-state CLI command (#10830)
arkpar Feb 9, 2022
70bd356
update tests, cleanup
driemworks Feb 10, 2022
8b2f537
Allow `SetBalance` to handle error when trying to kill acount with re…
shawntabrizi Feb 10, 2022
9a6d706
UncheckedExtrinsic: Harden decode and clarify `EXTRINSIC_FORMAT_VERSI…
bkchr Feb 10, 2022
6c20860
fix typo
driemworks Feb 10, 2022
27b8806
pallet-staking: Add extrinsic `force_apply_min_commission` (#10786)
emostov Feb 10, 2022
665fc06
Upgradable contracts using `set_code` function (#10690)
yarikbratashchuk Feb 11, 2022
bc8968f
Separate wasmi and wasmer sandbox implementations into their own modu…
0x7CFE Feb 11, 2022
1986d9a
Show Network ID when creating and inspecting (#10838)
yanganto Feb 11, 2022
c3ebcf1
Reduce overhead of generating network event metrics (#10839)
koute Feb 11, 2022
a902064
Fix reentrancy of FrozenBalance::died hook (#10473)
ggwpez Feb 11, 2022
22ed351
allow trailing comma (#10841)
TarekkMA Feb 11, 2022
66b9c36
build-script-utils: allow reading the git commit hash from env var (#…
andresilva Feb 11, 2022
0a92e3e
Don't create DB leaves when syncing historic blocks (#10844)
arkpar Feb 11, 2022
aff6731
cleanup, use unsigned tx when appropriate
driemworks Feb 12, 2022
8ad1f3b
add weights
driemworks Feb 12, 2022
2d8b02a
fix broken link (#10846)
takahser Feb 13, 2022
700218c
subkey: Support `--version` cli command (#10853)
bkchr Feb 14, 2022
0ac1a00
Remove `u32_trait` (#10850)
bkchr Feb 14, 2022
4bc2af1
wasm-builder: Support latest nightly (#10837)
bkchr Feb 14, 2022
c269b8a
update tests, remove unneeded params
driemworks Feb 15, 2022
bedaaf3
min authorities check before removal
driemworks Feb 15, 2022
dd8a868
contracts: Fix `seal_call` weights (#10796)
athei Feb 15, 2022
fd2c397
Enable the `parking_lot` feature for `tokio` (#10855)
koute Feb 15, 2022
b359b49
[ci] fix publish-rustdocs (#10858)
alvicsam Feb 15, 2022
9d96262
Fix beefy mock ecdsa keys (#10854)
davxy Feb 15, 2022
b9927cd
Mark sync_state_genSyncSpec JSON-RPC as safe (#10832)
tomaka Feb 15, 2022
6df64e8
fix merge conflict
driemworks Feb 15, 2022
ba88ea2
Reduce CPU overhead of gossip (#10859)
koute Feb 16, 2022
42eec5b
sp-core-hashing: use the `digest::Digest` trait to handle the hashing…
koushiro Feb 16, 2022
7fa05d4
Use fully qualified sytnax for `retain_mut` (#10865)
0x7CFE Feb 16, 2022
b2f76e2
add llvm (#10864)
zjb0807 Feb 16, 2022
5cdbaa3
refactor election score (#10834)
kianenigma Feb 16, 2022
e6def65
Measure per byte and not kb for certain benchmarks (#10863)
athei Feb 16, 2022
6ab6486
Tidy Democracy (#10867)
shawntabrizi Feb 16, 2022
2c9adf9
cleanup storage maps, cleanup unused imports
driemworks Feb 16, 2022
6af1507
fix merge conflicts
driemworks Feb 16, 2022
36b8970
sc-executor: Improve logging (#10869)
bkchr Feb 16, 2022
e742e25
fix test issues
driemworks Feb 16, 2022
093768b
fix merge conflict
driemworks Feb 16, 2022
e7be15e
Track allowed requests for state/warp sync (#10843)
arkpar Feb 17, 2022
d435ffb
Slots: Ensure that a race betwen finalized and best number is taken c…
bkchr Feb 17, 2022
13495be
Remove old lock file (#10879)
nazar-pc Feb 18, 2022
adc95f0
Further reduce the CPU overhead of networking metrics (#10875)
koute Feb 18, 2022
f72fe05
Introduce `BoundedVec::iter_mut` (#10884)
gavofyork Feb 19, 2022
e01c362
Slots: Log total proposing duration as milliseconds (#10886)
bkchr Feb 20, 2022
917fe49
staking: Clarify reward calc docs (#10890)
emostov Feb 21, 2022
1db34ff
tracing: Adds `init_for_tests` (#10893)
bkchr Feb 21, 2022
b16a721
make submissions pub (#10899)
niklasad1 Feb 22, 2022
b46702e
contracts: Allow stack height metering to be disabled (#10877)
athei Feb 22, 2022
8bb8eff
Rename Uniques Error::Unknown to something more sensible (#10895)
gavofyork Feb 22, 2022
542d587
state-machine: Move all functionality from trie backend to the essenc…
bkchr Feb 22, 2022
46c67a8
staking: Remove `SessionInterface` supertrait (#10901)
emostov Feb 22, 2022
42b2d62
consensus-slots: cleanup SlotDuration config (#10878)
andresilva Feb 22, 2022
0aeb5cc
Merge remote-tracking branch 'upstream/iris' into iris
driemworks Feb 23, 2022
7869b6d
add contracts pallet + rpc to runtime
driemworks Feb 23, 2022
f54e1a2
Replace libsecp256k1 with k256 in FRAME related code (#10883)
davxy Feb 23, 2022
b4ba44d
Clean obsolete BABE's weight data (#10748)
davxy Feb 23, 2022
c48f33d
Factor DB weights out into their own files (#10908)
ggwpez Feb 23, 2022
19460bc
Get rid of unnecessary use of `async-std` in non-test code (#10891)
koute Feb 24, 2022
4544e6d
No longer generate specs with consensus_engine field (#10346)
tomaka Feb 24, 2022
c22fce5
Upgrading parity-scale-codec to v3 (#10825)
wigy-opensource-developer Feb 24, 2022
b8c5b84
sc-cli: Fix bugs after switching to clap3 (#10920)
bkchr Feb 25, 2022
dfe52f7
Storage benchmarking (#10897)
ggwpez Feb 25, 2022
c0d51ec
add transfer assets extrinsic
driemworks Feb 25, 2022
039f2b6
add chain ext
driemworks Feb 26, 2022
970ee80
Minor improvements to `bounded_vec` and `defensive`. (#10873)
kianenigma Feb 26, 2022
bfc6fb4
Replace libsecp256k1 with secp256k1 (#10798)
davxy Feb 26, 2022
8da9ad8
Integrate try-runtime into substrate node template (#10909)
omadoyeabraham Feb 28, 2022
e073c24
doc corrections (#10936)
Feb 28, 2022
79d0475
#10576: generic utility to unsubscribe from broadcast upon drop of th…
RGafiyatullin Feb 28, 2022
66ff3a5
Bring back MaxNominations as a metadata constant (#10947)
kianenigma Feb 28, 2022
1fabe26
chain ext: parse params and call transfer func
driemworks Mar 1, 2022
f90dfc6
Bump futures from 0.3.16 to 0.3.19 (#10930)
dependabot[bot] Mar 1, 2022
8934e6d
Clean up extra_constant renaming. (#10935)
xiankuncheng Mar 1, 2022
919e304
Bump smallvec from 1.7.0 to 1.8.0 (#10949)
dependabot[bot] Mar 1, 2022
b4c188b
new pallet: whitelist pallet (#10159)
gui1117 Mar 1, 2022
d14784f
Release primitive crates (#10937)
ascjones Mar 1, 2022
e75de5f
Update new whitelist pallet to new primitive versions (#10953)
ascjones Mar 1, 2022
0063f74
sp-trie: Switch to thiserror and some other small cleanups (#10954)
bkchr Mar 1, 2022
c6aa320
Only maintain at most 1 `UnlockChunk` per era (#10670)
emostov Mar 1, 2022
a934551
staking: Expose `MaxUnlockingChunks` in metadata as a const (#10958)
emostov Mar 2, 2022
a7a4c68
Allow trailing commas for `bounded_vec!` (#10959)
emostov Mar 2, 2022
f4fb93f
SimpleSlotWorker: Do not implement `SlotWorker` for all types impleme…
bkchr Mar 2, 2022
90b89f8
Bump digest from 0.10.2 to 0.10.3 (#10960)
dependabot[bot] Mar 2, 2022
7a742c6
Bump scale-info from 2.0.0 to 2.0.1 (#10965)
dependabot[bot] Mar 2, 2022
e41027b
Add pr-custom-review config (#10968)
sergejparity Mar 3, 2022
21cadf1
Revise how staking configurations are set (#10955)
hirschenberger Mar 3, 2022
efc2845
Bump libc from 0.2.112 to 0.2.119 (#10967)
dependabot[bot] Mar 3, 2022
574237b
Bump parity-db from 0.3.5 to 0.3.8 (#10970)
dependabot[bot] Mar 3, 2022
15b8fd5
[EPM pallet]: remove `number of signed submissions` (#10945)
niklasad1 Mar 3, 2022
9b5e654
Refactored block body database scheme (#10779)
arkpar Mar 4, 2022
e463356
Deprecate "paritydb-experimental" CLI in favour or "paritydb" (#10975)
arkpar Mar 4, 2022
47bb608
[contracts] Stabilize "seal0" `is_contract` and `caller_is_origin` (…
agryaznov Mar 4, 2022
d5090c6
Trie version migration pallet (#10073)
kianenigma Mar 4, 2022
a8b6a5d
BEEFY and GRANDPA protocol names should use full genesis hash (#10974)
acatangiu Mar 4, 2022
7a6d959
Move weight constants to own mod (#10980)
ggwpez Mar 4, 2022
1ac8f63
add block usage logs to system pallet (#10940)
kianenigma Mar 4, 2022
3f8dea2
update runtime storage, update chain extension
driemworks Mar 5, 2022
8e69505
cleanup chain ext
driemworks Mar 5, 2022
32a4fe0
Fix the undeterministic storage proof recorded for the same execution…
liuchengxu Mar 5, 2022
41acb92
create iris ledger pallet
driemworks Mar 5, 2022
8000e77
ledger funcs in chain ext
driemworks Mar 5, 2022
86f08c1
rename Iris -> IrisAssets, update readmes
driemworks Mar 5, 2022
f6679dd
Minor Uniques pallet improvements and XCM v3 preparations (#10896)
gavofyork Mar 7, 2022
55192ea
election provider support: Update some test only types (#10983)
emostov Mar 8, 2022
8df8d90
Feedback from @XLC for Referenda Pallet (#10991)
shawntabrizi Mar 8, 2022
b36030a
Make bags-list generic over node value and instantiable (#10997)
emostov Mar 9, 2022
1321c6f
sc-finality-grandpa: use the #[from] attriute to remove boilerplate c…
koushiro Mar 10, 2022
5afd5b8
contracts: Add test to verify unique trie ids (#10914)
athei Mar 10, 2022
3d9361d
sp-core: `full_crypto` doesn't imply `std` (#11006)
bkchr Mar 10, 2022
24f3651
Merge branch 'iridium-labs:iris' into iris
driemworks Mar 10, 2022
f5f286d
Remove unused `parent_hash` in `OverlayedChanges::into_storage_change…
liuchengxu Mar 10, 2022
b7eb9a1
iris ledger pallet -> transfer not yet functioning
driemworks Mar 11, 2022
5cc2ef8
sp-api: Don't be dirty (#11015)
bkchr Mar 11, 2022
6bc85d9
unlock and transfer works
driemworks Mar 11, 2022
89fcb3e
Update clap to the latest version (#11017)
bkchr Mar 12, 2022
b797b89
Move scripts used in CI to the new location (#11008)
sergejparity Mar 14, 2022
11403bf
Move `sp-npos-elections-solution-type` to `frame-election-provider-su…
Mar 14, 2022
345e3b1
shell.nix: Update to a newer nightly (#11028)
bkchr Mar 14, 2022
8d456dc
update chain ext
driemworks Mar 15, 2022
99661cb
update naming, formatting, start tests
driemworks Mar 15, 2022
5463591
Update lockfile (#11035)
ggwpez Mar 15, 2022
80a90e7
Additional `benchmark-storage` flags (#11004)
daanschutte Mar 15, 2022
8b26ac9
SharedData: Update locks to mention possible deadlocks (#11034)
bkchr Mar 15, 2022
cc282f8
Stabilize `seal_delegate_call` (#11037)
athei Mar 15, 2022
4d00121
add tests
driemworks Mar 15, 2022
d94ad48
re-enumerate chain ext func ids
driemworks Mar 16, 2022
499acc0
Bump names from 0.12.0 to 0.13.0 (#11047)
dependabot[bot] Mar 16, 2022
027fc06
State migration rpc (#10981)
cheme Mar 16, 2022
805475c
Prevent possible rocksdb-corruption by running benchmark-storage (#11…
hirschenberger Mar 16, 2022
cf69667
Moving `NposSolution` to frame (#11031)
Mar 16, 2022
89682c1
Add execution overhead benchmarking (#10977)
ggwpez Mar 17, 2022
150fea0
sc-rpc-api: Remove unused error variants (#11012)
bkchr Mar 17, 2022
96738a1
Allow `pallet-election-provider` to accept smaller solutions as well …
Mar 17, 2022
8e0dbe7
fix sibmit benchmark in election-multi-phase pallet (#11057)
kianenigma Mar 17, 2022
c15504c
add burn extrinsic
driemworks Mar 17, 2022
4ee156c
fix tests
driemworks Mar 17, 2022
584d987
create Metadata struct
driemworks Mar 17, 2022
d810c15
Revert "create Metadata struct"
driemworks Mar 18, 2022
627ba73
Use Lowercase (#11059)
AurevoirXavier Mar 18, 2022
cdf591a
Expose `ToOwned` (#11060)
AurevoirXavier Mar 18, 2022
2892d23
Bump serde_json from 1.0.74 to 1.0.79 (#11020)
dependabot[bot] Mar 18, 2022
c364008
Bump proc-macro-crate from 1.1.0 to 1.1.3 (#11063)
dependabot[bot] Mar 18, 2022
b1ea7c1
use assets pallet runtime storage to get assset id owner
driemworks Mar 18, 2022
318ec57
use assets pallet to get owner of asset class
driemworks Mar 18, 2022
4c9bf00
some additional utils for state-trie-migration (#11064)
kianenigma Mar 19, 2022
8cbda80
Incorporate the new electing/electable naming into the code (#10956)
kianenigma Mar 19, 2022
b64647c
Refactor WASM module instantiation (#10480)
koute Mar 19, 2022
babf752
Add github issue form templates (#11061)
nuke-web3 Mar 19, 2022
81d253e
Bump cargo_metadata from 0.14.1 to 0.14.2 (#11066)
dependabot[bot] Mar 19, 2022
6506784
sc-consensus-aura: Remove obsolete dependency (#11074)
bkchr Mar 19, 2022
4ad6445
pallet-whitelist: add sp-api/std to std feature to fix compile error …
koushiro Mar 21, 2022
28eaae5
add MaxEncodedLen trait to Time (#11078)
zqhxuyuan Mar 21, 2022
5917c0e
pallet-macro: Ensure that building with `missing_docs` works (#11075)
bkchr Mar 21, 2022
5d630dd
import-blocks: Do not read `stdin` to memory (#11072)
bkchr Mar 21, 2022
1bd5d78
Don't return the same block twice in ancestor binary search (#11067)
nathanwhit Mar 21, 2022
ec0258e
Don't ban peers for small duplicate requests (#11084)
nathanwhit Mar 22, 2022
c558351
Add `dev_getBlockStats` RPC (#10939)
athei Mar 22, 2022
c9fc99d
Add ProxyRemoved event (#11085)
xlc Mar 22, 2022
715d004
Do not upgrade db_version on metadata reading failure. (#11081)
cheme Mar 22, 2022
77c15d2
warp-sync: Return an error when trying to enable it for archive nodes…
bkchr Mar 22, 2022
096f205
Implementing `MaxEncodedLen` for `generate_solution_type` (#11032)
Mar 23, 2022
7a09b82
Store validator self-vote in bags-list, and allow them to be trimmed …
kianenigma Mar 23, 2022
97ee3d1
Fix `generate_storage_alias!` (#11102)
shawntabrizi Mar 23, 2022
6c92fc3
Allow pallet error enum variants to contain fields (#10242)
KiChjang Mar 24, 2022
56c28e8
BABE's revert procedure (#11022)
davxy Mar 24, 2022
dfb2a8c
Add extra WASM heap pages when precompiling the runtime blob (#11107)
koute Mar 24, 2022
666f39b
pallet-referenda: make the pallet instanceable (#11089)
koushiro Mar 24, 2022
676932f
Clear storage before running the bench (#11109)
ggwpez Mar 24, 2022
c16fa70
update assetclassownership map
driemworks Mar 25, 2022
08fd14d
Add `benchmark-block` command (#11091)
ggwpez Mar 25, 2022
26ea757
Improve Bounties and Child Bounties Deposit Logic (#11014)
shawntabrizi Mar 25, 2022
318dea3
pallet-conviction-voting: make the pallet instantiable (#11088)
koushiro Mar 25, 2022
411d9bb
Implement Lean BEEFY (#10882)
acatangiu Mar 25, 2022
b8aea62
Remove unneeded code (#11117)
gavofyork Mar 25, 2022
69079b5
Add a bounded fallback on failed elections (#10988)
Mar 25, 2022
0d45c9a
storageDoubleMap -> storage map
driemworks Mar 26, 2022
4b8cbaa
Bump handlebars from 4.1.6 to 4.2.2 (#11073)
dependabot[bot] Mar 26, 2022
12b32cb
owner matches admin on creation
driemworks Mar 26, 2022
d26123a
remove misleading sentence (#11125)
shawntabrizi Mar 27, 2022
6615ae4
Bump zeroize from 1.4.3 to 1.5.4 (#11123)
dependabot[bot] Mar 27, 2022
65b44e9
add notes and warnings to ProvideInherent docs (#9730)
apopiak Mar 27, 2022
a5f3dbe
Bump `tokio` to 1.17.0 (#10894)
koute Mar 28, 2022
297a5e4
Bump libc from 0.2.119 to 0.2.121 (#11127)
dependabot[bot] Mar 28, 2022
d587fd7
remove owner param
driemworks Mar 29, 2022
ab8bb40
update rpc endpoint to accept asset_id instead of cid
driemworks Mar 29, 2022
09073d3
Spellcheck HBS templates and add test (#11119)
ggwpez Mar 29, 2022
71bb50c
Update `lru`, `regex` and `thread_local` (#11135)
koute Mar 29, 2022
62fa7d2
contracts: add `seal_code_hash` and `seal_own_code_hash` to API (#10…
agryaznov Mar 29, 2022
41567c3
Unignore test (#11097)
wigy-opensource-developer Mar 29, 2022
f2d3494
Fix Phragmen benchmark (#11137)
ggwpez Mar 30, 2022
b254351
Enforce `MaxEncodedLen` impl for `NposSolution` (#11103)
Mar 31, 2022
64f1663
frame-support: Rename tests to express what they are doing (#11147)
bkchr Mar 31, 2022
2287cd8
add iter-from for bags-list (#11104)
kianenigma Mar 31, 2022
4abe94c
move rpc back to assets, signature verification
driemworks Mar 31, 2022
56dc6d1
Refactor Beefy MMR and remove parachain specific implementations (#10…
Wizdave97 Apr 1, 2022
f9e9099
rpc accepts asset id, check for ownership when requesting bytes
driemworks Apr 1, 2022
1cb6c46
update docs
driemworks Apr 2, 2022
62fcc8a
Add Limit to Tranasctional Layers (#10808)
shawntabrizi Apr 2, 2022
284d38f
Bump futures from 0.3.19 to 0.3.21 (#11133)
dependabot[bot] Apr 3, 2022
01a3ad6
Remove useless imports (#11136)
koushiro Apr 3, 2022
1373db0
Bump backtrace from 0.3.63 to 0.3.64 (#11157)
dependabot[bot] Apr 4, 2022
51d47a8
Bump dyn-clone from 1.0.4 to 1.0.5 (#11048)
dependabot[bot] Apr 4, 2022
5c898d3
Update kvdb-rocksdb to 0.15.2 (#11144)
moh-eulith Apr 4, 2022
0d88803
Revert "Replace storage access by atomics" (#11156)
athei Apr 4, 2022
6f411cd
Remove not required DigestItem conversion (#11165)
davxy Apr 4, 2022
ad95f43
transactional: Fix some nitpicks (#11163)
bkchr Apr 4, 2022
9bf7aaa
Correct a spelling mistake (#11167)
EmisonLu Apr 5, 2022
585e7e8
Upgrade to wasmer 2.2 (#11168)
athei Apr 5, 2022
d4ca1fd
Bump enumflags2 from 0.6.4 to 0.7.4 (#11108)
dependabot[bot] Apr 5, 2022
bbc6104
Merge remote-tracking branch 'upstream/iris_milestone_3' into iris
driemworks Apr 6, 2022
3cad018
Change default execution strategies to `Wasm` (#11170)
bkchr Apr 6, 2022
184d29c
Fix fork-tree descendent check (#11150)
davxy Apr 6, 2022
c4dd1be
Grandpa revert procedure (#11162)
davxy Apr 6, 2022
c89d524
[ci] Remove vault (#11179)
alvicsam Apr 6, 2022
1dd1f21
chore: update jsonrpsee to `v0.10.1` (#11173)
niklasad1 Apr 7, 2022
e6ae0b0
relax input conditions of fixed::checked_from_integer (#11159)
kianenigma Apr 7, 2022
a1497f5
Apply `WeightToFeePolynomial`s to `pallet_transaction_payment`'s leng…
notlesh Apr 7, 2022
f4e80d4
Improve docs of `remove_all` and `remove_prefix` (#11182)
bkchr Apr 7, 2022
f98ef8a
update pr-custom-review.yml (#11169)
joao-paulo-parity Apr 7, 2022
174735e
Sub-commands for `benchmark` (#11164)
ggwpez Apr 7, 2022
78b1ad3
fix .github/pr-custom-review.yml (#11187)
joao-paulo-parity Apr 8, 2022
1e3b992
Bump impl-trait-for-tuples from 0.2.1 to 0.2.2 (#11171)
dependabot[bot] Apr 8, 2022
2cdd27d
Bump lru from 0.7.3 to 0.7.5 (#11190)
dependabot[bot] Apr 8, 2022
994bb57
Catch panics on the FFI boundary between the runtime and the host for…
koute Apr 8, 2022
87ebfdb
Add GHA for custom PR review (#10951)
sergejparity Apr 8, 2022
6b68d6a
upgrade and merge Iris with latest substrate
driemworks Apr 12, 2022
9097a6b
add back contracts pallet
driemworks Apr 13, 2022
f73557b
add back chain extension
driemworks May 9, 2022
a1cde74
chain ext works
driemworks May 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# An auto defined `clippy` feature was introduced,
# but it was found to clash with user defined features,
# so was renamed to `cargo-clippy`.
#
# If you want standard clippy run:
# RUSTFLAGS= cargo clippy
[target.'cfg(feature = "cargo-clippy")']
rustflags = [
"-Aclippy::all",
"-Dclippy::correctness",
"-Aclippy::if-same-then-else",
"-Aclippy::clone-double-ref",
"-Dclippy::complexity",
"-Aclippy::clone_on_copy", # Too common
"-Aclippy::needless_lifetimes", # Backward compat?
"-Aclippy::zero-prefixed-literal", # 00_1000_000
"-Aclippy::type_complexity", # raison d'etre
"-Aclippy::nonminimal-bool", # maybe
"-Aclippy::borrowed-box", # Reasonable to fix this one
"-Aclippy::too-many-arguments", # (Turning this on would lead to)
"-Aclippy::unnecessary_cast", # Types may change
"-Aclippy::identity-op", # One case where we do 0 +
"-Aclippy::useless_conversion", # Types may change
"-Aclippy::unit_arg", # styalistic.
"-Aclippy::option-map-unit-fn", # styalistic
"-Aclippy::bind_instead_of_map", # styalistic
"-Aclippy::erasing_op", # E.g. 0 * DOLLARS
"-Aclippy::eq_op", # In tests we test equality.
"-Aclippy::while_immutable_condition", # false positives
"-Aclippy::needless_option_as_deref", # false positives
"-Aclippy::derivable_impls", # false positives
]
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ doc
Dockerfile
.dockerignore
.local
.env*
15 changes: 15 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# You can easily exclude big automated code changes by running
#
# git config blame.ignoreRevsFile .git-blame-ignore-revs
#
# in your local repository. It will work also in IDE integrations.
#
# On versions of Git 2.20 and later comments (#), empty lines, and any leading and
# trailing whitespace is ignored. Everything but a SHA-1 per line will error out on
# older versions.
#
# You should add new commit hashes to this file when you create or find such big
# automated refactorings while reading code history. If you only know the short hash,
# use `git rev-parse 1d5abf01` to expand it to the full SHA1 hash needed in this file.

1d5abf01abafdb6c15bcd0172f5de09fd87c5fbf # Run cargo fmt on the whole code base (#9394)
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Bug Report
description: Let us know about an issue you experienced with this software
# labels: ["some existing label","another one"]
body:
- type: checkboxes
attributes:
label: Is there an existing issue?
description: Please search to see if an issue already exists and leave a comment that you also experienced this issue or add your specifics that are related to an existing issue.
options:
- label: I have searched the existing issues
required: true
- type: checkboxes
attributes:
label: Experiencing problems? Have you tried our Stack Exchange first?
description: Please search <https://substrate.stackexchange.com> to see if an post already exists, and ask if not. Please do not file support issues here.
options:
- label: This is not a support question.
required: true
- type: textarea
id: bug
attributes:
label: Description of bug
# description: What seems to be the problem?
# placeholder: Describe the problem.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
description: Provide the steps that led to the discovery of the issue.
# placeholder: Describe what you were doing so we can reproduce the problem.
validations:
required: false
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
blank_issues_enabled: true
contact_links:
- name: Support & Troubleshooting with the Substrate Stack Exchange Community
url: https://substrate.stackexchange.com
about: |
For general problems with Substrate or related technologies, please search here first
for solutions, by keyword and tags. If you discover no solution, please then ask and questions in our community! We highly encourage everyone also share their understanding by answering questions for others.
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Feature Request
description: Submit your requests and suggestions to improve!
body:
- type: checkboxes
attributes:
label: Is there an existing issue?
description: Please search to see if an issue already exists and leave a comment that you also experienced this issue or add your specifics that are related to an existing issue.
options:
- label: I have searched the existing issues
required: true
- type: checkboxes
attributes:
label: Experiencing problems? Have you tried our Stack Exchange first?
description: Please search <https://substrate.stackexchange.com> to see if an post already exists, and ask if not. Please do not file support issues here.
options:
- label: This is not a support question.
required: true
- type: textarea
id: content
attributes:
label: Motivation
description: Please give precedence as to what lead you to file this issue.
# placeholder: Describe ...
validations:
required: false
- type: textarea
id: content
attributes:
label: Request
description: Please describe what is needed.
# placeholder: Describe what you would like to see added or changed.
validations:
required: true
- type: textarea
id: content
attributes:
label: Solution
description: If possible, please describe what a solution could be.
# placeholder: Describe what you would like to see added or changed.
validations:
required: false
- type: dropdown
id: help
attributes:
label: Are you willing to help with this request?
multiple: true
options:
- Yes!
- No.
- Maybe (please elaborate above)
validations:
required: true
16 changes: 16 additions & 0 deletions .github/pr-custom-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 🔒 PROTECTED: Changes to locks-review-team should be approved by the current locks-review-team
locks-review-team: locks-review
team-leads-team: polkadot-review
action-review-team: ci

rules:
- name: Core developers
check_type: changed_files
condition: .*
min_approvals: 2
teams:
- core-devs

prevent-review-request:
teams:
- core-devs
2 changes: 1 addition & 1 deletion .github/workflows/check-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Check labels
run: bash ${{ github.workspace }}/.maintain/github/check_labels.sh
run: bash ${{ github.workspace }}/scripts/ci/github/check_labels.sh
env:
GITHUB_PR: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/monthly-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo "" >> Changelog.md
echo "## Changes since last snapshot (${{ steps.tags.outputs.old }})" >> Changelog.md
echo "" >> Changelog.md
./.maintain/gitlab/generate_changelog.sh ${{ steps.tags.outputs.old }} >> Changelog.md
./scripts/ci/github/generate_changelog.sh ${{ steps.tags.outputs.old }} >> Changelog.md
- name: Release snapshot
id: release-snapshot
uses: actions/create-release@latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/polkadot-companion-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
authToken: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.sha }}
contexts: 'continuous-integration/gitlab-check-polkadot-companion-build'
contexts: 'continuous-integration/gitlab-check-dependent-polkadot'
timeout: 1800
notPresentTimeout: 3600 # It can take quite a while before the job starts on Gitlab when the CI queue is large
failureStates: failure
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/pr-custom-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Check reviews

on:
pull_request:
branches:
- master
- main
types:
- opened
- reopened
- synchronize
- review_requested
- review_request_removed
pull_request_review:

jobs:
pr-custom-review:
runs-on: ubuntu-latest
steps:
- name: pr-custom-review
uses: paritytech/pr-custom-review@v2
with:
token: ${{ secrets.PRCR_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ rls*.log
.local
**/hfuzz_target/
**/hfuzz_workspace/
.cargo/
.cargo-remote.toml
*.bin
*.iml
Expand Down
Loading