Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in infrastructure/README.md #810

Merged
merged 5 commits into from
Oct 14, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
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
2 changes: 1 addition & 1 deletion docs/guide/deployer.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ Algob creates [checkpoint](https://algobuilder.dev/guide/execution-checkpoints.h
const daoAppInfo = await deployer.deployApp(
creator,
{
metaType: MetaType.File
metaType: MetaType.FILE
approvalProgramFilename: "dao-app-approval.py",
clearProgramFilename: "dao-app-clear.py",
localInts: 9,
Expand Down
14 changes: 7 additions & 7 deletions docs/guide/execute-transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ We support 3 format of DeloyApp params:
fromAccount: john,
appDefinition: {
appName: "my-app",
metaTypes: MetaType.File
metaType: MetaType.FILE
approvalProgramFilename: "approval.teal",
clearProgramFileName: "clear.teal",
clearProgramFilename: "clear.teal",
localInts: 1,
localBytes: 1,
globalInts: 1,
Expand All @@ -136,7 +136,7 @@ We support 3 format of DeloyApp params:
fromAccount: john,
appDefinition: {
appName: "my-app",
metaTypes: MetaType.SOURCE_CODE
metaType: MetaType.SOURCE_CODE
approvalProgramCode: "<approval program>",
clearProgramCode: "<clear state program>",
localInts: 1,
Expand All @@ -156,7 +156,7 @@ We support 3 format of DeloyApp params:
fromAccount: john,
appDefinition: {
appName: "my-app",
metaTypes: MetaType.BYTES
metaType: MetaType.BYTES
approvalProgramBytes: "<compiled bytes from algod client>",
clearProgramBytes: "<compiled bytes from algod client>",
localInts: 1,
Expand Down Expand Up @@ -205,7 +205,7 @@ We support 3 format of DeloyApp params:
appID: appId,
appName: "my-app",
newAppCode: {
metaTypes: MetaType.File
metaTypes: MetaType.FILE
approvalProgramFilename: "approval.teal",
clearProgramFileName: "clear.teal",
},
Expand Down Expand Up @@ -257,7 +257,7 @@ Even though fee paid by alice is `0`, this transaction will pass because total f

`deployer.executeTx` method supports signing and sending sdk transaction objects. To do this you will have to pass an [`TransactionAndSign`](https://algobuilder.dev/api/web/interfaces/types.TransactionAndSign.html) object which has `transaction` and `sign`. Ex:

```
```js
const tx = makeAssetCreateTxn(
bobAcc.addr, mockSuggestedParam.fee,
mockSuggestedParam.firstRound, mockSuggestedParam.lastRound,
Expand All @@ -278,7 +278,7 @@ You can check the implementation in [asa](https://github.com/scale-it/algo-build

This function takes array of [`TransactionAndSign`](https://algobuilder.dev/api/web/interfaces/types.TransactionAndSign.html) objects and returns raw signed transaction

```
```js
const transaction: wtypes.TransactionAndSign = [{
transaction: SDKTx,
sign: {sign: wtypes.SignType.SecretKey, fromAccount: bobAcc}
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/testing-teal.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ Now, we will execute a transaction with an app call (stateful TEAL). The app is
john.account, // creator
{
appName: "CounterApp",
metaType: MetaType.File,
metaType: MetaType.FILE,
approvalProgramFilename: "counter-approval.teal",
clearProgramFilename: "clear-program",
globalBytes: 32,
Expand Down
6 changes: 3 additions & 3 deletions docs/tutorials/t-03.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ const appInfo = await deployer.deployApp(
creatorAccount,
{
appName: "CounterApp"
metaType: types.MetaType.File
approvalProgramFilename: "approval_program.teal", // approval program
clearProgramFilename: "clear_program.teal", // clear program
metaType: types.MetaType.FILE
approvalProgramFilename: "approval_program.teal", // approval program
clearProgramFilename: "clear_program.teal", // clear program
localInts: 1,
localBytes: 1,
globalInts: 1,
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/t-04.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,9 @@ this.beforeAll(async function () {
john.account, // creator of application
{
appName: "CounterApp",
metaType: MetaType.File
metaType: MetaType.FILE
approvalProgramFilename: "counter-approval.teal",
approvalProgramFilename: "clear-program",
clearProgramFilename: "clear-program",
globalBytes: 32,
globalInts: 32,
localBytes: 8,
Expand Down
2 changes: 1 addition & 1 deletion examples/stateful-counter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const sscInfo = await deployer.deployApp(
creatorAccount,
{
appName: "CounterApp",
metaType: types.MetaType.File
metaType: types.MetaType.FILE
approvalProgramFilename: "approval_program.teal", // approval program
clearProgramFilename: "clear_program.teal", // clear program
localInts: 1,
Expand Down
4 changes: 2 additions & 2 deletions infrastructure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This is a guide to quickly start a local node using `algod` and make scripts.

1. Check the access token and network address. You will need them in your config file to correctly connect to a node. When using `make create-private-net` the script will set the network configuration (PrimaryNode/config.json) and token for you to match the `algob.config` used in all our examples. Don't expose the node externally - otherwise you will need to setup a firewall and generate a new token. You can see the network and a port by opening the following files:

cat node_data/PrimaryNode/algod.net
cat node_data/PrimaryNode/algod-listen.net
cat node_data/PrimaryNode/algod.token

1. To start and stop the the chain use the following commands:
Expand Down Expand Up @@ -96,7 +96,7 @@ _NOTE:_ Please make sure to have [Docker Compose](https://docs.docker.com/compos

6. `sandbox-clean` - Clean up the env by removing stopped container and unused images.

7. `sanbox-reset` - Reset the containers to their initial state.
7. `sandbox-reset` - Reset the containers to their initial state.

**To be noted :**

Expand Down
2 changes: 1 addition & 1 deletion packages/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const daoAppInfo = await deployer.deployApp(
creator,
{
appName: "DAO App" // app name passed here
metaType: MetaType.File,
metaType: MetaType.FILE,
approvalProgramFilename: "dao-app-approval.py",
clearProgramFilename: "dao-app-clear.py",
localInts: 9,
Expand Down