From 7b800644f6018f0ccf64ba577d48957a4296fdf4 Mon Sep 17 00:00:00 2001 From: mrekucci Date: Wed, 14 Aug 2024 08:29:55 +0200 Subject: [PATCH] fix: remove store contracts addresses --- ...-55.229906000Z--a51f13769d1466e0b5483cb719e89add8d615052 | 1 - contracts/scripts/DeployScripts.s.sol | 6 +++--- .../playbooks/templates/jobs/contracts-deployer.nomad.j2 | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 contracts/deployer_keystore/UTC--2024-05-05T06-55-55.229906000Z--a51f13769d1466e0b5483cb719e89add8d615052 diff --git a/contracts/deployer_keystore/UTC--2024-05-05T06-55-55.229906000Z--a51f13769d1466e0b5483cb719e89add8d615052 b/contracts/deployer_keystore/UTC--2024-05-05T06-55-55.229906000Z--a51f13769d1466e0b5483cb719e89add8d615052 deleted file mode 100644 index e77b30456..000000000 --- a/contracts/deployer_keystore/UTC--2024-05-05T06-55-55.229906000Z--a51f13769d1466e0b5483cb719e89add8d615052 +++ /dev/null @@ -1 +0,0 @@ -{"address":"a51f13769d1466e0b5483cb719e89add8d615052","crypto":{"cipher":"aes-128-ctr","ciphertext":"ff5246c60de01af9efc0708161ae9c45cac3757fa6393d8dd4c6192ac90a83db","cipherparams":{"iv":"225089caf5096e2d69e140f142c790a0"},"kdf":"scrypt","kdfparams":{"dklen":32,"n":4096,"p":6,"r":8,"salt":"a0c738cffe92e552592fdc31b27f19810c3be1dac52b1546e841858b2c6c7a91"},"mac":"cf9047289f70ca64de046cdc117e01396a702bbcae734a5581546cb3bbebff5a"},"id":"00489df8-8072-414b-8f58-8114daa13bd2","version":3} \ No newline at end of file diff --git a/contracts/scripts/DeployScripts.s.sol b/contracts/scripts/DeployScripts.s.sol index c68575c94..70f0c8eff 100644 --- a/contracts/scripts/DeployScripts.s.sol +++ b/contracts/scripts/DeployScripts.s.sol @@ -86,12 +86,12 @@ contract DeployScript is Script { providerRegistry.setPreconfirmationsContract( address(preConfCommitmentStore) ); - console.log("ProviderRegistryWithPreConfCommitmentStore:", address(preConfCommitmentStore)); + console.log("_ProviderRegistryWithPreConfCommitmentStore:", address(preConfCommitmentStore)); bidderRegistry.setPreconfirmationsContract( address(preConfCommitmentStore) ); - console.log("BidderRegistryWithPreConfCommitmentStore:", address(preConfCommitmentStore)); + console.log("_BidderRegistryWithPreConfCommitmentStore:", address(preConfCommitmentStore)); address oracleProxy = Upgrades.deployUUPSProxy( "Oracle.sol", @@ -105,7 +105,7 @@ contract DeployScript is Script { console.log("Oracle:", address(oracle)); preConfCommitmentStore.updateOracleContract(address(oracle)); - console.log("PreConfCommitmentStoreWithOracle:", address(oracle)); + console.log("_PreConfCommitmentStoreWithOracle:", address(oracle)); vm.stopBroadcast(); } diff --git a/infrastructure/nomad/playbooks/templates/jobs/contracts-deployer.nomad.j2 b/infrastructure/nomad/playbooks/templates/jobs/contracts-deployer.nomad.j2 index cbd0700a9..ec80e86f3 100644 --- a/infrastructure/nomad/playbooks/templates/jobs/contracts-deployer.nomad.j2 +++ b/infrastructure/nomad/playbooks/templates/jobs/contracts-deployer.nomad.j2 @@ -168,6 +168,7 @@ job "{{ job.name }}" { echo "${LOGS}" \ | sed -n '/{.*}/p' \ | jq -c 'reduce .logs[] as $item ({}; . + {($item | split(": ")[0]): ($item | split(": ")[1])})' \ + | jq -c 'del(._*)' \ > local/www/contracts.json python3 -m http.server {{ job.ports[0]['http']['static'] }} --directory /local/www