From 17a4922aff9258afaab2b2807c652b9005e02d0f Mon Sep 17 00:00:00 2001 From: Juliano Lazzarotto <30806844+stackchain@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:48:09 +0000 Subject: [PATCH] chore(wallet-mobile): updated protocol params placeholder with new type --- .../network-manager/network-manager.ts | 127 ++++++++++++++++++ 1 file changed, 127 insertions(+) diff --git a/apps/wallet-mobile/src/features/WalletManager/network-manager/network-manager.ts b/apps/wallet-mobile/src/features/WalletManager/network-manager/network-manager.ts index da70dc1039..17fd31de18 100644 --- a/apps/wallet-mobile/src/features/WalletManager/network-manager/network-manager.ts +++ b/apps/wallet-mobile/src/features/WalletManager/network-manager/network-manager.ts @@ -76,6 +76,133 @@ export const protocolParamsPlaceholder: Chain.Cardano.ProtocolParams = freeze({ poolDeposit: '500000000', keyDeposit: '2000000', epoch: 509, + + minFeeReferenceScript: { + coinsPerByte: { + numerator: '0', + denominator: '1', + }, + tierStepBytes: '0', + multiplier: '0', + }, + maxBlockBodySize: '90112', + maxBlockHeaderSize: '1100', + maxTxSize: '16384', + maxReferenceScriptsSize: '0', + stakePoolPledgeInfluence: { + numerator: '3', + denominator: '10', + }, + monetaryExpansion: { + numerator: '3', + denominator: '1000', + }, + treasuryExpansion: { + numerator: '1', + denominator: '5', + }, + minPoolCost: '340000000', + maxExecutionUnits: { + perTransaction: { + memory: '14000000', + cpu: '10000000000', + }, + perBlock: { + memory: '62000000', + cpu: '20000000000', + }, + }, + scriptExecutionPrices: { + memory: { + numerator: '577', + denominator: '10000', + }, + cpu: { + numerator: '721', + denominator: '10000000', + }, + }, + maxCollateralInputs: '3', + collateralPercentage: '150', + maxValueSize: '5000', + version: { + major: '8', + minor: '0', + }, + governanceActionDeposit: '0', + delegateRepresentativeDeposit: '0', + constitutionalCommitteeMinSize: '0', + constitutionalCommitteeMaxTermLength: '0', + governanceActionLifetime: '0', + delegateRepresentativeMaxIdleTime: '0', + desiredNumberOfStakePools: '500', + stakePoolRetirementEpochBound: '18', + votingThresholds: { + stakePool: { + noConfidence: { + numerator: '0', + denominator: '1', + }, + committeeNormal: { + numerator: '0', + denominator: '1', + }, + committeeNoConfidence: { + numerator: '0', + denominator: '1', + }, + hardFork: { + numerator: '0', + denominator: '1', + }, + ppSecurity: { + numerator: '0', + denominator: '1', + }, + }, + delegateRep: { + noConfidence: { + numerator: '0', + denominator: '1', + }, + committeeNormal: { + numerator: '0', + denominator: '1', + }, + committeeNoConfidence: { + numerator: '0', + denominator: '1', + }, + constitution: { + numerator: '0', + denominator: '1', + }, + hardFork: { + numerator: '0', + denominator: '1', + }, + ppNetwork: { + numerator: '0', + denominator: '1', + }, + ppEconomic: { + numerator: '0', + denominator: '1', + }, + ppTechnical: { + numerator: '0', + denominator: '1', + }, + ppGovernance: { + numerator: '0', + denominator: '1', + }, + treasury: { + numerator: '0', + denominator: '1', + }, + }, + }, }) export const networkConfigs: Readonly>> = freeze({