This repository was archived by the owner on Jul 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Merge upstream to 3.0 #169
Merged
Merged
Changes from 1 commit
Commits
Show all changes
482 commits
Select commit
Hold shift + click to select a range
eaab146
Fix #7629 (#7680)
tomaka f91998e
Update Cargo.toml (#7627)
kianenigma ec55d65
Make sure the companion CI test fails on any error (#7683)
bkchr 163412d
implement more convertion on NumberOrHex (#7682)
gui1117 332399d
Streamline frame_system weight parametrization (#6629)
tomusdrw f9d9382
client: remove duplicate implementation of block_status (#7694)
andresilva 4c0779e
Pin md link checker's version (#7697)
TriplEight 609efdb
Remove waterfall CI trigger (#7519)
TriplEight d877123
add an upgrade_keys method for pallet-session (#7688)
rphmeier 469836f
Allow capping the amount of work performed when deleting a child trie…
athei 4b8c862
benchmarks: Fix panic in case of a missing model (#7698)
shawntabrizi 9599f39
Expand remote keystore interface to allow for hybrid mode (#7628)
gnunicorn be8fd05
fork-tree: expose silent failures of is_descendent_of (#7695)
andresilva 661bbc9
Merkle Mountain Range pallet (#7312)
tomusdrw 9d843c3
frame/staking/README: Fix broken link (#7703)
mxinden 6b600cd
*: Update to libp2p v0.32.0 (#7696)
mxinden 1282327
*: Update to libp2p v0.32.2 (#7708)
mxinden b1ef770
kilt&polimec ss58 prefix (#7547)
weichweich 2a7a985
Fix docs (#7710)
gui1117 d663ca5
Update md link checker (#7709)
TriplEight 8bf9557
Fix PerThing::from_percent. (#7701)
kianenigma ea48d6b
Support Multiple Instances with Benchmarks (#7669)
shawntabrizi 533bbbd
Add keccak-512 to host functions. (#7531)
tomusdrw 445fa2d
Update debug.rs (#7721)
kianenigma 557a9b8
Avoid too high values. (#7716)
tomusdrw 956ccbc
Bump hyper from 0.12.35 to 0.13.9 (#7569)
dependabot[bot] 1f49b2a
Prevent dust in staking by disallowing cheap bond_extra (#7718)
kianenigma d4d6844
Default block announce validation should reject additional data (#7726)
bkchr c88b104
Fix wrong order of values in log line (#7728)
tomaka dac7ff1
Fix polkadot companion test (#7732)
bkchr 31499cd
remove duplicate accounts in chain-spec. (#7725)
kianenigma ba2fc2b
Participating in Council Governance is Free for First Time Voters and…
shamb0 6584375
Bump zeroize from 1.1.1 to 1.2.0 (#7731)
dependabot[bot] 566ad03
Leave some header related info for inspection (#7727)
pepyakin 987a972
Issue 7143 | Refactor Treasury Pallet into Bounties, Tips, and Propos…
shamb0 032bd12
CI: buildah to build images (#7741)
TriplEight 2bc674a
optimize arithmetic cargo path (#7745)
honeywest fec28e1
optimize runtime-interface cargo path (#7729)
honeywest ad054e6
delete primitives in Cargo in primitives (#7751)
honeywest 36d6433
delete client in Cargo in client (#7752)
honeywest 039d3ff
prevent too many genesis council members (#7749)
kianenigma 330f5c0
Update common block in sync after importing blocks of a peer, please …
bkchr aa5184d
Remove unnecessary parameter from sync (#7761)
bkchr 94c34f3
Improve `InvalidTransaction::AncientBirthBlock` doc comment (#7743)
emostov 61cb65e
Switch back to the crates.io release of trybuild (#7764)
bkchr 8b9a441
No longer put keys back manually after a failed restoration (#7747)
athei 3c531e2
Fix UI Tests (#7722)
shawntabrizi 532cce0
update substrate to sc in docs (#7767)
honeywest 9e2d7b7
Allow Staking tests to run with session length other than 1 (#7719)
kianenigma 48bf02a
optimize biguint div closure (#7754)
honeywest 22b34bb
Make it possible to calculate the storage root as often as you want (…
bkchr 5c70d7b
Typo fix: eror => error (#7773)
Swader 37a7727
Adds `try_get` for `StorageMap` and `StorageDoubleMap` (#7774)
bkchr 6022575
Add account prefix for Valiu (#7776)
olanod 3c5bfc0
Feat support weight test (#7769)
honeywest 0d6953c
Add `pallet` attribute macro to declare pallets (#6877)
gui1117 281f81c
add a `current_epoch` to BabeApi (#7789)
rphmeier 165b4b5
Update tests.rs (#7784)
IAliceBobI 6ba867a
add a slot-duration getter to babe config (#7793)
rphmeier 54bde60
Fix base-path handling in `key insert` (#7775)
bkchr 264cfcf
Lazily evaluate error string (#7802)
JoshOrndorff f36ae22
contracts: Change `define_env!` to expect a `Result<T, DispatchError>…
athei 7c9f9a5
Hex Balance deserialize for contracts_call RPC (#7807)
jacogr 5d5a3b8
Don't allow self proxies (#7803)
shawntabrizi f1d8be8
Allow council to slash treasury tip (#7753)
shamb0 6abbbd6
Add CLI argument to disable log color output (#7795)
bkchr 67c8cad
Use path instead of ident (#7809)
shawntabrizi b442214
Add proper `commit_all` to `TestExternalities` (#7808)
bkchr 0fc8329
Define ss58 prefix inside the runtime (#7810)
athei 2eaeb91
remove some unecessary bound (#7813)
gui1117 e8a8301
Fix ss58check test when executed with other tests (#7815)
bkchr 5215cd7
Cleanup some warnings (#7816)
andresilva 9b08105
Happy new year (#7814)
bkchr d972eb1
contracts: Allow runtime authors to define a chain extension (#7548)
athei 28ffe37
*: Update to libp2p v0.33.0 (#7759)
mxinden fcdba68
contracts: Lazy storage removal (#7740)
athei 3a904bb
fix template (#7823)
gui1117 30009d9
rename HEADER files so that they are consistent with LICENSE filename…
andresilva 91dd683
contracts: Prevent contracts from allocating a too large buffer (#7818)
athei 80d7559
Improve error message on where clause on pallet error (#7821)
gui1117 4dcde7e
Feat sp keystore (#7826)
honeywest 0091c09
minor fix (#7828)
kaichaosun 1b840aa
Participation Lottery Pallet (#7221)
shawntabrizi dbe2031
client/network: Use request response for block requests (#7478)
mxinden a2ee0b4
fix : remove `_{ }` syntax from benchmark macro (#7822)
stanly-johnson 170eed5
Improve spans of pallet macro (#7830)
gui1117 71e47d7
Fix master build (#7837)
bkchr 8927543
babe: expose next epoch data (#7829)
andresilva 762f4b0
contracts: Add configurable per-storage item cost (#7819)
athei e5e7606
upgrade a few dependencies (#7831)
698d80b
CI: remove squash and fix buildah push (#7841)
TriplEight b275035
Fix incorrect use of syn::exports (#7838)
bkchr 08a6009
Subkey should not import the entire world. (#7845)
bkchr c9d9365
Rework priority groups, take 2 (#7700)
tomaka 9c5fc1c
Better Handle Dead Accounts in Balances (#7843)
shawntabrizi 885c1f1
bump fs-swap (#7834)
xlc df287fe
UniArts reserve SS58 address id 38 (#7651)
tuminfei c8dd406
Update to futures 0.3.9 (#7854)
tomaka d1923a4
Store dispatch info of calls locally in weight calculation (#7849)
shawntabrizi 5f3db33
client/network: Re-enable light_client_handler.rs unit tests (#7853)
mxinden fa40416
Fix max log level (#7851)
bkchr 7120851
Fix missing network for uniarts (#7859)
bigxiang 0fd461c
contracts: Collect rent for the first block during deployment (#7847)
athei 00b41bc
Merge 2.0.1 backport branch into mainline master (#7842)
Xanewok f6ca02d
Bump cargo-unleash to latest alpha release (#7867)
gnunicorn 8b3e4c8
Bump sha2 from 0.8.2 to 0.9.2 (#7643)
dependabot[bot] b2f10ed
bumpd minor version (#7873)
gui1117 af88571
Add Prometheus alerts if unbounded channels are too large (#7866)
tomaka f977fb8
Bump retain_mut from 0.1.1 to 0.1.2 (#7869)
dependabot[bot] 7a52a74
babe: initialize next authorities on genesis (#7872)
andresilva 928b735
Update serde and parity-multiaddr, to fix master CI (#7877)
tomaka ecb85f7
Add ss58 version prefix for CORD (from Dhiway) (#7862)
smohan-dw b2a5019
network-gossip: add metric for number of local messages (#7871)
andresilva 82d97c8
Clean-up pass in network/src/protocol.rs (#7889)
tomaka 05e5892
contracts: Don't read the previous value when overwriting a storage i…
athei aa8b7db
Fix clear prefix check to avoid erasing child trie roots. (#7848)
cheme 559e56b
CI: test prometheus alerts moved to check; deploy depends on tests; c…
TriplEight 1334eb7
pallet_authority_discovery: introduce current_authorities and next_au…
c2aa425
make helper error types generics (#7878)
drahnr f2367f7
Add payment_queryFeeDetails RPC (#7692)
liuchengxu fae26bb
Use checked math when calculating storage size (#7885)
athei 1c9a9e4
contracts: Cap the surcharge reward by the amount of rent that way pa…
athei a962daa
Update the Grafana dashboards (#7886)
tomaka a9bbc7b
Log target before prefix for more consistent logging (#7897)
bkchr d0b2e7d
contracts: Fix failing benchmark test (#7900)
athei f1c6725
CI: trigger simnet master and wait for status (#7899)
TriplEight 8ee55dd
Storage chains part 1 (#7868)
arkpar e6d498a
tests: fix UI test so we can update CI image (#7901)
TriplEight bb3435a
*: Update to libp2p v0.34.0 (#7888)
mxinden 53fbef5
Fix bad debug_assert (#7904)
tomaka bfd6826
fix template (#7905)
gui1117 ab10fb5
improve benchmarking error output (#7863)
ropottnik caeb3b9
Fix not restoring non-poisoned state (#7906)
tomaka 23ece2f
Add Test for Variable Components in Benchmarking (#7902)
shawntabrizi 946c0e1
fix cargo fmt (#7907)
honeywest cfb8157
Add ss58 version prefix for Patract/Jupiter (from PatractHubs) (#7785)
atenjin 7a79f54
Introduces account existence providers reference counting (#7363)
gavofyork d3673c2
fix clippy error (#7912)
honeywest d42240b
Allow configuring Yamux window size (#7916)
tomaka 4ac74e9
Decouple Stkaing and Election - Part1: Support traits (#7908)
kianenigma 2679599
Feat suppert procedural (#7913)
honeywest 8aa9281
Expose BountyUpdatePeriod. (#7921)
krzysztof-jelski 74a50ab
Add ss58 version prefix for Litentry (#7918)
Satoshi-Kusumoto cde8232
Address review comments of #7916 (#7917)
tomaka 2b47773
Update details for the Polymesh network (#7919)
adamdossa 6c14fac
Update ss58 registry for Robonomics (#7923)
ensrationis e3b6315
babe: log block and slot number on verification (#7920)
andresilva b64ec19
Add explicit limits to notifications sizes and adjust yamux buffer si…
tomaka e813f62
Freeze Assets and Asset Metadata (#7346)
shawntabrizi 61fa641
Increase UnboundedChannelVeryLarge threshold from 5k to 15k (#7931)
tomaka 2d5a75d
Sync: Propagate block announcement data (#7903)
bkchr a9ed67e
Disable Nagle algorithm (#7932)
tomaka 4868630
Migrate frame-system to pallet attribute macro (#7898)
ascjones 8f43280
Telemetry per node (#7463)
cecton 2a5e10a
Allow validators to block and kick their nominator set. (#7930)
gavofyork d5bdd81
Fix elections-phragmen and proxy issue (#7040)
kianenigma 1baeefa
.maintain: Replace sentry-node with local-docker-test-network (#7943)
mxinden a7fd1e5
Attempt to remove the `where` bounds in arithmetic. (#7933)
kianenigma 3e870d1
Minor contributor docs update (#7948)
gnunicorn d9e56ef
Make offchain indexing work (#7940)
bkchr 4b687df
Grandpa warp sync request-response protocol (#7711)
expenses bd5c9a6
Cleaner GRANDPA RPC API for proving finality (#7339)
octol 947a6bc
Allow transaction for offchain indexing (#7290)
cheme ba50a59
Enable sync mode for paritydb (#7961)
arkpar aaba404
Very minor typo in the docs (#7967)
g2udevelopment bb0fb29
Remove hidden item NonExhaustive in syn crate (#7969)
sorpaas 13c75ae
Detect conflicting module names in `construct_runtime!` (#7968)
bkchr 67e6000
pallet minor doc improvment (#7922)
gui1117 dd173ae
Make pallets use construct_runtime (#7950)
gui1117 38f723b
client/network/req-resp: Prevent request id collision (#7957)
mxinden 2b43895
use construct_runtime for more pallet (#7974)
gui1117 65003c5
Migrate some more pallets to construct_runtime (#7975)
ascjones 51d2312
Pallet proc macro doc improvements (#7955)
ascjones 13cdf1c
Refuse to start substrate without providing an explicit chain (#7977)
dvdplm addf203
client/network: Report reputation changes via response (#7958)
mxinden 4888ac6
Migrate pallet-template to pallet attribute macro (#7981)
g2udevelopment bc3075c
Fix Network trait implementation not doing what it's supposed to do (…
tomaka 46c510f
Make pallet use construct_runtime in tests instead of impl_* (#7986)
gui1117 e82518b
Rewrite the async code in `BasicQueue` (#7988)
bkchr 1490be7
grandpa: remove runtime checks in prove_finality (#7953)
octol d0723f1
Ensure transactional with ? works in frame v2 (#7982)
gui1117 c003a48
Increase maximum size of transaction notifications (#7993)
tomaka 9c0ae89
Let mock in pallet-template use construct_runtime (#7991)
g2udevelopment 0b0d124
Fix state cache for cumulus (#7990)
arkpar 2d597fc
Merkle Mountain Range pallet improvements (#7891)
tomusdrw 64df2f9
Introduce a `Slot` type (#7997)
bkchr 68d7157
Clarify and expand ProvideInherent docs (#7941)
JoshOrndorff ae3dabb
Introduce sc_peerset::DropReason (#7996)
tomaka a51a988
Doc fixes for sc-telemetry & API struct rename (#7934)
cecton 1d5d13a
Fix telemetry span not entering properly & enter span in sc-cli (#7951)
cecton 93b231e
Update parity-scale-codec to 2.0 (#7994)
gui1117 caff191
Test is_inherent_required (#8002)
4meta5 9659509
Sync: Fix issue of not freeing a block announcement slot (#8006)
bkchr a45e3f2
CI: return flaming fir deployment (#8007)
TriplEight 30ec0be
chore: fix typos (#8013)
yjhmelody 017a9a0
Fix tracing spans are not being forwarded to spawned task (#8009)
bkchr 043cb0a
make AllModules public (#8017)
apopiak 5a5f06e
client/network: Use request response for light client requests (#7895)
mxinden b7fc46d
relax translate closure to FnMut (#8019)
apopiak 26f3d68
Remove outdated Grafana information (#8012)
tomaka b201d7c
contracts: Emit event on contract termination (#8014)
athei 7cb5eed
Fix tracing tests (#8022)
bkchr aaf6598
contracts: Improve documentation (#8018)
athei d5b0856
Disable Kademlia random walk when --reserved-nodes is passed (#7999)
tomaka 81ca765
Convert AURA to new pallet macro (#8020)
bkchr bc69520
Rename system_networkState to system_unstable_networkState (#8001)
tomaka 075796f
Decouple the session validators from im-online (#7127)
liuchengxu c7f52d1
better formatting for doc comments (#8030)
JoshOrndorff 5a94966
Add a send_request function to NetworkService (#8008)
eskimor 56c64cf
Storage chains: serve transactions over IPFS/bitswap (#7963)
arkpar 9d7b884
Improve log line (#8032)
tomaka 2fb4534
Export `IfDisconnected` in public module. (#8034)
eskimor 9b40d50
frame-system: Index type 'MaybeSerializeDeserialize' bound. (#8035)
shaunxw f80d23b
contracts: Make ChainExtension trait generic over the runtime (#8003)
athei 840478a
AURA: Switch to `CurrentSlot` instead of `LastTimestamp` (#8023)
bkchr dc02c65
contracts: Charge rent for code storage (#7935)
athei 169b16f
Migrate assets pallet to new macros (#7984)
dvdplm 85c479f
babe, grandpa: cleanup stale equivocation reports (#8041)
andresilva 05eb8d9
move some pallet test to use construct_runtime (#8049)
gui1117 6105169
Migrate more pallet tests to construct_runtime (#8051)
ascjones a675f9a
Update dependencies ahead of next release (#8015)
gnunicorn 3c9b031
transaction-pool: drop unpropagable txs if local node cant author blo…
andresilva cc71cca
Fix some problems with `prove_warp_sync` (#8037)
expenses 09ba69f
CheckSpecVersion reference fix (#8056)
al3mart f14488d
contracts: Remove ConfigCache (#8047)
athei 26e9a11
Extend SS58 network identifiers (#8039)
gavofyork 0b719f8
Use construct_runtime in tests (#8059)
gui1117 bbc7b0e
Bump wasmtime from 0.19.0 to 0.22.0 (#7865)
dependabot[bot] 29aca98
Remove backwards-compatibility networking hack (#8068)
tomaka 07a5f29
Switch to latest `impl-trait-for-tuples` (#8082)
bkchr 66cfa92
Add Crust Network SS58 Address (#8064)
badkk 077c480
Add Ares SS58 address type (#8061)
jiyilanzhou 273bc7b
Replace last usages of `<() as PalletInfo>` in substrate (#8080)
gui1117 4777aba
Remove PalletInfo impl for () (#8090)
ascjones 48e9d49
WasmExecutor takes a cache directory (#8057)
pepyakin 9c5da5c
Add Aventus ss58 address (#8050)
nahuseyoum 28b950e
sc-network: switch on default features for libp2p on non-wasm-builds …
gnunicorn 91a7418
pallet macro: easier syntax for `#[pallet::pallet]` with `struct Pall…
gui1117 90c9706
Pallet attribute macro migrate guidelines minor fixes (#8094)
shaunxw 90bb153
Switch to use `diener patch` for companion build (#8073)
bkchr 22441aa
Migrate pallet-balances to pallet attribute macro (#7936)
ascjones ce018b8
babe, grandpa: set longevity for equivocation report transactions (#8…
andresilva ba290e0
Migrate pallet-timestamp to pallet attribute macro. (#8078)
shaunxw 12562bb
Use log level error to report telemetry (#8097)
cecton 49a4103
Releasing 3.0 (#8098)
gnunicorn b146091
Merge remote-tracking branch 'upstream/master' into develop
jordy25519 96734f1
Merge remote-tracking branch 'upstream/master' into develop
jordy25519 d5cc623
Add missing weights files
jordy25519 1c4bf89
Update tests/compile
jordy25519 2bb930d
rust 1.49.0 for test build
jordy25519 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add missing weights files
Update rust to 1.49.0 and nightly to 2020-11-16
- Loading branch information
commit d5cc6235d5cd6fa45dd75855b0fd3671df8b441a
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| // This file is part of Plug. | ||
|
|
||
| // Copyright (C) 2020 Parity Technologies (UK) Ltd. and Plug New Zealand. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 | ||
|
|
||
| #![allow(unused_parens)] | ||
| #![allow(unused_imports)] | ||
|
|
||
| use frame_support::weights::{Weight, constants::RocksDbWeight as DbWeight}; | ||
|
|
||
| pub trait WeightInfo { | ||
| fn set_claim() -> Weight; | ||
| fn remove_claim() -> Weight; | ||
| } | ||
|
|
||
| impl WeightInfo for () { | ||
| fn set_claim() -> Weight { | ||
| (89_000_000 as Weight) | ||
| .saturating_add(DbWeight::get().reads(2 as Weight)) | ||
| .saturating_add(DbWeight::get().writes(3 as Weight)) | ||
| } | ||
| fn remove_claim() -> Weight { | ||
| (101_000_000 as Weight) | ||
| .saturating_add(DbWeight::get().reads(2 as Weight)) | ||
| .saturating_add(DbWeight::get().writes(3 as Weight)) | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,70 @@ | ||
| // This file is part of Plug. | ||
|
|
||
| // Copyright 2019-2020 Plug New Zealand Limited | ||
| // | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0 | ||
|
|
||
| #![allow(unused_parens)] | ||
| #![allow(unused_imports)] | ||
|
|
||
| use frame_support::weights::{Weight, constants::RocksDbWeight as DbWeight}; | ||
|
|
||
| pub trait WeightInfo { | ||
| fn burn() -> Weight; | ||
| fn create() -> Weight; | ||
| fn create_reserved() -> Weight; | ||
| fn mint() -> Weight; | ||
| fn transfer() -> Weight; | ||
| fn update_asset_info() -> Weight; | ||
| fn update_permission() -> Weight; | ||
| } | ||
|
|
||
| impl WeightInfo for () { | ||
| fn transfer() -> Weight { | ||
| (155_000_000 as Weight) | ||
| .saturating_add(DbWeight::get().reads(4 as Weight)) | ||
| .saturating_add(DbWeight::get().writes(2 as Weight)) | ||
| } | ||
| fn burn() -> Weight { | ||
| (92_000_000 as Weight) | ||
| .saturating_add(DbWeight::get().reads(3 as Weight)) | ||
| .saturating_add(DbWeight::get().writes(2 as Weight)) | ||
| } | ||
| fn create() -> Weight { | ||
| (77_000_000 as Weight) | ||
| .saturating_add(DbWeight::get().reads(1 as Weight)) | ||
| .saturating_add(DbWeight::get().writes(5 as Weight)) | ||
| } | ||
| fn mint() -> Weight { | ||
| (92_000_000 as Weight) | ||
| .saturating_add(DbWeight::get().reads(3 as Weight)) | ||
| .saturating_add(DbWeight::get().writes(2 as Weight)) | ||
| } | ||
| fn update_asset_info() -> Weight { | ||
| (70_000_000 as Weight) | ||
| .saturating_add(DbWeight::get().reads(2 as Weight)) | ||
| .saturating_add(DbWeight::get().writes(1 as Weight)) | ||
| } | ||
| fn update_permission() -> Weight { | ||
| (60_000_000 as Weight) | ||
| .saturating_add(DbWeight::get().reads(1 as Weight)) | ||
| .saturating_add(DbWeight::get().writes(1 as Weight)) | ||
| } | ||
| fn create_reserved() -> Weight { | ||
| (87_000_000 as Weight) | ||
| .saturating_add(DbWeight::get().reads(2 as Weight)) | ||
| .saturating_add(DbWeight::get().writes(4 as Weight)) | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.50.0 is out