Skip to content

Commit 5b4ff1e

Browse files
Exclude mock subscription page from build
1 parent b21f46c commit 5b4ff1e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed
201 KB
Loading
Loading

src/content/vrf/v2-5/subscription/test-locally.mdx renamed to src/content/vrf/v2-5/subscription/_test-locally.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ Complete the following tasks to test your VRF v2.5 consumer locally:
3434

3535
## Testing
3636

37-
### Open the contracts on RemixIDE
37+
### Open the contracts on Remix IDE
3838

3939
Open _VRFCoordinatorV2_5Mock_ and compile in Remix:
4040

41-
<CodeSample src="samples/VRF/mock/VRFCoordinatorV2_5Mock.sol" />
41+
<CodeSample src="samples/VRF/mock/VRFCoordinatorV2_5Mock.sol" showButtonOnly />
4242

43-
Open _SubscriptionConsumer_ and compile in Remix:
43+
Open _VRFv2_5Consumer_ and compile in Remix:
4444

45-
<CodeSample src="samples/VRF/mock/VRFv2_5Consumer.sol" />
45+
<CodeSample src="samples/VRF/mock/VRFv2_5Consumer.sol" showButtonOnly />
4646

4747
Your RemixIDE file explorer should display _VRFCoordinatorV2_5Mock.sol_ and _VRFv2_5Consumer.sol_:
4848

@@ -52,17 +52,17 @@ Your RemixIDE file explorer should display _VRFCoordinatorV2_5Mock.sol_ and _VRF
5252

5353
1. Open _VRFCoordinatorV2_5Mock.sol_.
5454

55-
1. Under _DEPLOY & RUN TRANSACTIONS_, select _VRFCoordinatorV2Mock_.
55+
1. Under _DEPLOY & RUN TRANSACTIONS_, select _VRFCoordinatorV2_5Mock_.
5656

5757
<ClickToZoom src="/images/vrf/mock/v2-deploymock.jpg" />
5858

59-
1. Under _DEPLOY_, fill in the `_BASEFEE` and `_GASPRICELINK`. These variables are used in the _VRFCoordinatorV2Mock_ contract to represent the base fee and the gas price (in LINK tokens) for the VRF requests. You can set: `_BASEFEE=100000000000000000` and `_GASPRICELINK=1000000000`.
59+
1. Under _DEPLOY_, fill in the `_BASEFEE` and `_GASPRICELINK`. These variables are used in the _VRFCoordinatorV2_5Mock_ contract to represent the base fee and the gas price (in LINK tokens) for the VRF requests. You can set: `_BASEFEE=100000000000000000` and `_GASPRICELINK=1000000000`.
6060

6161
1. Click on _transact_ to deploy the _VRFCoordinatorV2_5Mock_ contract.
6262

6363
1. Once deployed, you should see the _VRFCoordinatorV2_5Mock_ contract under _Deployed Contracts_.
6464

65-
<ClickToZoom src="/images/vrf/mock/v2-deployedmock.jpg" />
65+
<ClickToZoom src="/images/vrf/v2-5/mock/deployed-mock.png" />
6666

6767
1. Note the address of the deployed contract.
6868

@@ -78,13 +78,13 @@ Your RemixIDE file explorer should display _VRFCoordinatorV2_5Mock.sol_ and _VRF
7878

7979
### Deploy the VRF consumer contract
8080

81-
1. In the file explorer, open _SubscriptionConsumer.sol_.
81+
1. In the file explorer, open _VRFv2_5Consumer.sol_.
8282

8383
1. Under _DEPLOY & RUN TRANSACTIONS_, select _RandomNumberConsumerV2_5_.
8484

8585
<ClickToZoom src="/images/vrf/mock/v2-deployconsumer.jpg" />
8686

87-
1. Under _DEPLOY_, fill in `SUBSCRIPTIONID` with your subscription ID, `vrfCoordinator` with the deployed _VRFCoordinatorV2Mock_ address and, _KEYHASH_ with an arbitrary `bytes32` (In this example, you can set the _KEYHASH_ to `0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc`).
87+
1. Under _DEPLOY_, fill in `SUBSCRIPTIONID` with your subscription ID, `vrfCoordinator` with the deployed _VRFCoordinatorV2_5Mock_ address and, _KEYHASH_ with an arbitrary `bytes32` (In this example, you can set the _KEYHASH_ to `0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc`).
8888

8989
1. Click on _transact_ to deploy the _RandomNumberConsumerV2_5_ contract.
9090

0 commit comments

Comments
 (0)