Commit ab050df
Remove CDD claim checks and add DID Registrars (#1873)
* Refactor our changes out of the core Staking code. (#1802)
* Start moving our changes out of the core Staking code.
* Refactor chill/nominate code.
* Refactor slashing switch.
* Add missing "Polymesh added" notes.
* FIXUP
* Access Polymesh staking logic through an associated type.
* Impl PermissionedStaking on the pallet.
* Refactor some of our logic out of the benchmarking and testing code.
* Avoid using our User type.
* Add ED check to trait.
* Staking split (#1813)
* Revert benchmarking and testing utils to Substrate code.
* Port our staking benchmarks onto the Substrate code.
* Split the permissioned validator logic into a different pallet.
* Update tests.
* cargo fmt
* Move Polymesh types out of staking pallet.
* Cleanup
* Clean and revert some changes.
* Import Substrate mock/tests.
* Use staking pallet from Substrate.
* Fix tests.
* Remove old PolymeshStorageVersion.
* Remove unused events.
* Add migration.
* Switch Substrate branches.
* FIXUP: weights.
* Update balance pallet (#1833)
* Remove pallet-balances
* Fix benchmarks
* Remove cdd check; Fix bench
* Fix bench and integration tests
* Add polymesh_v8 feature to polymesh-api
* Update ci commands
* Change ci flag
* Remove error
* Update substrate stable2503 7 (#1845)
* Add workspace dependency
* Update Substrate
* Update WeightMeter
* Deprecated GenesisBuild, use BuildGenesisConfig
* Use Weight::from_parts instead of Weight::from_ref_time
* T::BlockNumber update
* Fix chrono deprecated warnings.
* Fix deprecated check_accrue call.
* Add TypeInfo to Runtime API types.
* System pallet renamed Index -> Nonce.
* Update contracts
* Update weights
* Bump recursion_limit
* Update Babe and Grandpa.
* Update staking pallet
* Update im-online.
* Require serde.
* no_std GenesisConfig.
* Update node binary service/command code.
* Add missing runtime_version attribute.
* Fix wasm-builder
* Remove old test.
* Fix warnings.
* Fix warnings about OldWeight.
* Fix benchmark build.
* Fix RPC port number.
* System.set_code doesn't use max block weight anymore.
* Use sensible maths for `from_rational`.
paritytech/substrate#13660
* Bump contract gas fees.
* Add NoopMigration for v10 contracts pallet.
* Add feature flag for ed; Fix tests and runtime
* Update Weights
* Fix integration tests
* Update .toml and .lock; Update rustc --version; Remove old testing feature
* Fix compilation errors - part I
* Fix compilation errors - part II
* Fix compilation errors - part III
* Fix compilation errors - part IV
* Fix compilation errors - Tx payment
* Fix compilation errors - Remove deprecated scheduler
* Fix compilation erros - Impl TransactionExtension for pallet_permissions
* Fix compilation errors - Remove deprecated scheduler
* Remove deprecated calls - pallet_sudo pallet_validators
* Fix compilation errors - pallet_tx_payments currency adapter
* Fix compilation errors - Update dependency; add Preimage
* Update develop runtime
* Update mainnet and testnet runtime
* Fix rpc-protocol-fee - part I
* Fix node-rpc errors - part I
* Fix node-rpc errors
* Fix group and protocol rpc build
* Updating node part I
* Update node part II
* Update chain_spec - part I
* Update chain spec - part II
* Update node - part III
* Remove warnings; Remove local dependecies
* Impl TransactionExtension
* Add missing GenesisBuilder impl; Use camel case for json genesis; Add validators genesis config
* Remove duplicated chainspec merge; Update toml; Cargo fmt
* Update rust version
* Add ci_runtime
* Fix sudo mock
* Fix tests - part I; Fix storage and builder
* Fix tests - part I
* Fix tests - pips committee
* Fix settlement tests; Add subsidiser to tx_payment pallet
* Fix relayer tests
* Fix tx_payment tests
* Fix Utility tests
* Compile staking tests
* Fix staking tests - UseNominatorsAndValidatorsMap does not sort
* Fix toml files missing runtime-benchmark feature
* Fix toml files for benchmarks part II
* Fix benchmarks - part III
* Order toml dependencies
* Update .lock; Change rust-toolchain
* Change rust version
* Fix benchmarks build
* Change rust version for ci
* Run cargo fmt
* Fix the ci pipeline; Remove contracts from benchmarks temporarily
* FIx manual_slash benchmark
* Build docker temporarily
* Add CA certs to debian docker image.
* FIXUP: ca cert install
* Remove unimplemented call
* Add migrations (#1850)
* update Cargo.lock
* Fix CI pipeline.
* FIXUP: ci pipeline.
* Add missing pallet_contract migrations.
* Fix Rust integration build with v8 chain metadata.
* Update tests to use TransferWithMemo event.
* Update TS integration tests.
* Fix Rust integration build against v8.
* Fix initial funding amounts.
* Update Substrate to fix CheckNonce.
* Fix proofSize limit for contract calls.
* Bump transaction version to 8.
---------
Co-authored-by: Robert G. Jakabosky <rjakabosky+neopallium@neoawareness.com>
* Update to Substrate stable2512 (#1857)
* Update Substrate deps to stable2512.
* Fix runtime_interface for benchmark host functions.
* Fix runtime build errors.
* Fix runtime compile errors.
* Fix staking tests.
* Fix node services code.
* Use polymesh builder tool again.
* cargo update. Update non-substrate deps.
* Use the Sudo pallet from Substrate instead of our forked version.
* Move Substrate Staking tests to Validators pallet.
* Don't rustfmt the Staking test code.
* Cleanup some TODOs.
* Update branches in CI pipeline.
* Store runtimes as artifacts of CI jobs.
* Fix CI pipeline config.
* Remove PR branch from CI pipeline.
* Fix validators migration (#1858)
* Fix migration of permissioned validators from Staking pallet.
* Bump spec.
* Fix tx_payment `TransactionExtensions`; Use `call_weight` instead of `total_weight` (#1863)
* Fix fee withdraw
* Fix tests; Improve validate and prepare code
* Change total_weight to call_weight
* Remove duplicated check in tx extension; Fix call_weight usage
* Another call_weight -> total_weight fix.
---------
Co-authored-by: Robert G. Jakabosky <rjakabosky+neopallium@neoawareness.com>
* Refactor transaction payment (#1864)
* Reuse pallet-transaction-payment from Substrate, split our ChargeTransactionPayment code out.
* Use improved transaction priority calculation from Substrate.
* Implement support for disable fees.
* Add benchmark of ChargeTransactionPayment tx extension.
* Benchmark ChargeTransactionPayment extension.
* Return the extension weight.
* Use git paths instead of version for Substrate deps.
* Update to Substrate release polkadot-stable2512.
* Fix tests build.
* Add Beefy, Beefy-MMR and MMR pallets.
* Add migration for SessionKeys. Allow Beefy to be disabled.
* Add AuthorizedCall and CheckNonZeroSender tx extensions.
* Add WeightReclaim tx extension.
* Add support for CheckMetadataHash tx extension.
* Fix Rust integration tests to support CheckMetadataHash tx extension.
* Support metadata-hash.
* Migrate to FungibleAdapter.
* Fix staking election in Genesis block for dev chains.
* Add Beefy, Beefy-MMR and MMR pallets.
* Add migration for SessionKeys. Allow Beefy to be disabled.
* Add AuthorizedCall and CheckNonZeroSender tx extensions.
* Add WeightReclaim tx extension.
* Add support for CheckMetadataHash tx extension.
* Fix Rust integration tests to support CheckMetadataHash tx extension.
* Support metadata-hash.
* Migrate to FungibleAdapter.
* Fix staking election in Genesis block for dev chains.
* replace cdd claim checks with did checks, rename errors/types, remove unused code
* rename CddServiceProviders to DidRegistrars
* add register_did extrinsic, deprecate old extrinsics
* add register_did tests and update naming in tests
* rename cdd provider leftovers in benchmarking and tests
* cleanup and check did active in benchmark
* rename SystematicIssuers::CDDProvider to DIDRegistrar
* update polymesh_schema.json and chain spec files
* update cli types
* update tests
* cleanup unused imports + fix ts integration tests
* Revert "rename SystematicIssuers::CDDProvider to DIDRegistrar"
This reverts commit 5b43d03.
* deprecate AttestPrimaryKeyRotation
* rename error IdentityIsMissingDID to IdentityDoesNotExist + revert CddId comment
* allow deprecated
* remove did check for sender and add is_did_locked stub
* cleanup duplicate code
* add storage migration for CddServiceProviders -> DidRegistrars
* cleanup
* fix ci
---------
Co-authored-by: Robert Gabriel Jakabosky <rjakabosky+neopallium@neoawareness.com>
Co-authored-by: Henrique Nogara <nogara.henrique@gmail.com>1 parent a2804e9 commit ab050df
69 files changed
Lines changed: 2799 additions & 2575 deletions
File tree
- integration/tests
- pallets
- asset/src
- compliance-manager/src
- contracts/src
- identity/src
- benchmarking
- multisig/src
- nft/src
- relayer/src
- runtime
- common/src
- develop
- src
- mainnet
- src
- testnet
- src
- tests
- src
- settlement_pallet
- transaction-payment/src
- utility/src
- validators
- src
- weights/src
- primitives/src
- rpc
- runtime-api/src
- src
- scripts/cli
- src
- interfaces
- default
- util
- src/chain_spec
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 58 | + | |
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
| |||
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
116 | | - | |
117 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| |||
268 | 271 | | |
269 | 272 | | |
270 | 273 | | |
271 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
272 | 278 | | |
273 | 279 | | |
274 | 280 | | |
| |||
302 | 308 | | |
303 | 309 | | |
304 | 310 | | |
305 | | - | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
306 | 315 | | |
307 | 316 | | |
308 | 317 | | |
309 | 318 | | |
310 | 319 | | |
311 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
312 | 323 | | |
313 | 324 | | |
314 | 325 | | |
| |||
353 | 364 | | |
354 | 365 | | |
355 | 366 | | |
356 | | - | |
| 367 | + | |
357 | 368 | | |
358 | 369 | | |
359 | 370 | | |
| |||
364 | 375 | | |
365 | 376 | | |
366 | 377 | | |
367 | | - | |
| 378 | + | |
368 | 379 | | |
369 | 380 | | |
370 | 381 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
190 | 195 | | |
191 | 196 | | |
192 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1800 | 1800 | | |
1801 | 1801 | | |
1802 | 1802 | | |
1803 | | - | |
1804 | | - | |
1805 | | - | |
1806 | | - | |
| 1803 | + | |
| 1804 | + | |
1807 | 1805 | | |
1808 | 1806 | | |
1809 | 1807 | | |
| |||
3112 | 3110 | | |
3113 | 3111 | | |
3114 | 3112 | | |
3115 | | - | |
3116 | | - | |
3117 | | - | |
3118 | | - | |
3119 | | - | |
3120 | | - | |
3121 | | - | |
| 3113 | + | |
| 3114 | + | |
3122 | 3115 | | |
3123 | 3116 | | |
3124 | 3117 | | |
| |||
3213 | 3206 | | |
3214 | 3207 | | |
3215 | 3208 | | |
3216 | | - | |
3217 | | - | |
3218 | | - | |
3219 | | - | |
3220 | | - | |
3221 | | - | |
| 3209 | + | |
| 3210 | + | |
3222 | 3211 | | |
3223 | 3212 | | |
3224 | 3213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
96 | 97 | | |
97 | | - | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 102 | + | |
107 | 103 | | |
108 | 104 | | |
109 | 105 | | |
| |||
188 | 184 | | |
189 | 185 | | |
190 | 186 | | |
191 | | - | |
| 187 | + | |
192 | 188 | | |
193 | 189 | | |
194 | 190 | | |
| |||
510 | 506 | | |
511 | 507 | | |
512 | 508 | | |
513 | | - | |
| 509 | + | |
514 | 510 | | |
515 | 511 | | |
516 | 512 | | |
| |||
525 | 521 | | |
526 | 522 | | |
527 | 523 | | |
528 | | - | |
| 524 | + | |
529 | 525 | | |
530 | 526 | | |
531 | 527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
116 | | - | |
| 115 | + | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
121 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
122 | 130 | | |
123 | 131 | | |
124 | 132 | | |
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
128 | | - | |
| 136 | + | |
129 | 137 | | |
130 | 138 | | |
131 | 139 | | |
132 | 140 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | 141 | | |
143 | 142 | | |
144 | 143 | | |
| |||
154 | 153 | | |
155 | 154 | | |
156 | 155 | | |
157 | | - | |
158 | 156 | | |
159 | 157 | | |
160 | 158 | | |
161 | 159 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | 160 | | |
174 | 161 | | |
175 | 162 | | |
176 | 163 | | |
177 | 164 | | |
178 | 165 | | |
179 | | - | |
| 166 | + | |
180 | 167 | | |
181 | 168 | | |
182 | | - | |
183 | 169 | | |
184 | 170 | | |
185 | 171 | | |
186 | 172 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 173 | | |
194 | 174 | | |
195 | 175 | | |
196 | 176 | | |
197 | 177 | | |
198 | 178 | | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | 179 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
| 180 | + | |
218 | 181 | | |
219 | 182 | | |
220 | 183 | | |
| |||
0 commit comments