From f368269ca481d60b73bbe5ab6d38ab61c4d5d080 Mon Sep 17 00:00:00 2001 From: kalashshah <202051096@iiitvadodara.ac.in> Date: Sun, 26 Mar 2023 21:45:44 +0530 Subject: [PATCH] :rocket: final commit scaling eth --- hardhat/qrcodes/qrcode.json | 2 +- hardhat/scripts/set-request.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hardhat/qrcodes/qrcode.json b/hardhat/qrcodes/qrcode.json index 83b2319..92ec1b8 100644 --- a/hardhat/qrcodes/qrcode.json +++ b/hardhat/qrcodes/qrcode.json @@ -6,7 +6,7 @@ "body": { "reason": "tender validation", "transaction_data": { - "contract_address": "0x5c876A33570B1202Caf2892ce3D6F53c6c40bEC0", + "contract_address": "0x53e9D85ddB0364509Fc773d3fb1007cd351B8d5A", "method_id": "b68967e2", "chain_id": 80001, "network": "polygon-mumbai" diff --git a/hardhat/scripts/set-request.ts b/hardhat/scripts/set-request.ts index a5f1dbd..ea7203d 100644 --- a/hardhat/scripts/set-request.ts +++ b/hardhat/scripts/set-request.ts @@ -25,7 +25,7 @@ async function main() { schema: schemaBigInt, claimPathKey: schemaClaimPathKey, operator: Operators.EQ, // operator - value: [20020101, ...new Array(63).fill(0).map((i) => 0)], // for operators 1-3 only first value matters + value: [1234, ...new Array(63).fill(0).map((i) => 0)], // for operators 1-3 only first value matters }; // add the address of the contract just deployed @@ -36,6 +36,8 @@ async function main() { DTenderRequestAddress ); + console.log("address: ", DTenderRequestAddress); + const validatorAddress = "0xF2D4Eeb4d455fb673104902282Ce68B9ce4Ac450"; // sig validator // const validatorAddress = "0x3DcAe4c8d94359D31e4C89D7F2b944859408C618"; // mtp validator console.log("HERE");