From 23d99395ab6cb2b60356a22c9748e5207f9e2701 Mon Sep 17 00:00:00 2001 From: Gregor Podlogar Date: Thu, 12 Dec 2024 13:46:01 +0100 Subject: [PATCH] go-flare-common version 0.1.6 -> 1.0.0 --- README.md | 2 +- configs/userConfig.toml | 12 ++++++------ go.mod | 2 +- go.sum | 4 ++-- tests/configs/simulationConfig.toml | 2 +- tests/configs/testConfig.toml | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f452020..bb22a41 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ size = 10 max_dequeues_per_second = 100 # 0 for unlimited max_workers = 10 # 0 for unlimited max_attempts = 3 # negative for unlimited -time_off = 2 # in seconds. Time off after each unsuccessful attempt. +time_off = "2s" # time off after each unsuccessful attempt. ``` ### System Configs diff --git a/configs/userConfig.toml b/configs/userConfig.toml index 0712456..5d9232b 100644 --- a/configs/userConfig.toml +++ b/configs/userConfig.toml @@ -188,39 +188,39 @@ size = 10 max_dequeues_per_second = 0 max_workers = 0 max_attempts = 3 -time_off = 2 +time_off = "2s" [queues.doge] size = 10 max_dequeues_per_second = 0 max_workers = 0 max_attempts = 3 -time_off = 2 +time_off = "2s" [queues.xrp] size = 10 max_dequeues_per_second = 0 max_workers = 0 max_attempts = 3 -time_off = 2 +time_off = "2s" [queues.eth] size = 10 max_dequeues_per_second = 0 max_workers = 0 max_attempts = 3 -time_off = 2 +time_off = "2s" [queues.sgb] size = 10 max_dequeues_per_second = 0 max_workers = 0 max_attempts = 3 -time_off = 2 +time_off = "2s" [queues.flr] size = 10 max_dequeues_per_second = 0 max_workers = 0 max_attempts = 3 -time_off = 2 +time_off = "2s" diff --git a/go.mod b/go.mod index 9a7bfcf..c06dda9 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/BurntSushi/toml v1.4.0 github.com/bradleyjkemp/cupaloy v2.3.0+incompatible github.com/ethereum/go-ethereum v1.14.11 - github.com/flare-foundation/go-flare-common v0.1.6 + github.com/flare-foundation/go-flare-common v1.0.0 github.com/gorilla/mux v1.8.1 github.com/pkg/errors v0.9.1 github.com/rs/cors v1.11.1 diff --git a/go.sum b/go.sum index 659f225..9ce2c3e 100644 --- a/go.sum +++ b/go.sum @@ -72,8 +72,8 @@ github.com/ethereum/go-ethereum v1.14.11 h1:8nFDCUUE67rPc6AKxFj7JKaOa2W/W1Rse3oS github.com/ethereum/go-ethereum v1.14.11/go.mod h1:+l/fr42Mma+xBnhefL/+z11/hcmJ2egl+ScIVPjhc7E= github.com/ethereum/go-verkle v0.1.1-0.20240829091221-dffa7562dbe9 h1:8NfxH2iXvJ60YRB8ChToFTUzl8awsc3cJ8CbLjGIl/A= github.com/ethereum/go-verkle v0.1.1-0.20240829091221-dffa7562dbe9/go.mod h1:M3b90YRnzqKyyzBEWJGqj8Qff4IDeXnzFw0P9bFw3uk= -github.com/flare-foundation/go-flare-common v0.1.6 h1:i4O1MP/xTBm9MSs4rko1avO8GZh1L13tliI5BtJwVSc= -github.com/flare-foundation/go-flare-common v0.1.6/go.mod h1:Pb1OAtNe8jNsD2fh6syJD6kVdqxAAXWESTGgd7uQlME= +github.com/flare-foundation/go-flare-common v1.0.0 h1:doNCazmtgEDyJfEo62OnVUHtPQEyxZWEFjQ5hwt+Vlw= +github.com/flare-foundation/go-flare-common v1.0.0/go.mod h1:Pb1OAtNe8jNsD2fh6syJD6kVdqxAAXWESTGgd7uQlME= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= diff --git a/tests/configs/simulationConfig.toml b/tests/configs/simulationConfig.toml index afb746c..8c301e9 100644 --- a/tests/configs/simulationConfig.toml +++ b/tests/configs/simulationConfig.toml @@ -49,4 +49,4 @@ size = 10 max_dequeues_per_second = 0 max_workers = 0 max_attempts = 3 -time_off = 2 +time_off = "2s" diff --git a/tests/configs/testConfig.toml b/tests/configs/testConfig.toml index 1af9270..342ce3b 100644 --- a/tests/configs/testConfig.toml +++ b/tests/configs/testConfig.toml @@ -46,4 +46,4 @@ size = 10 max_dequeues_per_second = 0 max_workers = 0 max_attempts = 3 -time_off = 2 +time_off = "2s"