From 8480777108f9f3fe525cb511be263b0c8b961680 Mon Sep 17 00:00:00 2001 From: Kartik Chopra Date: Sun, 10 Mar 2024 14:05:01 -0400 Subject: [PATCH 1/2] updates development instructions. --- development.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/development.mdx b/development.mdx index b922581f..5343c3b6 100644 --- a/development.mdx +++ b/development.mdx @@ -6,6 +6,7 @@ description: "Learn how to preview changes locally" **Prerequisite** You should have installed Node.js (version 18.10.0 or higher). + * Ensure you don't run npm install as this will create conflicting instances of the Sharp package and may cause local build issues Step 1. Install Mintlify on your OS: From cbfd6c13a1012e69069605e17c5e921a1e699422 Mon Sep 17 00:00:00 2001 From: Kartik Chopra Date: Sun, 10 Mar 2024 14:05:52 -0400 Subject: [PATCH 2/2] Updates bidder api docs. --- Primev Docs Testnet Ver 41c24e77a73e47e0966d54365efbbfc8.md | 4 ++-- api-reference/bidder/prepayallowance.mdx | 2 +- developers/manual-start-mev-commit.mdx | 2 +- get-started/bidders/fund-node.mdx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Primev Docs Testnet Ver 41c24e77a73e47e0966d54365efbbfc8.md b/Primev Docs Testnet Ver 41c24e77a73e47e0966d54365efbbfc8.md index 4ae9c41d..4ee8b2d5 100644 --- a/Primev Docs Testnet Ver 41c24e77a73e47e0966d54365efbbfc8.md +++ b/Primev Docs Testnet Ver 41c24e77a73e47e0966d54365efbbfc8.md @@ -919,7 +919,7 @@ We provide advanced instructions for those of you who want to customize the star The bidder needs to prepay a certain amount onto the primev contracts to allow them to send bids and receive commitments. This is to ensure that providers can pull funds once the bids have been completed. To prepay, first **********\*\***********\*\***********\*\***********open a new terminal**********\*\***********\*\***********\*\*********** and run the following command: ```bash - curl -X POST http://localhost:13523/v1/bidder/prepay/1000000000000000000 + curl -X POST http://localhost:13523/v1/bidder/provide_allowance/1000000000000000000 ``` This will prepay `1000000000000000000 wei` into your account. @@ -960,7 +960,7 @@ The bidder needs to prepay a certain amount onto the primev contracts to allow t To prepay, ensure you’ve got the bidder node up, and run the following command: ```bash -curl -X POST http://localhost:13523/v1/bidder/prepay/1000000000000000000 +curl -X POST http://localhost:13523/v1/bidder/provide_allowance/1000000000000000000 ``` This will prepay `1000000000000000000 wei` into your account. diff --git a/api-reference/bidder/prepayallowance.mdx b/api-reference/bidder/prepayallowance.mdx index 9e32386b..4a7e07f9 100644 --- a/api-reference/bidder/prepayallowance.mdx +++ b/api-reference/bidder/prepayallowance.mdx @@ -1,4 +1,4 @@ --- title: Add Prepay Allowance -openapi: post /v1/bidder/prepay/{amount} +openapi: post /v1/bidder/provide_allowance/{amount} --- diff --git a/developers/manual-start-mev-commit.mdx b/developers/manual-start-mev-commit.mdx index e974f2b3..22300f6a 100644 --- a/developers/manual-start-mev-commit.mdx +++ b/developers/manual-start-mev-commit.mdx @@ -82,7 +82,7 @@ After installing `cast`, run `foundryup` to ensure it's updated. To prepay, first **open a new terminal** and run the following command: ```bash ❯_ terminal - curl -X POST http://localhost:13523/v1/bidder/prepay/1000000000000000000 + curl -X POST http://localhost:13523/v1/bidder/provide_allowance/1000000000000000000 ``` This will prepay `1000000000000000000 wei` into your account. diff --git a/get-started/bidders/fund-node.mdx b/get-started/bidders/fund-node.mdx index 198e6c7d..abeff89c 100644 --- a/get-started/bidders/fund-node.mdx +++ b/get-started/bidders/fund-node.mdx @@ -63,7 +63,7 @@ Bidders can withdraw this balance at any point by interacting with the settlemen - Add allowance ```bash - > curl -X POST localhost/v1/bidder/prepay/10000000000000000000 | jq + > curl -X POST localhost/v1/bidder/provide_allowance/10000000000000000000 | jq { "amount": "10000000000000000000" }