From 18ef04f62d4ccc4228d1878736dabe4a7946bfe6 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Mon, 11 Mar 2024 16:03:27 -0500 Subject: [PATCH] style: markdown lint --- main/guides/coreeval/local-testnet.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/main/guides/coreeval/local-testnet.md b/main/guides/coreeval/local-testnet.md index 66a344491..3eeddefb1 100644 --- a/main/guides/coreeval/local-testnet.md +++ b/main/guides/coreeval/local-testnet.md @@ -7,7 +7,7 @@ For a local agoric blockchain: 1. Ensure that you have [started your local agoric blockchain](../getting-started/#starting-a-local-agoric-blockchain): -use `yarn docker:logs` to check that your chain is running; if not, use `yarn start:docker` to start it. + use `yarn docker:logs` to check that your chain is running; if not, use `yarn start:docker` to start it. 2. Build the transaction contents with `cd contract; yarn build:deployer`; _details below_. @@ -19,15 +19,15 @@ _Mainnet deployment is out of scope of this document; see [Mainnet 2 Deployment ## Bundling Core Eval Scripts with `build:deployer` and `rollup.config.mjs` -Core eval scripts are evaluated, not loaded as modules; so any `import` or `export` declarations are syntax errors. In **dapp-agoric-basics**, we use [rollup](https://rollupjs.org/) to support developing +Core eval scripts are evaluated, not loaded as modules; so any `import` or `export` declarations are syntax errors. In **dapp-agoric-basics**, we use [rollup](https://rollupjs.org/) to support developing a core-eval script and permit as a module: - - `import { E } from '@endo/far'` - A bundle strips this declaration during bundling - since the core-eval scope includes exports of `@endo/far`. - - `bundleID = ...` is replaced using updated/cached bundle hash - - `main` is appended as the script completion value - - the `permit` export is emitted to a `.json` file +- `import { E } from '@endo/far'` + A bundle strips this declaration during bundling + since the core-eval scope includes exports of `@endo/far`. +- `bundleID = ...` is replaced using updated/cached bundle hash +- `main` is appended as the script completion value +- the `permit` export is emitted to a `.json` file See [rollup.config.mjs](https://github.com/Agoric/dapp-agoric-basics/blob/dc-vote-fee/contract/rollup.config.mjs) for details on using the `moduleToScript`, `configureBundleID`, and `emitPermit` rollup plug-ins. @@ -58,9 +58,9 @@ To submit transactions to get the contract and core eval script and permit on ch Installing a contract costs 0.02IST per kilobyte. -On a local chain, use `yarn docker:make mint100` to get 100 IST, which should be enough. _`mint100` works by sending some ATOM from a "whale" account and using the ATOM to open a vault._ +On a local chain, use `yarn docker:make mint100` to get 100 IST, which should be enough. _`mint100` works by sending some ATOM from a "whale" account and using the ATOM to open a vault._ -On devnet, use the [devnet faucet](https://devnet.faucet.agoric.net/) to get 25IST. You might need to use 2 or 3 times. +On devnet, use the [devnet faucet](https://devnet.faucet.agoric.net/) to get 25IST. You might need to use 2 or 3 times. ### Installing, submitting with **cosgov** Web UI