Skip to content

Commit c08e912

Browse files
authored
Merge pull request #103 from casper-network/dev
Correcting typo on casper-node-util
2 parents 2185faa + 76f2da0 commit c08e912

File tree

199 files changed

+6836
-25917
lines changed

Some content is hidden

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

199 files changed

+6836
-25917
lines changed

README.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,41 @@ This is the documentation repository for the [Casper Network](https://casper.net
66

77
The documentation site itself may be viewed at this address: https://docs.casper.network/.
88

9-
For instructions on how to build, run, edit and contribute to this documentation please refer to the [developer documentation](./README/INDEX.md).
9+
For instructions on how to build, run, edit and contribute to this documentation, please refer to the [developer documentation](./README/INDEX.md).
1010

11+
**Important Note: A complete rework of the documentation is currently underway. While fixes and improvements to this legacy version are welcome, please avoid making major or structural changes.**
12+
13+
## Quick Local Run Instructions
14+
15+
To run the documentation site locally, follow these steps:
16+
17+
1. **Clone the repository:**
18+
19+
```bash
20+
git clone https://github.com/casper-network/docs-redux.git
21+
cd docs-redux
22+
```
23+
24+
2. **Create a `.env` file:**
25+
26+
Create a file named `.env` in the root of the `docs-redux` directory with the following content:
27+
28+
```
29+
URL=http://localhost:3000
30+
BASE_URL=/
31+
ALGOLIA_APP_ID=your_algolia_app_id
32+
ALGOLIA_INDEX_NAME=your_algolia_index_name
33+
ALGOLIA_API_KEY=your_algolia_api_key
34+
```
35+
36+
*(Note: Replace `your_algolia_app_id`, `your_algolia_index_name`, and `your_algolia_api_key` with actual values if you intend to use Algolia search; otherwise, placeholders are sufficient for local development.)*
37+
38+
3. **Install dependencies, build, and serve:**
39+
40+
```bash
41+
npm install
42+
npm run build
43+
npm run serve
44+
```
45+
46+
This will install the necessary packages, build the static site, and start a local server. You can then access the documentation in your browser at `http://localhost:3000/`.

condor/addressable-entity.md

Lines changed: 0 additions & 99 deletions
This file was deleted.

condor/block-lanes.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Casper v2.0 Block Lanes
3+
description: Introduction to Block Lanes in the Casper v2.0 Release
4+
slug: block-lanes
5+
date: 2025-04-28T22:00
6+
authors: [ core-team ]
7+
tags: [v2]
8+
hide_table_of_contents: false
9+
---
10+
11+
In Casper 2.0 as part of the changes to the block structure, the body of the block now contains several distinct lanes which contain different transaction variants. Each lane has the following five properties:
12+
13+
An identifier for the lane represented as number, this identifier is simply a label. However, the system does reserve the 0 and 1 lane identifiers for native mint and auction interactions respectively.
14+
1. Max serialized length of the entire transaction in bytes for a given transaction in a certain lane
15+
2. Max args length size in bytes for a given transaction in a certain lane
16+
3. Transaction gas limit for a given transaction in a certain lane
17+
4. The maximum number of transactions the lane can contain
18+
19+
In 2.0, there are three distinct systemic lanes - lanes that must be present and defined. These required lanes are for native transactions (e.g., native transfer and native add-bid), and for the installation and upgrading of stored Wasm. In addition to these three lanes, a Casper network can be set up with a range of user-defined lanes for Wasm transactions. The number of user defined lanes is specific to a given network and is defined in the chainspec for that given network.
20+
21+
The assignment of a given transaction is determined by comparing the transaction's properties against those of a specific lane. If any of the transaction's properties exceed the lane's specified limits, the transaction is deemed ineligible to be part of that lane. It should be noted that during lane determination, the gas limit is determined based on the pricing mode.
22+
23+
In payment-limited mode, the gas limit for a given transaction is determined by the payment amount as specified by the user.
24+
In fixed mode, lane determination first estimates the lane based on the size of the transaction, measured in bytes, and the additional computational factor as specified by the user.

condor/condor.sidebar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const sidebars = {
2222
'local-setup',
2323
'transactions',
2424
'validator-rewards',
25+
'block-lanes',
2526
'zug',
2627
'devnet-info',
2728
'migration-guide',

condor/devnet-info.md

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## What is Devnet?
44

5-
The Casper Condor release is being rolled out in a phased fashion, allowing people to test their code, SDKs and smart contracts, before migrating to Mainnet. The first phase of this is rolling out to Devnet.
5+
The Casper 2.0 release is being rolled out in a phased fashion, allowing people to test their code, SDKs and smart contracts, before migrating to Mainnet. The first phase of this is rolling out to Devnet.
66

77
This article/FAQ is a guide to the process for gaining access to Devnet, what to expect when you do access Devnet, and any other concerns.
88

@@ -17,54 +17,50 @@ Once your request has been processed, you will be notified and provided with a l
1717

1818
## What is the latest commit/release candidate deployed on to the Devnet?
1919

20-
- Release Candidate: Condor/2.0.0 - RC6
21-
- Commit Hash: `2178ad3aad9488076b38d8de467e6d1123f4b66b`
22-
- Latest Devnet Release Date: 08-Jan-2025
20+
- Release Candidate: Casper 2.0 - RC10
21+
- Commit Hash: `a7e4ff100549d6b34aa6b800812f29313378663b`
22+
- Latest Devnet Release Date: 04-Apr-2025
2323

24-
## What are the Condor/2.0.0 Compatible branches/commits of downstream components?
24+
## What are the Casper 2.0 Compatible branches/commits of downstream components?
2525

2626
**casper-sidecar:**
27-
- Release Candidate : `release-1.0.0-rc5_node-2.0.0-rc6`
28-
- Branch/Repo : [casper-sidecar-release-1.0.0-rc5_node-2.0.0-rc6](https://github.com/casper-network/casper-sidecar/tree/release-1.0.0-rc5_node-2.0.0-rc6)
27+
- Release Candidate : `v1.0.4`
28+
- Branch/Repo : [casper-sidecar-v1.0.4](https://github.com/casper-network/casper-sidecar/tree/v1.0.4)
2929

3030
**casper-client-rs:**
31-
- Release Candidate : `release-3.0.1-rc2_node-2.0.0-rc6`
32-
- Branch/Repo : [casper-client-release-3.0.1-rc2_node-2.0.0-rc6](https://github.com/casper-ecosystem/casper-client-rs/tree/release-3.0.1-rc2_node-2.0.0-rc6)
31+
- Release Candidate : `v3.0.1`
32+
- Branch/Repo : [casper-client-v3.0.1](https://github.com/casper-ecosystem/casper-client-rs/commits/v3.0.1)
3333

3434
**NCTL:**
35-
- New NCTL image with `v200-rc6` available on Docker Hub:
36-
- `makesoftware/casper-nctl:v200-rc6`
35+
- New NCTL image with `v200-rc10` available on Docker Hub:
36+
- `makesoftware/casper-nctl:v200-rc10`
3737

3838
**CEP-18:**
39-
- A version of CEP-18 compatible with Condor RC5/6 is available in the forked repository [here](https://github.com/davidatwhiletrue/cep18-limited/tree/casper-2.0.0-rc5)
39+
- A version of CEP-18 compatible with Casper 2.0 is available in the forked repository [here](https://github.com/casper-ecosystem/cep18/tree/feat-2.0)
4040

41-
- Please note that this is meant for testing SDKs and scripts
4241

4342
**CEP-78:**
44-
- Work in progress
43+
- A version of CEP-78 compatible with Casper 2.0 is available in the forked repository [here](https://github.com/casper-ecosystem/cep-78-enhanced-nft/tree/feat-2.0)
44+
4545

4646
**SDKs:**
4747
- JavaScript/TypeScript
48-
- Github release : [casper-js-sdk-v5.0.3-beta2](https://github.com/casper-ecosystem/casper-js-sdk/releases/tag/5.0.3-beta2)
49-
- npm : [casper-js-sdk-v5.0.3-beta2](https://www.npmjs.com/package/casper-js-sdk/v/5.0.3-beta2)
48+
- Github release : [casper-js-sdk-5.0.6](https://github.com/casper-ecosystem/casper-js-sdk/releases/tag/5.0.6)
49+
- npm : [casper-js-sdk](https://www.npmjs.com/package/casper-js-sdk)
5050

5151
- .NET
52-
- Github release : [casper-net-sdk-v3.0.0-beta2](https://github.com/make-software/casper-net-sdk/releases/tag/v3.0.0-beta2)
53-
- Nuget package : [Casper.Network.SDK 3.0.0-beta2](https://www.nuget.org/packages/Casper.Network.SDK/3.0.0-beta2)
52+
- Github release : [casper-net-sdk-v3.0.0](https://github.com/make-software/casper-net-sdk/releases/tag/v3.0.0)
53+
- Nuget package : [Casper.Network.SDK 3.0.0](https://www.nuget.org/packages/Casper.Network.SDK/3.0.0)
5454

5555
- Go
56-
- Github release : [casper-go-sdk-v2.0.0-beta2](https://github.com/make-software/casper-go-sdk/releases/tag/v2.0.0-beta2)
57-
- Java (WIP)
58-
- Python (WIP)
59-
- Rust (WIP)
60-
- PHP (WIP)
56+
- Github release : [casper-go-sdk-2.0.3-beta1](https://github.com/make-software/casper-go-sdk/releases/tag/v2.0.3-beta1)
6157

6258
NOTE:
6359
The SDKs have a couple of known serialisation issues. We're working on patch updates to address these issues.
6460

6561
## How can I explore the transactions in Devnet?
6662

67-
You can explore using the DevNet mini-explorer that points to the Devnet (RC6) at https://devnet.make.services/
63+
You can explore https://devnet.cspr.live/
6864

6965
Please note that SSE is listening at 52.90.123.125.
7066

0 commit comments

Comments
 (0)