Skip to content

Commit

Permalink
fixing conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
signorecello committed May 17, 2024
1 parent 23508a5 commit 02be02c
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 24 deletions.
8 changes: 0 additions & 8 deletions docs/docs/aztec/concepts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ Aztec allows private communications with Ethereum - ie no-one knows where the tr

This is achieved through portals - these are smart contracts deployed on an EVM that are related to the Ethereum smart contract you want to interact with.

<<<<<<< HEAD:docs/docs/aztec/concepts/index.md
Learn more about portals [here](/aztec/concepts/smart_contracts/communication/cross_chain_calls).
=======
Learn more about portals [here](/protocol-specs/l1-smart-contracts/index.md).
>>>>>>> origin:docs/docs/aztec/aztec/concepts/index.md

## Circuits

Expand All @@ -75,9 +71,5 @@ Explore the Concepts for a deeper understanding into the components that make up

### Start coding

<<<<<<< HEAD:docs/docs/aztec/concepts/index.md
Follow the [developer getting started guide](/getting_started).

=======
Follow the [developer getting started guide](/getting_started/getting_started).
>>>>>>> origin:docs/docs/aztec/aztec/concepts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ See [Private \<--\> Public execution](./public_private_calls.md) for information

## Cross-chain communication

Read the protocol specification about Cross-chain communication between Aztec and Ethereum [here](../../../../../protocol-specs/l1-smart-contracts/index.md).
Read the protocol specification about Cross-chain communication between Aztec and Ethereum [here](/protocol-specs/l1-smart-contracts/index.md).

This file was deleted.

7 changes: 7 additions & 0 deletions docs/docs/guides/smart_contracts/writing_contracts/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Portals
---

A portal is a point of contact between L1 and a contract on Aztec. For applications such as token bridges, this is the point where the tokens are held on L1 while used in L2.

As outlined in [Communication](/protocol-specs/l1-smart-contracts/index.md), an Aztec L2 contract does not have to be linked to a portal contract, but can specify an intended portal in storage. Note, that a portal doesn't actually need to be a contract, it could be any address on L1.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Note that while the `secret` and the `content` are both hashed, they are actuall

### Token bridge example

Computing the `content` must currently be done manually, as we are still adding a number of bytes utilities. A good example exists within the [Token bridge example](../../../../../tutorials/tutorials/contract_tutorials/advanced/token_bridge/minting_on_aztec.md#consume-the-l1-message).
Computing the `content` must currently be done manually, as we are still adding a number of bytes utilities. A good example exists within the [Token bridge example](/tutorials/contract_tutorials/advanced/token_bridge/minting_on_aztec.md#consume-the-l1-message).

#include_code claim_public /noir-projects/noir-contracts/contracts/token_bridge_contract/src/main.nr rust

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/reference/sandbox_reference/sandbox-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ title: Sandbox Reference

:::tip

For a quick start, follow the [guide](/getting_started) to install the sandbox.
For a quick start, follow the [guide](/getting_started.md) to install the sandbox.

:::

## Manual Install

You can manually install the sandbox via the underlying script used in the [Aztec Boxes](getting_started/index.md#run-the-npx-script).
You can manually install the sandbox via the underlying script used in the [Aztec Boxes](getting_started.md#run-the-npx-script).

### Prerequisites

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ Aztec has the following core smart contracts on L1 that we need to know about:
- `Outbox.sol` - a mailbox to the rollup for L2 to L1 messages (e.g. withdrawing tokens). Aztec contracts emit these messages and the sequencer adds these to the outbox. Portals then consume these messages.
- `Registry.sol` - just like L1, we assume there will be various versions of Aztec (due to upgrades, forks etc). In such a case messages must not be replayable in other Aztec “domains”. A portal must decide which version/ID of Aztec the message is for. The registry stores the rollup, inbox and outbox address for each version of Aztec deployments, so the portal can find out the address of the mailbox it wants to talk to

<<<<<<< HEAD:docs/docs/tutorials/contract_tutorials/advanced/token_bridge/index.md
For more information, read [cross-chain calls](/aztec/concepts/smart_contracts/communication/cross_chain_calls).
=======
For more information, read [cross-chain calls](/protocol-specs/l1-smart-contracts/index.md).
>>>>>>> origin:docs/docs/tutorials/tutorials/contract_tutorials/advanced/token_bridge/index.md

## Building a Token Bridge with Portals

Expand Down
2 changes: 1 addition & 1 deletion docs/scripts/move_processed.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

echo "label: \"AztecJS\"" > ./docs/reference/aztecjs/_category_.yml
mv ./docs/reference/aztecjs ./processed-docs/reference/aztecjs

0 comments on commit 02be02c

Please sign in to comment.