rebrand: kusama → dicle
- Replace all kusama/Kusama references with dicle/Dicle - Rename weight files from ksm_size to dcl_size - Update papi-tests files from ksm to dcl - Remove chain-specs/kusama.json files - cargo check --workspace successful (Finished output) - Update MAINNET_ROADMAP.md: FAZ 8 completed
This commit is contained in:
@@ -78,7 +78,7 @@ This type looks into `parameter_types! { pub storage UsePreviousValidators: bool
|
||||
validators run by ZN (often alice and bob). If AH sends us back a validator set that contains a
|
||||
large new validator set, the setup will break. As seen in the next section, a number of runtime
|
||||
presets are designed to generate large validator/nominator sets to mimic the behavior of PezkuwiChain
|
||||
and Kusama. We thereofre must use this hack in such cases.
|
||||
and Dicle. We thereofre must use this hack in such cases.
|
||||
- If set to `false`, it will use the new validator set.
|
||||
|
||||
#### Presets
|
||||
@@ -99,7 +99,7 @@ More concretely, the presets are:
|
||||
- Teyrchain:
|
||||
- `fake-dev`: 4 page, small number of fake validators and nominators.
|
||||
- `fake-hez`: 32 pages, large number of fake validators and nominators.
|
||||
- `fake-ksm`: 16 pages, large number of fake validators and nominators.
|
||||
- `fake-dcl`: 16 pages, large number of fake validators and nominators.
|
||||
- `real-s`: 4 pages, alice and bob as validators, 500 fake nominators
|
||||
- `real-m`: 4 pages, alice, bob, dave, eve as validators, 2000 fake nominators.
|
||||
- Relay Chain
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Bizinikiwi. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! New governance configurations for the Kusama runtime.
|
||||
//! New governance configurations for the Dicle runtime.
|
||||
|
||||
use super::*;
|
||||
use crate::xcm_config::Collectives;
|
||||
|
||||
@@ -59,15 +59,15 @@ pub mod pezpallet_custom_origins {
|
||||
ReferendumCanceller,
|
||||
/// Origin able to kill referenda.
|
||||
ReferendumKiller,
|
||||
/// Origin able to spend up to 1 KSM from the treasury at once.
|
||||
/// Origin able to spend up to 1 DCL from the treasury at once.
|
||||
SmallTipper,
|
||||
/// Origin able to spend up to 5 KSM from the treasury at once.
|
||||
/// Origin able to spend up to 5 DCL from the treasury at once.
|
||||
BigTipper,
|
||||
/// Origin able to spend up to 50 KSM from the treasury at once.
|
||||
/// Origin able to spend up to 50 DCL from the treasury at once.
|
||||
SmallSpender,
|
||||
/// Origin able to spend up to 500 KSM from the treasury at once.
|
||||
/// Origin able to spend up to 500 DCL from the treasury at once.
|
||||
MediumSpender,
|
||||
/// Origin able to spend up to 5,000 KSM from the treasury at once.
|
||||
/// Origin able to spend up to 5,000 DCL from the treasury at once.
|
||||
BigSpender,
|
||||
/// Origin able to dispatch a whitelisted call.
|
||||
WhitelistedCaller,
|
||||
|
||||
@@ -1179,7 +1179,7 @@ where
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
// Minimum 100 bytes/KSM deposited (1 CENT/byte)
|
||||
// Minimum 100 bytes/DCL deposited (1 CENT/byte)
|
||||
pub const BasicDeposit: Balance = 1000 * CENTS; // 258 bytes on-chain
|
||||
pub const ByteDeposit: Balance = deposit(0, 1);
|
||||
pub const UsernameDeposit: Balance = deposit(0, 32);
|
||||
|
||||
+3
-3
@@ -20,13 +20,13 @@
|
||||
//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `runner-e8ezs4ez-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dicle-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/pezkuwi
|
||||
// benchmark
|
||||
// pezpallet
|
||||
// --chain=kusama-dev
|
||||
// --chain=dicle-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --no-storage-info
|
||||
@@ -37,7 +37,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/dicle/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
|
||||
@@ -146,7 +146,7 @@ pub fn get_preset(id: &PresetId) -> Option<Vec<u8>> {
|
||||
params.dev_stakers = Some((2_500, 25_000));
|
||||
staking_async_teyrchain_genesis(params, id.to_string())
|
||||
},
|
||||
"fake-ksm" => {
|
||||
"fake-dcl" => {
|
||||
params.validator_count = 1_000;
|
||||
params.dev_stakers = Some((4_500, 15_000));
|
||||
staking_async_teyrchain_genesis(params, id.to_string())
|
||||
@@ -168,6 +168,6 @@ pub fn preset_names() -> Vec<PresetId> {
|
||||
PresetId::from("real-m"),
|
||||
PresetId::from("fake-dev"),
|
||||
PresetId::from("fake-hez"),
|
||||
PresetId::from("fake-ksm"),
|
||||
PresetId::from("fake-dcl"),
|
||||
]
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//! New governance configurations for the Kusama runtime.
|
||||
//! New governance configurations for the Dicle runtime.
|
||||
|
||||
use super::*;
|
||||
use crate::xcm_config::Collectives;
|
||||
|
||||
@@ -59,15 +59,15 @@ pub mod pezpallet_custom_origins {
|
||||
ReferendumCanceller,
|
||||
/// Origin able to kill referenda.
|
||||
ReferendumKiller,
|
||||
/// Origin able to spend up to 1 KSM from the treasury at once.
|
||||
/// Origin able to spend up to 1 DCL from the treasury at once.
|
||||
SmallTipper,
|
||||
/// Origin able to spend up to 5 KSM from the treasury at once.
|
||||
/// Origin able to spend up to 5 DCL from the treasury at once.
|
||||
BigTipper,
|
||||
/// Origin able to spend up to 50 KSM from the treasury at once.
|
||||
/// Origin able to spend up to 50 DCL from the treasury at once.
|
||||
SmallSpender,
|
||||
/// Origin able to spend up to 500 KSM from the treasury at once.
|
||||
/// Origin able to spend up to 500 DCL from the treasury at once.
|
||||
MediumSpender,
|
||||
/// Origin able to spend up to 5,000 KSM from the treasury at once.
|
||||
/// Origin able to spend up to 5,000 DCL from the treasury at once.
|
||||
BigSpender,
|
||||
/// Origin able to dispatch a whitelisted call.
|
||||
WhitelistedCaller,
|
||||
|
||||
@@ -2182,9 +2182,9 @@ impl_runtime_apis! {
|
||||
log::info!(target: "runtime", "detected a fake-dev preset");
|
||||
// noop, default values are for dev.
|
||||
},
|
||||
"fake-ksm" => {
|
||||
log::info!(target: "runtime", "detected fake-ksm preset");
|
||||
crate::staking::enable_ksm_preset(true);
|
||||
"fake-dcl" => {
|
||||
log::info!(target: "runtime", "detected fake-dcl preset");
|
||||
crate::staking::enable_dcl_preset(true);
|
||||
},
|
||||
"fake-hez" => {
|
||||
log::info!(target: "runtime", "detected fake-hez preset");
|
||||
|
||||
@@ -43,7 +43,7 @@ pub(crate) fn enable_hez_preset(fast: bool) {
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn enable_ksm_preset(fast: bool) {
|
||||
pub(crate) fn enable_dcl_preset(fast: bool) {
|
||||
Pages::set(&16);
|
||||
MinerPages::set(&4);
|
||||
MaxElectingVoters::set(&12_500);
|
||||
@@ -55,21 +55,21 @@ pub(crate) fn enable_ksm_preset(fast: bool) {
|
||||
}
|
||||
|
||||
// This macro contains all of the variable parameters that we intend to use for Pezkuwi and
|
||||
// Kusama.
|
||||
// Dicle.
|
||||
//
|
||||
// Note that this runtime has 3 broad presets:
|
||||
//
|
||||
// 1. dev: fast development preset.
|
||||
// 2. dot-size: as close to Pezkuwi as possible.
|
||||
// 3. ksm-size: as close to Kusama as possible.
|
||||
// 3. dcl-size: as close to Dicle as possible.
|
||||
//
|
||||
// The default values here are related to `dev`. The above helper functions are used at launch (see
|
||||
// `build_state` runtime-api) to enable dot/ksm presets.
|
||||
// `build_state` runtime-api) to enable dot/dcl presets.
|
||||
parameter_types! {
|
||||
/// Number of election pages that we operate upon.
|
||||
///
|
||||
/// * Pezkuwi: 32 (3.2m snapshot)
|
||||
/// * Kusama: 16 (1.6m snapshot)
|
||||
/// * Dicle: 16 (1.6m snapshot)
|
||||
///
|
||||
/// Reasoning: Both leads to around 700 nominators per-page, yielding the weights in
|
||||
/// https://github.com/pezkuwichain/pezkuwi-sdk/issues/273, the maximum of which being around 1mb
|
||||
@@ -82,22 +82,22 @@ parameter_types! {
|
||||
pub storage Pages: u32 = 4;
|
||||
|
||||
/// * Pezkuwi: 16 * 32 (512 blocks, 51.2m).
|
||||
/// * Kusama: 8 * 16 (12 blocks, 12.8m).
|
||||
/// * Dicle: 8 * 16 (12 blocks, 12.8m).
|
||||
///
|
||||
/// (MaxSubmissions * Pages) for both, enough to verify all solutions.
|
||||
///
|
||||
/// Reasoning: Less security needed in Kusama, to compensate for the shorter session duration.
|
||||
/// Reasoning: Less security needed in Dicle, to compensate for the shorter session duration.
|
||||
pub storage SignedValidationPhase: u32 = Pages::get() * 2;
|
||||
|
||||
/// * Pezkuwi: 200 blocks, 20m.
|
||||
/// * Kusama: 100 blocks, 10m.
|
||||
/// * Dicle: 100 blocks, 10m.
|
||||
///
|
||||
/// Reasoning:
|
||||
///
|
||||
/// * Pezkuwi wishes at least 8 submitters to be able to submit. That is 8 * 32 = 256 pages
|
||||
/// for all submitters. Weight of each submission page is roughly 0.0007 of block weight. 200
|
||||
/// blocks is more than enough.
|
||||
/// * Kusama wishes at least 4 submitters to be able to submit. That is 4 * 16 = 64 pages for
|
||||
/// * Dicle wishes at least 4 submitters to be able to submit. That is 4 * 16 = 64 pages for
|
||||
/// all submitters. Weight of each submission page is roughly 0.0007 of block weight. 100
|
||||
/// blocks is more than enough.
|
||||
///
|
||||
@@ -105,16 +105,16 @@ parameter_types! {
|
||||
pub storage SignedPhase: u32 = 4 * MINUTES;
|
||||
|
||||
/// * Pezkuwi: 4
|
||||
/// * Kusama: 4
|
||||
/// * Dicle: 4
|
||||
///
|
||||
/// Reasoning: with 4 pages, the `ElectionScore` computed in both Kusama and Pezkuwi is pretty
|
||||
/// Reasoning: with 4 pages, the `ElectionScore` computed in both Dicle and Pezkuwi is pretty
|
||||
/// good. See and run `run_election_with_pages` below to see. With 4 pages, roughly 2800
|
||||
/// nominators will be elected. This is not great for staking reward, but is good enough for
|
||||
/// chain's economic security.
|
||||
pub storage MinerPages: u32 = 4;
|
||||
|
||||
/// * Pezkuwi: 300 blocks, 30m
|
||||
/// * Kusama: 150 blocks, 15m
|
||||
/// * Dicle: 150 blocks, 15m
|
||||
///
|
||||
/// Reasoning: The only criteria is for the phase to be long enough such that the OCW miner is
|
||||
/// able to run the mining code at least twice. Note that `OffchainRepeat` limits execution of
|
||||
@@ -123,13 +123,13 @@ parameter_types! {
|
||||
/// Benchmarks logs from tests below are:
|
||||
///
|
||||
/// * exec_time of pezkuwi miner in WASM with 4 pages is 27369ms
|
||||
/// * exec_time of kusama miner in WASM with 4 pages is 23848ms
|
||||
/// * exec_time of dicle miner in WASM with 4 pages is 23848ms
|
||||
///
|
||||
/// See `max_ocw_miner_pages_as_per_weights` test below.
|
||||
pub storage UnsignedPhase: u32 = MINUTES;
|
||||
|
||||
/// * Pezkuwi: 22_500
|
||||
/// * Kusama: 12_500
|
||||
/// * Dicle: 12_500
|
||||
///
|
||||
/// Reasoning: Yielding 703 nominators per page in both. See [`Pages`] for more info. Path to
|
||||
/// Upgrade: We may wish to increase the number of "active nominators" in both networks by 1)
|
||||
@@ -138,7 +138,7 @@ parameter_types! {
|
||||
pub storage MaxElectingVoters: u32 = 1000;
|
||||
|
||||
/// * Pezkuwi: 2000 (always equal to `staking.maxValidatorCount`)
|
||||
/// * Kusama: 4000 (always equal to `staking.maxValidatorCount`)
|
||||
/// * Dicle: 4000 (always equal to `staking.maxValidatorCount`)
|
||||
///
|
||||
/// Reasoning: As of now, we don't have a way to sort validators, so we wish to select all of
|
||||
/// them. In case this limit is reached, governance should introduce `minValidatorBond`, and
|
||||
@@ -146,20 +146,20 @@ parameter_types! {
|
||||
/// info: SRL-417
|
||||
pub storage TargetSnapshotPerBlock: u32 = 4000;
|
||||
|
||||
// NOTE: rest of the parameters are computed identically in both Kusama and Pezkuwi.
|
||||
// NOTE: rest of the parameters are computed identically in both Dicle and Pezkuwi.
|
||||
|
||||
/// Allow OCW miner to at most run 4 times in the entirety of the 10m Unsigned Phase.
|
||||
pub OffchainRepeat: u32 = UnsignedPhase::get() / 4;
|
||||
|
||||
/// Upper bound of `Staking.ValidatorCount`, which translates to
|
||||
/// `ElectionProvider::DesiredTargets`. 1000 is the end-game for both Kusama and Pezkuwi for
|
||||
/// `ElectionProvider::DesiredTargets`. 1000 is the end-game for both Dicle and Pezkuwi for
|
||||
/// the foreseeable future.
|
||||
pub const MaxValidatorSet: u32 = 1000;
|
||||
|
||||
/// Number of nominators per page of the snapshot, and consequently number of backers in the
|
||||
/// solution.
|
||||
///
|
||||
/// 703 in both Pezkuwi and Kusama.
|
||||
/// 703 in both Pezkuwi and Dicle.
|
||||
pub VoterSnapshotPerBlock: u32 = MaxElectingVoters::get() / Pages::get();
|
||||
|
||||
/// In each page, we may observe up to all of the validators.
|
||||
@@ -185,7 +185,7 @@ parameter_types! {
|
||||
// Signed phase parameters.
|
||||
parameter_types! {
|
||||
/// * Pezkuwi: 16
|
||||
/// * Kusama: 8
|
||||
/// * Dicle: 8
|
||||
///
|
||||
/// Reasoning: This is double the capacity of verification. There is no point for someone to be
|
||||
/// a submitter if they cannot be verified, yet, it is beneficial to act as a "reserve", in case
|
||||
@@ -195,26 +195,26 @@ parameter_types! {
|
||||
/// * Pezkuwi: Geometric progression with starting value 4 HEZ, common factor 2. For 16
|
||||
/// submissions, it will be [4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384,
|
||||
/// 32768, 65536, 131072]. Sum is `262140 HEZ` for all 16 submissions.
|
||||
/// * Kusama: Geometric progression with with starting value 0.1 KSM, common factor 4. For 8
|
||||
/// * Dicle: Geometric progression with with starting value 0.1 DCL, common factor 4. For 8
|
||||
/// submissions, values will be: `[0.1, 0.4, 1.6, 6.4, 25.6, 102.4, 409.6, 1638.4]`. Sum is
|
||||
/// `2184.5 KSM` for all 8 submissions.
|
||||
/// `2184.5 DCL` for all 8 submissions.
|
||||
pub DepositBase: Balance = 5 * UNITS;
|
||||
|
||||
/// * Pezkuwi: standard byte deposit configured in PAH.
|
||||
/// * Kusama: standard byte deposit configured in KAH.
|
||||
/// * Dicle: standard byte deposit configured in KAH.
|
||||
///
|
||||
/// TODO: need a maximum solution length for each runtime.
|
||||
pub DepositPerPage: Balance = 1 * UNITS;
|
||||
|
||||
/// * Pezkuwi: 20 HEZ
|
||||
/// * Kusama: 1 KSM
|
||||
/// * Dicle: 1 DCL
|
||||
///
|
||||
///
|
||||
/// Fixed deposit for invulnerable accounts.
|
||||
pub InvulnerableDeposit: Balance = UNITS;
|
||||
|
||||
/// * Pezkuwi: 10% (more restrictive, don't bail!)
|
||||
/// * Kusama: 25%
|
||||
/// * Dicle: 25%
|
||||
///
|
||||
/// Reasoning: The weight/fee of the `bail` transaction is already assuming you delete all pages
|
||||
/// of your solution while bailing, and charges you accordingly. So the chain is being
|
||||
@@ -223,7 +223,7 @@ parameter_types! {
|
||||
pub BailoutGraceRatio: Perbill = Perbill::from_percent(5);
|
||||
|
||||
/// * Pezkuwi: 100%
|
||||
/// * Kusama: 100%
|
||||
/// * Dicle: 100%
|
||||
///
|
||||
/// The transaction fee of `register` takes into account the cost of possibly ejecting another
|
||||
/// submission into account. In the scenario that the honest submitter is being ejected by an
|
||||
@@ -232,12 +232,12 @@ parameter_types! {
|
||||
pub EjectGraceRatio: Perbill = Perbill::from_percent(50);
|
||||
|
||||
/// * Pezkuwi: 5 DOTs per era/day
|
||||
/// * Kusama: 1 KSM per era/6h
|
||||
/// * Dicle: 1 DCL per era/6h
|
||||
pub RewardBase: Balance = 10 * UNITS;
|
||||
}
|
||||
|
||||
// * Pezkuwi: as seen here.
|
||||
// * Kusama, we will use a similar type, but with 24 as the maximum filed length.
|
||||
// * Dicle, we will use a similar type, but with 24 as the maximum filed length.
|
||||
//
|
||||
// Reasoning: using u16, we can have up to 65,536 nominators and validators represented in the
|
||||
// snapshot. If we every go beyond this, we have to first adjust this type.
|
||||
@@ -418,7 +418,7 @@ parameter_types! {
|
||||
pub const MaxControllersInDeprecationBatch: u32 = 751;
|
||||
pub const MaxNominations: u32 = <NposCompactSolution16 as pezframe_election_provider_support::NposSolution>::LIMIT as u32;
|
||||
// Note: In WAH, this should be set closer to the ideal era duration to trigger capping more
|
||||
// frequently. On Kusama and Pezkuwi, a higher value like 7 × ideal_era_duration is more
|
||||
// frequently. On Dicle and Pezkuwi, a higher value like 7 × ideal_era_duration is more
|
||||
// appropriate.
|
||||
pub const MaxEraDuration: u64 = RelaySessionDuration::get() as u64 * RELAY_CHAIN_SLOT_DURATION_MILLIS as u64 * SessionsPerEra::get() as u64;
|
||||
pub MaxPruningItems: u32 = 100;
|
||||
@@ -692,13 +692,13 @@ mod tests {
|
||||
let block_weight = <Runtime as pezframe_system::Config>::BlockWeights::get().max_block;
|
||||
let pezkuwi_signed_submission =
|
||||
mb::weights::pezkuwi::MultiBlockSignedWeightInfo::<Runtime>::submit_page();
|
||||
let kusama_signed_submission =
|
||||
mb::weights::kusama::MultiBlockSignedWeightInfo::<Runtime>::submit_page();
|
||||
let dicle_signed_submission =
|
||||
mb::weights::dicle::MultiBlockSignedWeightInfo::<Runtime>::submit_page();
|
||||
|
||||
log::info!(target: "runtime", "Pezkuwi:");
|
||||
weight_diff(block_weight, pezkuwi_signed_submission);
|
||||
log::info!(target: "runtime", "Kusama:");
|
||||
weight_diff(block_weight, kusama_signed_submission);
|
||||
log::info!(target: "runtime", "Dicle:");
|
||||
weight_diff(block_weight, dicle_signed_submission);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -718,15 +718,15 @@ mod tests {
|
||||
});
|
||||
|
||||
pezsp_io::TestExternalities::default().execute_with(|| {
|
||||
super::enable_ksm_preset(false);
|
||||
super::enable_dcl_preset(false);
|
||||
let duration = mb::Pezpallet::<Runtime>::average_election_duration();
|
||||
let kusama_session = 1 * HOURS;
|
||||
let dicle_session = 1 * HOURS;
|
||||
log::info!(
|
||||
target: "runtime",
|
||||
"Kusama election duration: {:?}, session: {:?} ({} sessions)",
|
||||
"Dicle election duration: {:?}, session: {:?} ({} sessions)",
|
||||
duration,
|
||||
kusama_session,
|
||||
duration / kusama_session
|
||||
dicle_session,
|
||||
duration / dicle_session
|
||||
);
|
||||
});
|
||||
}
|
||||
@@ -745,9 +745,9 @@ mod tests {
|
||||
for p in 1..=16 {
|
||||
log::info!(
|
||||
target: "runtime",
|
||||
"exec_time of kusama miner in WASM with {} pages is {:?}ms",
|
||||
"exec_time of dicle miner in WASM with {} pages is {:?}ms",
|
||||
p,
|
||||
mb::weights::kusama::MultiBlockUnsignedWeightInfo::<Runtime>::mine_solution(p).ref_time() / WEIGHT_REF_TIME_PER_MILLIS
|
||||
mb::weights::dicle::MultiBlockUnsignedWeightInfo::<Runtime>::mine_solution(p).ref_time() / WEIGHT_REF_TIME_PER_MILLIS
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -20,13 +20,13 @@
|
||||
//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `runner-e8ezs4ez-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dicle-dev"), DB CACHE: 1024
|
||||
|
||||
// Executed Command:
|
||||
// ./target/production/pezkuwi
|
||||
// benchmark
|
||||
// pezpallet
|
||||
// --chain=kusama-dev
|
||||
// --chain=dicle-dev
|
||||
// --steps=50
|
||||
// --repeat=20
|
||||
// --no-storage-info
|
||||
@@ -37,7 +37,7 @@
|
||||
// --execution=wasm
|
||||
// --wasm-execution=compiled
|
||||
// --header=./file_header.txt
|
||||
// --output=./runtime/kusama/src/weights/
|
||||
// --output=./runtime/dicle/src/weights/
|
||||
|
||||
#![cfg_attr(rustfmt, rustfmt_skip)]
|
||||
#![allow(unused_parens)]
|
||||
|
||||
@@ -728,7 +728,7 @@ pub mod bridging {
|
||||
/// User fee for ERC20 token transfer back to Ethereum.
|
||||
/// (initially was calculated by test `OutboundQueue::calculate_fees` - ETH/ZGR 1/400 and fee_per_gas 20 GWEI = 2200698000000 + *25%)
|
||||
/// Needs to be more than fee calculated from DefaultFeeConfig FeeConfigRecord in snowbridge:teyrchain/pallets/outbound-queue/src/lib.rs
|
||||
/// Pezkuwi uses 10 decimals, Kusama,Pezkuwichain,Zagros 12 decimals.
|
||||
/// Pezkuwi uses 10 decimals, Dicle,Pezkuwichain,Zagros 12 decimals.
|
||||
pub const DefaultBridgeHubEthereumBaseFee: Balance = 2_750_872_500_000;
|
||||
pub storage BridgeHubEthereumBaseFee: Balance = DefaultBridgeHubEthereumBaseFee::get();
|
||||
pub SiblingBridgeHubWithEthereumInboundQueueInstance: Location = Location::new(
|
||||
|
||||
Reference in New Issue
Block a user