From 1e3a4aef2ea7a4b451480fe46ce75067b007b445 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Tue, 27 Sep 2022 15:44:39 +0200 Subject: [PATCH 1/3] Add RSK testnet deploy addresses --- deployments/rsk-testnet/2022-09-27.txt | 22 ++++++++++++++++++++++ lib/addresses.json | 6 ++++++ 2 files changed, 28 insertions(+) create mode 100644 deployments/rsk-testnet/2022-09-27.txt diff --git a/deployments/rsk-testnet/2022-09-27.txt b/deployments/rsk-testnet/2022-09-27.txt new file mode 100644 index 0000000..3a1896a --- /dev/null +++ b/deployments/rsk-testnet/2022-09-27.txt @@ -0,0 +1,22 @@ +Deploying to network #31 +Contributor deployed to: 0x5c42875A6e3B98f1C8884061d6c3C3045Ee065f6 +...waiting for 1 confirmation + +Contribution deployed to: 0x4129665d6659C312013E0dAdeea417Ffe724A51E +...waiting for 1 confirmation +Token deployed to: 0xc62Ed8A170741C1478B4885a6c322C8b159625c5 +...waiting for 1 confirmation +Reimbursement deployed to: 0xe8823392f443Fe84513663597116f51f14820779 +...waiting for 1 confirmation +Calling Contributor#setTokenContract +...transaction published: 0x01cefa36cba1d2c2b2b828c987fee8d9b3c8789686afe689c2877f18a07a893c +Calling Contributor#setContributionContract +...transaction published: 0x0efb01e69d6dd79d05827020388f9c66de6c3a8ab13763cd012f38e640ac4d27 +Calling Contribution#setContributorContract +...transaction published: 0x83aa7a4f34aab2027abd35dd20a865b01ec5fb05d21a067bcc92e9df3eb00e18 +Calling Token#setContributorContract +...transaction published: 0xb9b881c7bd4a97394ea2e7e0637f6086080556527423decb603d837f8f318603 +Calling Reimbursement#setContributorContract +...transaction published: 0xe2b4daac14fc78796ef54e008608445531acc806df7de2057ad433c09fc1b010 +Writing addresses.json +DONE! diff --git a/lib/addresses.json b/lib/addresses.json index cba931a..ae3de7e 100644 --- a/lib/addresses.json +++ b/lib/addresses.json @@ -1,4 +1,10 @@ { + "31": { + "Contributor": "0x5c42875A6e3B98f1C8884061d6c3C3045Ee065f6", + "Contribution": "0x4129665d6659C312013E0dAdeea417Ffe724A51E", + "Token": "0xc62Ed8A170741C1478B4885a6c322C8b159625c5", + "Reimbursement": "0xe8823392f443Fe84513663597116f51f14820779" + }, "1337": { "Contributor": "0xCc66f9A3cA2670972938FAD91d0865c4a62DFB25", "Contribution": "0x8999CaBc43E28202c5A2257f2a95A45b1F8A62BD", -- 2.25.1 From f8f85630a28360887bc6c3a8776c9c3e7cbf3fd0 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Tue, 27 Sep 2022 16:01:14 +0200 Subject: [PATCH 2/3] Add RSK public network to hardhart config --- hardhat.config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hardhat.config.js b/hardhat.config.js index 1190ee2..3e5f762 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -81,6 +81,13 @@ module.exports = { "0xffb4230bdf9b1f1dd48f0bc54e4007436733f225a4f163d4f7e58e620ae329eb", ], }, + rskpublic: { + url: "https://public-node.testnet.rsk.co", + accounts: [ + process.env.DEPLOY_KEY || + "0xffb4230bdf9b1f1dd48f0bc54e4007436733f225a4f163d4f7e58e620ae329eb", + ], + } }, namedAccounts: { deployer: { -- 2.25.1 From dbf7e85707f635fae48a3dfc32d4731d00f8c04a Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Tue, 27 Sep 2022 16:02:36 +0200 Subject: [PATCH 3/3] Update rks testent network name --- hardhat.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardhat.config.js b/hardhat.config.js index 3e5f762..ae1744f 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -74,14 +74,14 @@ module.exports = { "0xffb4230bdf9b1f1dd48f0bc54e4007436733f225a4f163d4f7e58e620ae329eb", ], }, - rsk: { + rsktestnet: { url: "https://rsk-testnet.kosmos.org", accounts: [ process.env.DEPLOY_KEY || "0xffb4230bdf9b1f1dd48f0bc54e4007436733f225a4f163d4f7e58e620ae329eb", ], }, - rskpublic: { + rskpublictestnet: { url: "https://public-node.testnet.rsk.co", accounts: [ process.env.DEPLOY_KEY || -- 2.25.1