Skip to content

Commit 8b46901

Browse files
Merge branch 'main' into patch-2
2 parents c0d47eb + 864c074 commit 8b46901

File tree

264 files changed

+7696
-689
lines changed

Some content is hidden

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

264 files changed

+7696
-689
lines changed

.github/assets/staging-taskdef.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
}],
5252
"volumes": [],
5353
"networkMode": "awsvpc",
54-
"memory": "1024",
55-
"cpu": "512",
54+
"memory": "512",
55+
"cpu": "256",
5656
"executionRoleArn": "arn:aws:iam::070528468658:role/docs-staging-TaskRole",
5757
"family": "docs-staging-taskdefinition",
5858
"taskRoleArn": "arn:aws:iam::070528468658:role/docs-staging-TaskRole",

.github/workflows/prod_deployment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
uses: actions/checkout@v3
3232
with:
3333
submodules: true
34+
fetch-depth: 0
3435

3536
- name: Configure AWS credentials
3637
uses: aws-actions/configure-aws-credentials@v1-node16

.github/workflows/staging_deployment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: actions/checkout@v3
2525
with:
2626
submodules: true
27+
fetch-depth: 0
2728

2829
- name: Configure AWS credentials
2930
uses: aws-actions/configure-aws-credentials@v1-node16

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.vscode/
1+
.vscode
22
.code
33
.idea
44
site/

.vscode/settings.json

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

CONTENT_DISCLAIMER.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Polygon Knowledge Layer third-party content disclaimer
2+
3+
The Polygon Knowledge Layer contains third-party content which includes websites, products, and services that are provided for informational purposes only.
4+
5+
Polygon Labs does not endorse, warrant, or make any representations regarding the accuracy, quality, reliability, or legality of any third-party websites, products, or services. If you decide to access any third-party content linked from the Polygon Knowledge Layer, you do so entirely at your own risk and subject to the terms and conditions of use for such websites. Polygon Labs reserves the right to withdraw such references and links without notice.
6+
7+
The Polygon Knowledge Layer serves as an industry public good and is made available under the MIT open source license. In addition, please view the official [Polygon Labs Terms of Use](https://polygon.technology/terms-of-use).

docs/_site_essentials/stylesheets/extra.css

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
1-
[data-md-color-scheme="slate"] {
2-
--md-footer-bg-color: black;
3-
4-
.md-footer,
5-
.md-footer__inner,
6-
.md-footer-meta {
7-
background-color: black;
8-
}
9-
}
10-
11-
[data-md-color-scheme="default"] {
12-
--md-footer-bg-color: white;
13-
--md-footer-fg-color: charcoal;
14-
--md-default-bg-color: white;
15-
--md-footer-fg-color--light: charcoal;
16-
--md-footer-fg-color--lighter: charcoal;
17-
18-
.md-footer,
19-
.md-footer__inner,
20-
.md-footer-meta {
21-
background-color: white;
22-
}
23-
}
24-
251
img.figure {
262
margin: 0 auto;
273
display: block;

docs/_site_essentials/stylesheets/polygon-docs.webflow.css

Lines changed: 46 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,49 @@
11
:root {
22
--smoke-white: #f8f8f8;
33
--main-black: #110c22;
4-
--gray-light: #8d8a95;
4+
--gray-light: #110c22;
55
--white: white;
66
--gray: #4f4b5c;
77
--purple: #773ef0;
8+
9+
--md-text-font: Generalsans;
10+
--md-code-font: roboto mono;
11+
12+
--md-primary-bg-color: #f8f8f8;
13+
--md-primary-bg-color--light: white;
14+
--md-primary-fg-color: #110c22;
15+
}
16+
17+
.md-footer, .md-footer__inner, .md-footer-meta, .md-copyright__highlight, .md-social__link {
18+
background-color: white;
19+
color: var(--main-black) !important;
20+
}
21+
22+
.md-search__input {
23+
background-color: var(--smoke-white) !important;
24+
}
25+
26+
.md-nav>.md-nav__title {
27+
color: var(--purple) !important;
28+
background-color: var(--smoke-white) !important;
29+
margin: 0 !important;
30+
padding: 0 !important;
31+
}
32+
33+
.md-sidebar__scrollwrap, .md-sidebar__inner {
34+
background-color: var(--smoke-white) !important;
35+
margin: 0 !important;
36+
padding: 0 !important;
37+
}
38+
39+
.md-nav__link, .md-nav__link>.md-ellipsis {
40+
color: var(--main-black) !important;
41+
background-color: var(--smoke-white) !important;
42+
}
43+
44+
.md-nav__link>.md-nav__link--active {
45+
margin: 0 !important;
46+
padding: 0 !important;
847
}
948

1049
h1 {
@@ -31,7 +70,7 @@ div.main h1 {
3170
margin-top: 0 !important;
3271
}
3372

34-
div.main h3 {
73+
div.main h2 {
3574
margin-top: 0 !important;
3675
}
3776

@@ -73,7 +112,7 @@ div.main div.flexbox a {
73112
}
74113

75114
div.main .nav-bar {
76-
background-color: var(--white);
115+
background-color: var(--smoke-white);
77116
border-bottom: 1px solid rgba(0, 0, 0, .12);
78117
padding: 10px 108px;
79118
}
@@ -116,10 +155,6 @@ div.main .nav-content {
116155
display: flex;
117156
}
118157

119-
div.main .section {
120-
121-
}
122-
123158
.hero-content-flex {
124159
grid-column-gap: 3rem;
125160
grid-row-gap: 3rem;
@@ -162,7 +197,7 @@ div.main .section {
162197
max-width: 400px;
163198
}
164199

165-
.hero-subext {
200+
.hero-subtext {
166201
color: var(--gray);
167202
font-weight: 500;
168203
}
@@ -230,6 +265,7 @@ div.main .section {
230265
}
231266

232267
.feature-card-heading {
268+
color: --purple;
233269
font-size: 18px;
234270
font-weight: 600;
235271
}
@@ -510,7 +546,7 @@ div.main .section {
510546

511547
.nav-menu {
512548
width: 90vw;
513-
background-color: var(--white);
549+
background-color: var(--smoke-white);
514550
flex-direction: column;
515551
padding: 80px 24px 24px;
516552
}
@@ -597,7 +633,7 @@ div.main .section {
597633

598634
.nav-menu-btn.w--open {
599635
z-index: 5;
600-
background-color: var(--white);
636+
background-color: var(--smoke-white);
601637
}
602638

603639
.menu-icon {
@@ -750,37 +786,4 @@ div.main .section {
750786
.nav-brand.w--current {
751787
padding-left: 0;
752788
}
753-
}
754-
755-
756-
@font-face {
757-
font-family: 'Generalsans';
758-
src: url('../fonts/GeneralSans-Semibold.woff2') format('woff2');
759-
font-weight: 600;
760-
font-style: normal;
761-
font-display: swap;
762-
}
763-
764-
@font-face {
765-
font-family: 'Generalsans';
766-
src: url('../fonts/GeneralSans-Medium.woff2') format('woff2');
767-
font-weight: 500;
768-
font-style: normal;
769-
font-display: swap;
770-
}
771-
772-
@font-face {
773-
font-family: 'Generalsans';
774-
src: url('../fonts/GeneralSans-Bold.woff2') format('woff2');
775-
font-weight: 700;
776-
font-style: normal;
777-
font-display: swap;
778-
}
779-
780-
@font-face {
781-
font-family: 'Generalsans';
782-
src: url('../fonts/GeneralSans-Regular.woff2') format('woff2');
783-
font-weight: 400;
784-
font-style: normal;
785-
font-display: swap;
786789
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Stavanger
2+
3+
The [CDK Stavanger testnet](https://polygon.technology/cdk-stavanger-testnet) is a validium testnet based on Sepolia.
4+
5+
- Add the RPC network details to your wallet by navigating to the add network input and entering the data as given in the table below.
6+
- Use the faucet to get test ETH.
7+
- Bridge assets from Sepolia to Stavanger using the bridge.
8+
- Confirm your transactions with the block explorer.
9+
10+
| Use case | URL | Usage |
11+
| ------- | ----------- | --------- |
12+
| JSON RPC | https://sn2-stavanger-rpc.eu-north-2.gateway.fm | Make remote procedure calls to the CDK testnet. |
13+
| Faucet | https://sn2-stavanger-faucet.eu-north-2.gateway.fm | Get testnet tokens. |
14+
| Bridge | https://sn2-stavanger-bridge.eu-north-2.gateway.fm | Bridge tokens from Sepolia. |
15+
| Block explorer | https://sn2-stavanger-blockscout.eu-north-2.gateway.fm | Confirm transactions with the explorer. |

docs/cdk/get-started/deploy-validium.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,19 @@ Follow the steps below to deploy a CDK validium instance.
99

1010
## 1. Deploy validium-specific contracts
1111

12+
!!! important
13+
- Follow this step if you are deploying to a public testnet.
14+
- For a local deploy, follow step 2 instead which deploys a local L1 network plus CDK contracts.
15+
1216
First, deploy the relevant contracts.
1317

1418
Follow the steps in the [CDK validium contracts repository's README](https://github.com/0xPolygon/cdk-validium-contracts).
1519

1620
## 2. Run the CDK validium node
1721

22+
!!! important
23+
- If you are deploying to a public testnet, follow the previous step 1.
24+
1825
Next, set up and run the CDK validium node.
1926

2027
Follow the instructions in the [CDK validium node repository's README](https://github.com/0xPolygon/cdk-validium-node).

0 commit comments

Comments
 (0)