From 11e96a8ccb1e151087f5f87d108865dc6eb3a4a5 Mon Sep 17 00:00:00 2001 From: Jordan Krage Date: Fri, 1 Dec 2023 21:21:36 -0600 Subject: [PATCH] remove p2p v1 field p2pBootstrapPeers --- .changeset/gold-poems-relax.md | 5 +++++ src/screens/Job/JobView.tsx | 1 - src/screens/Job/generateJobDefinition.test.ts | 12 ------------ src/screens/Job/generateJobDefinition.ts | 1 - 4 files changed, 5 insertions(+), 14 deletions(-) create mode 100644 .changeset/gold-poems-relax.md diff --git a/.changeset/gold-poems-relax.md b/.changeset/gold-poems-relax.md new file mode 100644 index 00000000..daca727e --- /dev/null +++ b/.changeset/gold-poems-relax.md @@ -0,0 +1,5 @@ +--- +'@smartcontractkit/operator-ui': minor +--- + +remove p2p v1 field p2pBootstrapPeers diff --git a/src/screens/Job/JobView.tsx b/src/screens/Job/JobView.tsx index 6bdb182b..e29f77b8 100644 --- a/src/screens/Job/JobView.tsx +++ b/src/screens/Job/JobView.tsx @@ -54,7 +54,6 @@ const JOB_PAYLOAD__SPEC = gql` isBootstrapPeer keyBundleID observationTimeout - p2pBootstrapPeers p2pv2Bootstrappers transmitterAddress } diff --git a/src/screens/Job/generateJobDefinition.test.ts b/src/screens/Job/generateJobDefinition.test.ts index 402ee9c5..bc3664e6 100644 --- a/src/screens/Job/generateJobDefinition.test.ts +++ b/src/screens/Job/generateJobDefinition.test.ts @@ -214,9 +214,6 @@ observationSource = """ '4ee612467c3caea7bdab57ab62937adfc4d195516c30139a737f85098b35d9af', isBootstrapPeer: false, observationTimeout: '10s', - p2pBootstrapPeers: [ - '/ip4/139.59.41.32/tcp/12000/p2p/12D3KooWGKhStcrvCr5RBYKaSRNX4ojrxHcmpJuFmHWenT6aAQAY', - ], p2pv2Bootstrappers: [ '12D3KooWL3XJ9EMCyZvmmGXL2LMiVBtrVa2BuESsJiXkSj7333Jw@localhost:5001', ], @@ -247,9 +244,6 @@ evmChainID = "42" isBootstrapPeer = false keyBundleID = "4ee612467c3caea7bdab57ab62937adfc4d195516c30139a737f85098b35d9af" observationTimeout = "10s" -p2pBootstrapPeers = [ - "/ip4/139.59.41.32/tcp/12000/p2p/12D3KooWGKhStcrvCr5RBYKaSRNX4ojrxHcmpJuFmHWenT6aAQAY" -] p2pv2Bootstrappers = [ "12D3KooWL3XJ9EMCyZvmmGXL2LMiVBtrVa2BuESsJiXkSj7333Jw@localhost:5001" ] @@ -287,9 +281,6 @@ observationSource = """ keyBundleID: '4ee612467c3caea7bdab57ab62937adfc4d195516c30139a737f85098b35d9af', observationTimeout: '10s', - p2pBootstrapPeers: [ - '/ip4/139.59.41.32/tcp/12000/p2p/12D3KooWGKhStcrvCr5RBYKaSRNX4ojrxHcmpJuFmHWenT6aAQAY', - ], p2pv2Bootstrappers: [ '12D3KooWL3XJ9EMCyZvmmGXL2LMiVBtrVa2BuESsJiXkSj7333Jw@localhost:5001', ], @@ -320,9 +311,6 @@ evmChainID = "42" isBootstrapPeer = true keyBundleID = "4ee612467c3caea7bdab57ab62937adfc4d195516c30139a737f85098b35d9af" observationTimeout = "10s" -p2pBootstrapPeers = [ - "/ip4/139.59.41.32/tcp/12000/p2p/12D3KooWGKhStcrvCr5RBYKaSRNX4ojrxHcmpJuFmHWenT6aAQAY" -] p2pv2Bootstrappers = [ "12D3KooWL3XJ9EMCyZvmmGXL2LMiVBtrVa2BuESsJiXkSj7333Jw@localhost:5001" ] diff --git a/src/screens/Job/generateJobDefinition.ts b/src/screens/Job/generateJobDefinition.ts index 769f67a8..8f333e01 100644 --- a/src/screens/Job/generateJobDefinition.ts +++ b/src/screens/Job/generateJobDefinition.ts @@ -124,7 +124,6 @@ export const generateJobDefinition = ( 'isBootstrapPeer', 'keyBundleID', 'observationTimeout', - 'p2pBootstrapPeers', 'p2pv2Bootstrappers', 'transmitterAddress', ),