From fb78d1429a5620dfd8c921e19e2f7a21500443c9 Mon Sep 17 00:00:00 2001 From: Martin Kersner Date: Thu, 25 Apr 2024 18:17:10 +0900 Subject: [PATCH] fix: update configuration --- contracts/v0.2/README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/contracts/v0.2/README.md b/contracts/v0.2/README.md index d3632dc66..711cd48b9 100644 --- a/contracts/v0.2/README.md +++ b/contracts/v0.2/README.md @@ -50,7 +50,7 @@ forge script {ContractScriptName} --broadcast --rpc-url {RPC} "deploy": { "submitter": "0xa195bE68Bd37EBFfB056279Dc3d236fAa6F23670", "count": 2, - "feed": [ + "feeds": [ { "decimals": 8, "description": "ADA-USDT" }, { "decimals": 8, "description": "ATOM-USDT" } ] @@ -64,7 +64,6 @@ forge script {ContractScriptName} --broadcast --rpc-url {RPC} ``` { "Feed": { - "address": "0x1ac6cd893eddb6cac15e5a9fc549335b8b449015", "updateSubmitter": { "submitter": "0xa195bE68Bd37EBFfB056279Dc3d236fAa6F23670", "count": 2, @@ -156,13 +155,19 @@ forge script {ContractScriptName} --broadcast --rpc-url {RPC} } ``` -### Deploy `SubmissionProxy` with `Feed` contracts +### Deploy `SubmissionProxy` with `Feed` and `FeedProxy` contracts ``` { "SubmissionProxy": { "deploy": {}, - "deployAndConnectFeeds": {} + "deployFeed": { + "count": 2, + "feeds": [ + { "decimals": 8, "description": "ADA-USDT" }, + { "decimals": 8, "description": "ATOM-USDT" } + ] + } } } ```