From b9f362b6bb4eb39d9bf5b4a63d17610dfdd96999 Mon Sep 17 00:00:00 2001 From: Alexey Semenyuk Date: Tue, 19 Mar 2024 00:41:04 +0500 Subject: [PATCH 1/3] Add support deploy contract for Tezos Connector Signed-off-by: Alexey Semenyuk --- internal/blockchain/tezos/tezossigner/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/blockchain/tezos/tezossigner/config.go b/internal/blockchain/tezos/tezossigner/config.go index 84c5855b..2aea9972 100644 --- a/internal/blockchain/tezos/tezossigner/config.go +++ b/internal/blockchain/tezos/tezossigner/config.go @@ -95,6 +95,7 @@ func GenerateSignerConfig(accountsAddresses []string) *Config { "transaction", "endorsement", "reveal", + "origination", }, }, } From 58d9b07503984e737f1efcc6f287d50c68790764 Mon Sep 17 00:00:00 2001 From: Alexey Semenyuk Date: Wed, 20 Mar 2024 13:36:09 +0500 Subject: [PATCH 2/3] Add file header due to lint complaints Signed-off-by: Alexey Semenyuk --- internal/stacks/prometheus_config.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/internal/stacks/prometheus_config.go b/internal/stacks/prometheus_config.go index a418789c..668757e7 100644 --- a/internal/stacks/prometheus_config.go +++ b/internal/stacks/prometheus_config.go @@ -1,3 +1,19 @@ +// Copyright © 2024 Kaleido, Inc. +// +// SPDX-License-Identifier: Apache-2.0 +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + package stacks import "fmt" From f3b56b338b5ed238debafc1fba591d1c2b5dcc24 Mon Sep 17 00:00:00 2001 From: Alexey Semenyuk Date: Wed, 20 Mar 2024 13:43:24 +0500 Subject: [PATCH 3/3] Test updated Signed-off-by: Alexey Semenyuk --- internal/blockchain/tezos/tezossigner/config_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/blockchain/tezos/tezossigner/config_test.go b/internal/blockchain/tezos/tezossigner/config_test.go index a43a90dc..4e58a490 100644 --- a/internal/blockchain/tezos/tezossigner/config_test.go +++ b/internal/blockchain/tezos/tezossigner/config_test.go @@ -57,6 +57,7 @@ func TestGenerateSignerConfig(t *testing.T) { "transaction", "endorsement", "reveal", + "origination", }, }, }, @@ -67,6 +68,7 @@ func TestGenerateSignerConfig(t *testing.T) { "transaction", "endorsement", "reveal", + "origination", }, }, }, @@ -77,6 +79,7 @@ func TestGenerateSignerConfig(t *testing.T) { "transaction", "endorsement", "reveal", + "origination", }, }, }, @@ -87,6 +90,7 @@ func TestGenerateSignerConfig(t *testing.T) { "transaction", "endorsement", "reveal", + "origination", }, }, }, @@ -97,6 +101,7 @@ func TestGenerateSignerConfig(t *testing.T) { "transaction", "endorsement", "reveal", + "origination", }, }, },