Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
78c2aaf
Update substrate deps to point to polkadot-v1.0.0
surangap Mar 13, 2024
d7171cc
Update frontier deps to point to polkadot-v1.0.0-TRN
surangap Mar 13, 2024
79c253d
sc-consensus-uncles, sp-authorship removed
surangap Mar 14, 2024
1eef070
sc-finality-grandpa -> sc-consensus-grandpa
surangap Mar 14, 2024
80087e3
rpc_binary_search_estimate -> rpc-binary-search-estimate
surangap Mar 14, 2024
5a1c08c
remote-externalities -> frame-remote-externalities
surangap Mar 14, 2024
e07ccdb
remove feat wasmtime
surangap Mar 14, 2024
7922078
update toolchain file to nightly-2023-05-22
surangap Mar 15, 2024
f3ffce5
point clap to 4.4.18 precise
surangap Mar 15, 2024
93ac6c8
Update block_weights.rs to weight v2 manually for now
surangap Mar 15, 2024
e086466
Update code to support PrecompileSet::is_precompile() gas return chan…
surangap Mar 18, 2024
8a7c6a9
Remove BlockNumber, Header from frame_system::Config, Add Block insid…
surangap Mar 18, 2024
eb89eca
Update code to support AssetId trait removals #12740, new type aliase…
surangap Mar 18, 2024
9cbefed
temp - get rid of weight v2 errors for now
surangap Mar 20, 2024
8b6ac6c
use BlockNumberFor instead of BlockNumber, #14437
surangap Mar 20, 2024
93fe6cf
Use explicit call index #12891
surangap Mar 20, 2024
78c610c
BlockNumber -> BlockNumberFor round 2
surangap Mar 20, 2024
30fb8ff
GenesisBuild -> BuildGenesisConfig
surangap Mar 20, 2024
b58e6e7
Index -> Nonce, #14290
surangap Mar 20, 2024
3cab933
Bump ethabi v18.0.0, ethereum v14.0.0, ethereum-types v0.14.1
surangap Mar 21, 2024
924c7de
Multicurrency handling updates to support #12951 (#823)
surangap Mar 25, 2024
e16df2d
weight 2 arithmatic.
surangap Mar 25, 2024
f1800b0
Multicurrency more.
surangap Mar 25, 2024
1810470
Precompile remaining_gas more changes
surangap Mar 25, 2024
5398845
BlockNumber -> BlockHash in runtime apis
surangap Mar 26, 2024
94080a4
Weight 2 introduction in evm changes, frontier-#1039
surangap Mar 27, 2024
f98b68a
pallet_evm::Config, pallet_ethereum::Config add new type aliases.
surangap Mar 27, 2024
e28639b
Updates for Keystore overhaul.
surangap Mar 28, 2024
0d5cda4
Updates for Syncing protocol extraction from sc-network
surangap Mar 28, 2024
a408c91
fix iterative FinalityNotification dispatch due to introduction of Un…
surangap Apr 10, 2024
771b2db
Fix other errors in ethy-gadget
surangap Apr 10, 2024
96f8ba2
Fix pallet_evm::AccountCodes access
surangap Apr 10, 2024
179c4da
Fix Percent::from_rational for usize
surangap Apr 10, 2024
3ae3b3d
Merge branch 'main' into feat/substrate-v1.0.0
surangap Apr 15, 2024
4a278e3
Fix pallet-erc20-peg build errors.
surangap Apr 15, 2024
fb134e1
Fix pallet-ethy build errors.
surangap Apr 15, 2024
8fc37ab
Fix pallet-crowdsale build errors.
surangap Apr 15, 2024
d47062d
Fix seed-runtime
surangap Apr 16, 2024
5164493
client fixes so far
surangap Apr 22, 2024
4e0aa10
Fix ethy gadget syncing service build failures.
surangap Apr 30, 2024
116130b
Fix frontier essential task spawning build errors.
surangap Apr 30, 2024
18f415e
Fix service
surangap May 2, 2024
c9ffb27
Fix RPC
surangap May 2, 2024
9ecf4e6
Fix cli, command
surangap May 2, 2024
731a65c
Update pending_create_inherent_data_providers.
surangap May 6, 2024
c053c8d
Update pending_consensus_data_provider with BABE
surangap May 6, 2024
0abcff7
Fix RunCmd nested use.
surangap May 7, 2024
13332bf
Update MaxSetIdSessionEntries
surangap May 8, 2024
ba5da1f
Update pending_block runtime api
surangap May 8, 2024
32a0966
Add rocksdb to default flags
surangap May 8, 2024
2d0bdac
Fix ethy-gadget testing.
surangap May 9, 2024
8fc704e
Feat/substrate v1.0.0 Fix Tests (#836)
JasonTulp May 10, 2024
3f5e596
frame-benchmarking required, fmt
surangap May 10, 2024
65321ba
Update benchmark script
surangap May 12, 2024
d62b26c
Fix benchmark script pallet naming for good and fix pallet benchmarking.
surangap May 13, 2024
82db0eb
Add an exception for pallet-vortex non-standard dir name in benchmark…
surangap May 13, 2024
22c9465
New weights 🏋️
surangap May 13, 2024
b4757dc
Add a benchmark for XRPLBridge::set_xrp_source_tag()
surangap May 14, 2024
e907976
Merge remote-tracking branch 'origin/main' into feat/substrate-v1.0.0
JasonTulp May 16, 2024
9dddfcd
Fix merge issues
JasonTulp May 17, 2024
74759c7
Add migrations, bump spec versions
surangap May 20, 2024
297f6d0
Fix weight v2 lte comparisons and tests.
surangap May 23, 2024
effee9e
Ignore xrpl ed25519 test for now
surangap May 23, 2024
112f8fb
Update all benchmarks on feat/substrate-v1.0.0
actions-user May 23, 2024
bd39689
Add --skip-exculded-check flag to benchmarking script, Now supports r…
surangap May 24, 2024
a9836ff
Local weights for missing pallets
surangap May 24, 2024
b40022a
Update benchmark workflow to use updated script.
surangap May 24, 2024
cf70755
minor
surangap May 24, 2024
6bf9f13
Update benchmarks for frame-benchmarking pallet-assets pallet-im-onli…
actions-user May 24, 2024
6540a74
Update benchmarks for pallet-im-online on feat/substrate-v1.0.0
actions-user May 26, 2024
6f02ae4
Update benchmarks for pallet-assets on feat/substrate-v1.0.0
actions-user May 27, 2024
2b84a69
Update benchmarks for frame-benchmarking on feat/substrate-v1.0.0
actions-user May 27, 2024
850dc52
Feat/substrate v1.0.0 test 2 (#844)
JasonTulp May 27, 2024
18ae94b
Feat/substrate v1.0.0 e2e tests (#845)
zees-dev May 27, 2024
7265a87
yarn format
zees-dev May 27, 2024
de0860e
bump rust version in docker files and workflows
zees-dev May 27, 2024
0530058
disable security checks
zees-dev May 28, 2024
3333187
Revert "disable security checks"
zees-dev May 28, 2024
7832bff
removed dead code, cargo.toml client improvements
zees-dev May 29, 2024
d0a7017
upd fork state dockerfile
zees-dev May 29, 2024
7a273ee
added poolAddress function comment
zees-dev May 29, 2024
a9010d4
Review suggestions
surangap Jun 4, 2024
49730ae
Set pallet_evm create, create2, call function validate = true
surangap Jun 4, 2024
110ca59
Review suggestions
surangap Jun 4, 2024
fb8b511
Index -> Nonce
surangap Jun 4, 2024
ddfc365
Update correct weights for OnChainSeqPhragmen
surangap Jun 5, 2024
6f4a2f0
Add correct weights for pallet_sudo
surangap Jun 5, 2024
499ae65
review suggestions
surangap Jun 5, 2024
632791a
vortex-distribution -> vortex
surangap Jun 5, 2024
b056403
Update benchmarks for pallet-vortex on feat/substrate-v1.0.0
actions-user Jun 6, 2024
2bf5b10
Update benchmarks for pallet-sudo on feat/substrate-v1.0.0
actions-user Jun 6, 2024
0df217f
Update benchmarks for frame-election-provider-support on feat/substra…
actions-user Jun 6, 2024
27c2908
EVM Weight V2 handling
surangap Jun 7, 2024
1b6ba18
Add extra cost to is_precompile check for PrecompileSets (#848)
JasonTulp Jun 10, 2024
35bf4a1
Address Substrate 1.0.0 Test comments (#846)
JasonTulp Jun 10, 2024
31a3dd2
minor
surangap Jun 10, 2024
48db351
Updated MAXIMUM_BLOCK_WEIGHT to 1s. Cost files generated. (#849)
surangap Jun 10, 2024
10096fd
Prettier 🦋
JasonTulp Jun 11, 2024
2ac55ff
Bump seed-client to 8.0.0
surangap Jun 11, 2024
ea074fa
Add disable-eth-p2p flag to cli (#852)
JasonTulp Jun 17, 2024
6cfe6cd
Cargo workspace dependency migration (#851)
zees-dev Jun 18, 2024
a07d03b
Skip Staking storage when generating the fork state.
surangap Jun 25, 2024
0e8240b
CLI options for frontier sqlite backend (#855)
zees-dev Jun 25, 2024
e8c5712
XRPL e2e test improvements (#854)
zees-dev Jun 25, 2024
8543c73
Update FeeControl values as same as the mainnet (#856)
surangap Jul 1, 2024
e9d85ee
Eth `BLOCK_GAS_LIMIT` Optimizations (#853)
surangap Jul 3, 2024
c82f00b
Update Substrate deps for native support (#857)
JasonTulp Jul 8, 2024
549b023
Update transaction-payment default (#859)
JasonTulp Jul 8, 2024
6d903b6
fmt
surangap Jul 18, 2024
da69197
Bump spec version to 56
surangap Jul 18, 2024
3d5a4c2
Fix tests
surangap Jul 18, 2024
a401942
Fix warnings.
surangap Jul 19, 2024
f74652f
Update spec version to 55
surangap Jul 22, 2024
f51efb3
Revert version changes for now.
surangap Jul 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
temp - get rid of weight v2 errors for now
  • Loading branch information
surangap committed Mar 20, 2024
commit 9cbefedd3f4d7d8a06ccb83c302e6da910e9f17f
8 changes: 4 additions & 4 deletions pallet/assets-ext/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Futurepass DefaultProxy (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn create_asset() -> Weight {
Weight::from_ref_time(175_374_000 as u64)
Weight::from_all(175_374_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(6 as u64))
}
// Storage: AssetsExt AssetDeposit (r:0 w:1)
fn set_asset_deposit() -> Weight {
Weight::from_ref_time(9_969_000 as u64)
Weight::from_all(9_969_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
Expand All @@ -82,13 +82,13 @@ impl WeightInfo for () {
// Storage: Futurepass DefaultProxy (r:1 w:0)
// Storage: Assets Metadata (r:1 w:1)
fn create_asset() -> Weight {
Weight::from_ref_time(175_374_000 as u64)
Weight::from_all(175_374_000 as u64)
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().writes(6 as u64))
}
// Storage: AssetsExt AssetDeposit (r:0 w:1)
fn set_asset_deposit() -> Weight {
Weight::from_ref_time(9_969_000 as u64)
Weight::from_all(9_969_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
}
Expand Down
40 changes: 20 additions & 20 deletions pallet/crowdsale/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Assets Account (r:1 w:1)
// Storage: Crowdsale SaleInfo (r:0 w:1)
fn initialize() -> Weight {
Weight::from_ref_time(243_613_000 as u64)
Weight::from_all(243_613_000 as u64)
.saturating_add(T::DbWeight::get().reads(11 as u64))
.saturating_add(T::DbWeight::get().writes(10 as u64))
}
// Storage: Crowdsale SaleInfo (r:1 w:1)
// Storage: Crowdsale SaleEndBlocks (r:1 w:1)
fn enable() -> Weight {
Weight::from_ref_time(71_177_000 as u64)
Weight::from_all(71_177_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
Expand All @@ -90,7 +90,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: System Account (r:2 w:2)
// Storage: Crowdsale SaleParticipation (r:1 w:1)
fn participate() -> Weight {
Weight::from_ref_time(158_737_000 as u64)
Weight::from_all(158_737_000 as u64)
.saturating_add(T::DbWeight::get().reads(7 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
Expand All @@ -103,7 +103,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: System Account (r:2 w:2)
// Storage: Crowdsale NextUnsignedAt (r:0 w:1)
fn distribute_crowdsale_rewards() -> Weight {
Weight::from_ref_time(244_482_000 as u64)
Weight::from_all(244_482_000 as u64)
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(9 as u64))
}
Expand All @@ -115,7 +115,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: System Account (r:2 w:2)
// Storage: Crowdsale SaleDistribution (r:1 w:1)
fn claim_voucher() -> Weight {
Weight::from_ref_time(239_613_000 as u64)
Weight::from_all(239_613_000 as u64)
.saturating_add(T::DbWeight::get().reads(10 as u64))
.saturating_add(T::DbWeight::get().writes(8 as u64))
}
Expand All @@ -126,14 +126,14 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Nft CollectionInfo (r:1 w:1)
// Storage: Nft PublicMintInfo (r:1 w:0)
fn redeem_voucher() -> Weight {
Weight::from_ref_time(177_082_000 as u64)
Weight::from_all(177_082_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(4 as u64))
}
// Storage: Crowdsale SaleInfo (r:1 w:1)
// Storage: Crowdsale SaleDistribution (r:1 w:1)
fn try_force_distribution() -> Weight {
Weight::from_ref_time(66_937_000 as u64)
Weight::from_all(66_937_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(2 as u64))
}
Expand All @@ -146,17 +146,17 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Crowdsale SaleDistribution (r:1 w:1)
/// The range of component `p` is `[1, 5]`.
fn on_initialize(p: u32, ) -> Weight {
Weight::from_ref_time(209_808_000 as u64)
Weight::from_all(209_808_000 as u64)
// Standard Error: 945_171
.saturating_add(Weight::from_ref_time(96_603_123 as u64).saturating_mul(p as u64))
.saturating_add(Weight::from_all(96_603_123 as u64).saturating_mul(p as u64))
.saturating_add(T::DbWeight::get().reads(12 as u64))
.saturating_add(T::DbWeight::get().reads((6 as u64).saturating_mul(p as u64)))
.saturating_add(T::DbWeight::get().writes(11 as u64))
.saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(p as u64)))
}
// Storage: Crowdsale SaleEndBlocks (r:1 w:0)
fn on_initialize_empty() -> Weight {
Weight::from_ref_time(10_200_000 as u64)
Weight::from_all(10_200_000 as u64)
.saturating_add(T::DbWeight::get().reads(1 as u64))
}
}
Expand All @@ -174,14 +174,14 @@ impl WeightInfo for () {
// Storage: Assets Account (r:1 w:1)
// Storage: Crowdsale SaleInfo (r:0 w:1)
fn initialize() -> Weight {
Weight::from_ref_time(243_613_000 as u64)
Weight::from_all(243_613_000 as u64)
.saturating_add(RocksDbWeight::get().reads(11 as u64))
.saturating_add(RocksDbWeight::get().writes(10 as u64))
}
// Storage: Crowdsale SaleInfo (r:1 w:1)
// Storage: Crowdsale SaleEndBlocks (r:1 w:1)
fn enable() -> Weight {
Weight::from_ref_time(71_177_000 as u64)
Weight::from_all(71_177_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
Expand All @@ -191,7 +191,7 @@ impl WeightInfo for () {
// Storage: System Account (r:2 w:2)
// Storage: Crowdsale SaleParticipation (r:1 w:1)
fn participate() -> Weight {
Weight::from_ref_time(158_737_000 as u64)
Weight::from_all(158_737_000 as u64)
.saturating_add(RocksDbWeight::get().reads(7 as u64))
.saturating_add(RocksDbWeight::get().writes(7 as u64))
}
Expand All @@ -204,7 +204,7 @@ impl WeightInfo for () {
// Storage: System Account (r:2 w:2)
// Storage: Crowdsale NextUnsignedAt (r:0 w:1)
fn distribute_crowdsale_rewards() -> Weight {
Weight::from_ref_time(244_482_000 as u64)
Weight::from_all(244_482_000 as u64)
.saturating_add(RocksDbWeight::get().reads(10 as u64))
.saturating_add(RocksDbWeight::get().writes(9 as u64))
}
Expand All @@ -216,7 +216,7 @@ impl WeightInfo for () {
// Storage: System Account (r:2 w:2)
// Storage: Crowdsale SaleDistribution (r:1 w:1)
fn claim_voucher() -> Weight {
Weight::from_ref_time(239_613_000 as u64)
Weight::from_all(239_613_000 as u64)
.saturating_add(RocksDbWeight::get().reads(10 as u64))
.saturating_add(RocksDbWeight::get().writes(8 as u64))
}
Expand All @@ -227,14 +227,14 @@ impl WeightInfo for () {
// Storage: Nft CollectionInfo (r:1 w:1)
// Storage: Nft PublicMintInfo (r:1 w:0)
fn redeem_voucher() -> Weight {
Weight::from_ref_time(177_082_000 as u64)
Weight::from_all(177_082_000 as u64)
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(4 as u64))
}
// Storage: Crowdsale SaleInfo (r:1 w:1)
// Storage: Crowdsale SaleDistribution (r:1 w:1)
fn try_force_distribution() -> Weight {
Weight::from_ref_time(66_937_000 as u64)
Weight::from_all(66_937_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(2 as u64))
}
Expand All @@ -247,17 +247,17 @@ impl WeightInfo for () {
// Storage: Crowdsale SaleDistribution (r:1 w:1)
/// The range of component `p` is `[1, 5]`.
fn on_initialize(p: u32, ) -> Weight {
Weight::from_ref_time(209_808_000 as u64)
Weight::from_all(209_808_000 as u64)
// Standard Error: 945_171
.saturating_add(Weight::from_ref_time(96_603_123 as u64).saturating_mul(p as u64))
.saturating_add(Weight::from_all(96_603_123 as u64).saturating_mul(p as u64))
.saturating_add(RocksDbWeight::get().reads(12 as u64))
.saturating_add(RocksDbWeight::get().reads((6 as u64).saturating_mul(p as u64)))
.saturating_add(RocksDbWeight::get().writes(11 as u64))
.saturating_add(RocksDbWeight::get().writes((5 as u64).saturating_mul(p as u64)))
}
// Storage: Crowdsale SaleEndBlocks (r:1 w:0)
fn on_initialize_empty() -> Weight {
Weight::from_ref_time(10_200_000 as u64)
Weight::from_all(10_200_000 as u64)
.saturating_add(RocksDbWeight::get().reads(1 as u64))
}
}
Expand Down
28 changes: 14 additions & 14 deletions pallet/dex/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Assets Asset (r:2 w:2)
// Storage: Assets Account (r:4 w:4)
fn swap_with_exact_supply() -> Weight {
Weight::from_ref_time(212_601_000 as u64)
Weight::from_all(212_601_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
Expand All @@ -74,7 +74,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Assets Asset (r:2 w:2)
// Storage: Assets Account (r:4 w:4)
fn swap_with_exact_target() -> Weight {
Weight::from_ref_time(214_052_000 as u64)
Weight::from_all(214_052_000 as u64)
.saturating_add(T::DbWeight::get().reads(8 as u64))
.saturating_add(T::DbWeight::get().writes(7 as u64))
}
Expand All @@ -91,7 +91,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Dex FeeTo (r:1 w:0)
// Storage: Dex TradingPairStatuses (r:0 w:1)
fn add_liquidity() -> Weight {
Weight::from_ref_time(418_386_000 as u64)
Weight::from_all(418_386_000 as u64)
.saturating_add(T::DbWeight::get().reads(23 as u64))
.saturating_add(T::DbWeight::get().writes(20 as u64))
}
Expand All @@ -103,27 +103,27 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Dex LiquidityPoolLastK (r:1 w:1)
// Storage: Dex FeeTo (r:1 w:0)
fn remove_liquidity() -> Weight {
Weight::from_ref_time(338_661_000 as u64)
Weight::from_all(338_661_000 as u64)
.saturating_add(T::DbWeight::get().reads(14 as u64))
.saturating_add(T::DbWeight::get().writes(12 as u64))
}
// Storage: Dex TradingPairLPToken (r:1 w:0)
// Storage: Dex TradingPairStatuses (r:1 w:1)
fn reenable_trading_pair() -> Weight {
Weight::from_ref_time(70_315_000 as u64)
Weight::from_all(70_315_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Dex TradingPairLPToken (r:1 w:0)
// Storage: Dex TradingPairStatuses (r:1 w:1)
fn disable_trading_pair() -> Weight {
Weight::from_ref_time(70_865_000 as u64)
Weight::from_all(70_865_000 as u64)
.saturating_add(T::DbWeight::get().reads(2 as u64))
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Dex FeeTo (r:0 w:1)
fn set_fee_to() -> Weight {
Weight::from_ref_time(41_952_000 as u64)
Weight::from_all(41_952_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
Expand All @@ -135,7 +135,7 @@ impl WeightInfo for () {
// Storage: Assets Asset (r:2 w:2)
// Storage: Assets Account (r:4 w:4)
fn swap_with_exact_supply() -> Weight {
Weight::from_ref_time(212_601_000 as u64)
Weight::from_all(212_601_000 as u64)
.saturating_add(RocksDbWeight::get().reads(8 as u64))
.saturating_add(RocksDbWeight::get().writes(7 as u64))
}
Expand All @@ -144,7 +144,7 @@ impl WeightInfo for () {
// Storage: Assets Asset (r:2 w:2)
// Storage: Assets Account (r:4 w:4)
fn swap_with_exact_target() -> Weight {
Weight::from_ref_time(214_052_000 as u64)
Weight::from_all(214_052_000 as u64)
.saturating_add(RocksDbWeight::get().reads(8 as u64))
.saturating_add(RocksDbWeight::get().writes(7 as u64))
}
Expand All @@ -161,7 +161,7 @@ impl WeightInfo for () {
// Storage: Dex FeeTo (r:1 w:0)
// Storage: Dex TradingPairStatuses (r:0 w:1)
fn add_liquidity() -> Weight {
Weight::from_ref_time(418_386_000 as u64)
Weight::from_all(418_386_000 as u64)
.saturating_add(RocksDbWeight::get().reads(23 as u64))
.saturating_add(RocksDbWeight::get().writes(20 as u64))
}
Expand All @@ -173,27 +173,27 @@ impl WeightInfo for () {
// Storage: Dex LiquidityPoolLastK (r:1 w:1)
// Storage: Dex FeeTo (r:1 w:0)
fn remove_liquidity() -> Weight {
Weight::from_ref_time(338_661_000 as u64)
Weight::from_all(338_661_000 as u64)
.saturating_add(RocksDbWeight::get().reads(14 as u64))
.saturating_add(RocksDbWeight::get().writes(12 as u64))
}
// Storage: Dex TradingPairLPToken (r:1 w:0)
// Storage: Dex TradingPairStatuses (r:1 w:1)
fn reenable_trading_pair() -> Weight {
Weight::from_ref_time(70_315_000 as u64)
Weight::from_all(70_315_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Dex TradingPairLPToken (r:1 w:0)
// Storage: Dex TradingPairStatuses (r:1 w:1)
fn disable_trading_pair() -> Weight {
Weight::from_ref_time(70_865_000 as u64)
Weight::from_all(70_865_000 as u64)
.saturating_add(RocksDbWeight::get().reads(2 as u64))
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Dex FeeTo (r:0 w:1)
fn set_fee_to() -> Weight {
Weight::from_ref_time(41_952_000 as u64)
Weight::from_all(41_952_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
}
Expand Down
16 changes: 8 additions & 8 deletions pallet/doughnut/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,22 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: MaintenanceMode BlockedCalls (r:1 w:0)
// Storage: MaintenanceMode BlockedPallets (r:1 w:0)
fn transact() -> Weight {
Weight::from_ref_time(209_000_000 as u64)
Weight::from_all(209_000_000 as u64)
.saturating_add(T::DbWeight::get().reads(5 as u64))
}
// Storage: Doughnut BlockedDoughnuts (r:0 w:1)
fn revoke_doughnut() -> Weight {
Weight::from_ref_time(14_000_000 as u64)
Weight::from_all(14_000_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Doughnut BlockedHolders (r:0 w:1)
fn revoke_holder() -> Weight {
Weight::from_ref_time(5_000_000 as u64)
Weight::from_all(5_000_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
// Storage: Doughnut WhitelistedHolders (r:0 w:1)
fn update_whitelisted_holders() -> Weight {
Weight::from_ref_time(4_000_000 as u64)
Weight::from_all(4_000_000 as u64)
.saturating_add(T::DbWeight::get().writes(1 as u64))
}
}
Expand All @@ -91,22 +91,22 @@ impl WeightInfo for () {
// Storage: MaintenanceMode BlockedCalls (r:1 w:0)
// Storage: MaintenanceMode BlockedPallets (r:1 w:0)
fn transact() -> Weight {
Weight::from_ref_time(209_000_000 as u64)
Weight::from_all(209_000_000 as u64)
.saturating_add(RocksDbWeight::get().reads(5 as u64))
}
// Storage: Doughnut BlockedDoughnuts (r:0 w:1)
fn revoke_doughnut() -> Weight {
Weight::from_ref_time(14_000_000 as u64)
Weight::from_all(14_000_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Doughnut BlockedHolders (r:0 w:1)
fn revoke_holder() -> Weight {
Weight::from_ref_time(5_000_000 as u64)
Weight::from_all(5_000_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
// Storage: Doughnut WhitelistedHolders (r:0 w:1)
fn update_whitelisted_holders() -> Weight {
Weight::from_ref_time(4_000_000 as u64)
Weight::from_all(4_000_000 as u64)
.saturating_add(RocksDbWeight::get().writes(1 as u64))
}
}
Expand Down
4 changes: 2 additions & 2 deletions pallet/echo/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: EthBridge BridgePaused (r:1 w:0)
// Storage: System Digest (r:1 w:1)
fn ping() -> Weight {
Weight::from_ref_time(85_832_000 as u64)
Weight::from_all(85_832_000 as u64)
.saturating_add(T::DbWeight::get().reads(6 as u64))
.saturating_add(T::DbWeight::get().writes(3 as u64))
}
Expand All @@ -76,7 +76,7 @@ impl WeightInfo for () {
// Storage: EthBridge BridgePaused (r:1 w:0)
// Storage: System Digest (r:1 w:1)
fn ping() -> Weight {
Weight::from_ref_time(85_832_000 as u64)
Weight::from_all(85_832_000 as u64)
.saturating_add(RocksDbWeight::get().reads(6 as u64))
.saturating_add(RocksDbWeight::get().writes(3 as u64))
}
Expand Down
Loading