polkadot-js/client

View on GitHub
packages/client-cli/src/argv/wasm.ts

Summary

Maintainability
A
0 mins
Test Coverage
// Copyright 2017-2019 @polkadot/client-cli authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.

import { Options } from 'yargs';

import defaults from '@polkadot/client-wasm/defaults';

const config: Record<string, Options> = {
  'wasm-heap-size': {
    default: defaults.HEAP_SIZE_KB,
    description: 'Initial size for the WASM runtime heap (KB)',
    type: 'number'
  }
};

export default config;