Skip to content

Commit fff1c80

Browse files
authored
Merge branch 'main' into patch-1
2 parents 15e3f60 + a19e7ab commit fff1c80

97 files changed

Lines changed: 17272 additions & 9198 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"

.github/workflows/algolia-search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
needs: [wait-for-vercel]
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525
- name: Run algolia/docsearch-scraper
2626
run: |
2727
docker pull algolia/docsearch-scraper

.github/workflows/o1js-api-reference.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Setup Node
9-
uses: actions/setup-node@v3
9+
uses: actions/setup-node@v4
1010
with:
1111
# In case of version change, update README.md accordingly
1212
node-version: 16
1313

1414
- name: Checkout Docs repo
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
path: docs
1818

1919
- name: Checkout o1js repo
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
repository: o1-labs/o1js
2323
path: o1js
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Validate Docker Images
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
paths:
11+
- 'docs/**/*.mdx'
12+
- 'docs/**/*.md'
13+
- 'scripts/validate-docker-images.js'
14+
- '.github/workflows/validate-docker-images.yml'
15+
workflow_dispatch: {}
16+
17+
jobs:
18+
validate-docker-images:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v4
24+
25+
- name: Setup Node.js
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 22
29+
30+
- name: Install dependencies
31+
run: npm ci
32+
33+
- name: Validate Docker images in documentation
34+
run: npm run validate-docker-images

docs/berkeley-upgrade/archive-migration/docker-example.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ psql -c "CREATE DATABASE mainnet_balances_migrated;"
4242
psql -c "CREATE DATABASE mainnet_really_migrated;"
4343

4444
# Retrieve Archive Node Backup
45-
wget https://673156464838-mina-archive-node-backups.s3.us-west-2.amazonaws.com/mainnet/mainnet-archive-dump-2024-04-29_0000.sql.tar.gz
45+
wget https://storage.googleapis.com/mina-archive-dumps/mainnet-archive-dump-2024-04-29_0000.sql.tar.gz
4646
tar -xf mainnet-archive-dump-2024-04-29_0000.sql.tar.gz
4747

4848
# Replace the database name in the dump
@@ -57,7 +57,7 @@ psql mainnet_really_migrated -f create_schema.sql
5757
# Start migration
5858
docker create --name mainnet-db-migration \
5959
-v $(pwd)/mainnet-migration:/data \
60-
--network mainnet gcr.io/o1labs-192920/mina-archive-migration:3.0.1-e848ecb-bullseye -- bash -c '
60+
--network mainnet minaprotocol/mina-archive-migration:3.0.1-e848ecb-bullseye -- bash -c '
6161
wget http://673156464838-mina-genesis-ledgers.s3-website-us-west-2.amazonaws.com/mainnet/genesis_ledger.json; mina-berkeley-migration-script initial \
6262
--genesis-ledger genesis_ledger.json \
6363
--source-db postgres://mina:minamina@postgres:5432/mainnet_balances_migrated \

docs/berkeley-upgrade/archive-migration/mainnet-database-maintenance.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ apt-get install --allow-downgrades -y "mina-archive-maintenance=$VERSION"
7676
To get the Docker image:
7777

7878
```sh
79-
docker pull gcr.io/o1labs-192920/mina-archive-maintenance:1.4.1
79+
docker pull minaprotocol/mina-archive-maintenance:1.4.1-060f0a5-bullseye
8080
```
8181

8282
## Usage for missing or invalid nonces

docs/berkeley-upgrade/flags-configs.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Git SHA-1
2424
ae112d3a96fe71b4ccccf3c54e7b7494db4898a4
2525
2626
Seed List
27-
https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt
27+
https://bootnodes.minaprotocol.com/networks/mainnet.txt
2828
2929
Node build
3030
https://github.com/MinaProtocol/mina/releases/tag/3.0.3
@@ -42,7 +42,7 @@ mina daemon
4242
--generate-genesis-proof true
4343
--libp2p-keypair <keyfile path>
4444
--log-json
45-
--peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt
45+
--peer-list-url https://bootnodes.minaprotocol.com/networks/mainnet.txt
4646
4747
ENVIRONMENT VARIABLES
4848
RAYON_NUM_THREADS=6
@@ -60,7 +60,7 @@ mina daemon
6060
--file-log-rotations 500
6161
--libp2p-keypair <keyfile path>
6262
--log-json
63-
--peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt
63+
--peer-list-url https://bootnodes.minaprotocol.com/networks/mainnet.txt
6464
--run-snark-coordinator <public key>
6565
--snark-worker-fee 0.001
6666
--work-selection [seq|rand|roffset]
@@ -100,7 +100,7 @@ mina daemon
100100
--generate-genesis-proof true
101101
--libp2p-keypair <keyfile path>
102102
--log-json
103-
--peer-list-url https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt
103+
--peer-list-url https://bootnodes.minaprotocol.com/networks/mainnet.txt
104104
105105
ENVIRONMENT VARIABLES
106106
MINA_LIBP2P_PASS

docs/exchange-operators/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The latest third-party audit reports are publicly available here:
2626

2727
:::note
2828

29-
Any news and updates related to exchange listing shared by the Mina Foundation are on [www.minaprotocol.com](https://minaprotocol.com) or the official [Mina Protocol]](https://x.com/MinaProtocol) X (Twitter). Mina Foundation cannot individually answer any listing questions.
29+
Any news and updates related to exchange listing shared by the Mina Foundation are on [www.minaprotocol.com](https://minaprotocol.com) or the official [Mina Protocol](https://x.com/MinaProtocol) X (Twitter). Mina Foundation cannot individually answer any listing questions.
3030

3131
:::
3232

docs/exchange-operators/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Use Rosetta API if you are:
2929
- Integrating the Mina blockchain with your exchange
3030
- Building blockchain applications, such as explorers and wallets
3131

32-
Using Rosetta for building your application is preferrable, as it's API is more appropriate for applications and far more stable than GraphQL.
32+
Using Rosetta for building your application is preferable, as it's API is more appropriate for applications and far more stable than GraphQL.
3333

3434

3535
- [Running with Docker](/exchange-operators/rosetta/run-with-docker) - How to install Rosetta from Docker image
@@ -49,4 +49,4 @@ For answers to the most frequently asked questions about listing MINA, see [FAQ
4949

5050
## Questions?
5151

52-
Post any questions in Mina’s Github Discussions: https://github.com/MinaProtocol/mina/discussions
52+
Post any questions in Mina’s Github Discussions: https://github.com/MinaProtocol/mina/discussions

docs/exchange-operators/rosetta/build-from-sources.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If you already have mina-archive up and running, you can also build and run the
2121

2222
:::tip
2323

24-
To run mina daemon and mina-archive natively, follow the [Archive Node page](node-operators/archive-node/getting-started) instructions.
24+
To run mina daemon and mina-archive natively, follow the [Archive Node page](/node-operators/archive-node/getting-started) instructions.
2525

2626
:::
2727

0 commit comments

Comments
 (0)