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: broken internal links at multiple pages issue #1071 #1115

Merged
10 commits merged into from
Jun 25, 2024
2 changes: 1 addition & 1 deletion main/guides/agoric-cli/agd-query-tx.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This section focusses on commands relevant to developing and deploying smart con

- [Validators topics \- Agoric Community Forum](https://community.agoric.com/c/validators/9)
- [Governance topics \- Agoric Community Forum](https://community.agoric.com/c/governance/6)
- [Delegator Guide \(CLI\) \| Cosmos Hub](https://hub.cosmos.network/main/delegators/delegator-guide-cli.html)
- [Delegator Guide \(CLI\) \| Cosmos Hub](https://hub.cosmos.network/delegators/delegator-guide-cli.html)

:::

Expand Down
2 changes: 1 addition & 1 deletion main/guides/coreeval/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Until mainnet enters the Mainnet-3 phase of the [multi-phase mainnet rollout](ht
permissionless [contract installation with Zoe](/guides/zoe/#contract-installation)
is limited to development environments.

Until then, permission to deploy contracts can be granted using an Agoric extension to [Cosmos SDK Governance](https://hub.cosmos.network/main/delegators/delegator-guide-cli.html#participating-in-governance) called `swingset.CoreEval`. As discussed in [governance using Hardened JavaScript: swingset\.CoreEval](https://community.agoric.com/t/bld-staker-governance-using-hardened-javascript-swingset-coreeval/99),
Until then, permission to deploy contracts can be granted using an Agoric extension to [Cosmos SDK Governance](https://hub.cosmos.network/delegators/delegator-guide-cli.html#participating-in-governance) called `swingset.CoreEval`. As discussed in [governance using Hardened JavaScript: swingset\.CoreEval](https://community.agoric.com/t/bld-staker-governance-using-hardened-javascript-swingset-coreeval/99),
if such a proposal passes, its JavaScript code is run with ocaps extracted using the proposal's permitted capabilities, which the code can combine to perform privileged tasks.

To make a proposal to deploy a contract:
Expand Down
2 changes: 1 addition & 1 deletion main/guides/coreeval/proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ There are also several more promise spaces one level down, including:
- `powers.issuer`
- `powers.brand`

The `installContract` helper calls `E(zoe).installBundleID(bundleID)` to create an `Installation`, much like our earlier discussion of [Contract installation](http://localhost:8080/guides/zoe/#contract-installation).
The `installContract` helper calls `E(zoe).installBundleID(bundleID)` to create an `Installation`, much like our earlier discussion of [Contract installation](../zoe/#contract-installation).
It also calls `powers.installation[name].resolve(installation)`.

```js
Expand Down
2 changes: 1 addition & 1 deletion main/guides/integration/chain-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ However they do have a sequence number and may be invalidated if another transac
- How are addresses generated?
[Cosmos SDK v0.45 Docs - Accounts](https://docs.cosmos.network/v0.45/basics/accounts.html)
- How is the blockchain queried?
JSON-RPC, gRPC, REST [Cosmos SDK v0.45 Docs - Interact with Node](https://docs.cosmos.network/v0.45/run-node/interact-node.html)
JSON-RPC, gRPC, REST [Cosmos SDK v0.45 Docs - Interact with Node](https://docs.cosmos.network/v0.45/run-node/interact-node.html)
6 changes: 3 additions & 3 deletions main/guides/zoe/contracts/otc-desk.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

![Building a Composable DeFi Contract](./assets/title.jpg)

This is the OTC Desk contract from the ["Building a
Composable DeFi Contract" episode of Cosmos Code With
Us](https://cosmos.network/series/code-with-us/building-a-composable-defi-contract).
This is the OTC Desk contract from the "Building a
Composable DeFi Contract" episode of [Cosmos Code With
Us workshop](https://www.youtube.com/watch?v=e9dMkC2oFh8).

[Watch the replay of the
workshop](https://www.youtube.com/watch?v=faxrecQgEio):
Expand Down
2 changes: 1 addition & 1 deletion main/reference/ertp-api/ertp-data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ A **DisplayInfo** data type is associated with a **[Brand](./brand)** and gives
to display that **Brand**'s **[Amounts](#amount)**. **DisplayInfo** has one optional property,
**decimalPlaces**, which takes a non-negative integer value.

The **decimalPlaces** property tells the [display software](https://github.com/Agoric/agoric-sdk/tree/master/packages/ui-components)
The **decimalPlaces** property tells the [display software](https://github.com/Agoric/ui-kit)
how many places to move the decimal point over to the left so as to display the value
in the commonly used denomination (e.g., display "10.00 dollars" rather than "1000 cents").

Expand Down
3 changes: 1 addition & 2 deletions main/reference/zoe-api/zoe.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,7 @@ Every **Keyword** in **give** must have a corresponding **payment**.
const paymentKeywordRecord = harden({ Asset: quatloosPayment });
```

<a href="offerargs"></a>

Comment on lines -367 to -368
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remove this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can bring it back - does it serve any purpose?

Copy link
Member

@gibson042 gibson042 Jun 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, preserving old anchors allows any external links that use it to continue working (in this case, 45035c2 removed the "OfferArgs" heading but we still want its [formerly auto-generated] "offerargs" anchor to be associated with the replacement "Offer Arguments" heading). But you're right that there's a typo.

Suggested change
<a href="offerargs"></a>
<a id="offerargs"></a>

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

<a id="offerargs"></a>
### Offer Arguments

**offerArgs** is an optional CopyRecord that can be used to pass additional arguments to the
Expand Down
Loading