Skip to content

Commit ec8a25d

Browse files
versioning with v0.2.7 (#97)
1 parent fdb5c87 commit ec8a25d

16 files changed

Lines changed: 49 additions & 37 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Taking these factors into consideration, we recommend utilizing `forex_yahoofina
190190
Print the version of the oracle server:
191191
```
192192
$./autoracle version
193-
v0.2.6
193+
v0.2.7
194194
```
195195
Run the server:
196196
```shell

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var (
2929

3030
// Version number of the oracle server in uint8. It is required
3131
// for data reporting interface to collect oracle clients version.
32-
const Version uint8 = 26
32+
const Version uint8 = 27
3333

3434
const PreSamplingRange = 6 // pre-sampling starts in 6s in advance
3535

plugins/crypto_coinbase/crypto_coinbase.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ import (
55
"autonity-oracle/plugins/common"
66
"autonity-oracle/types"
77
"encoding/json"
8-
"github.com/hashicorp/go-hclog"
98
"io"
109
"net/url"
1110
"os"
1211
"time"
12+
13+
"github.com/hashicorp/go-hclog"
1314
)
1415

1516
const (
16-
version = "v0.2.6"
17+
version = "v0.2.7"
1718
path = "v2/prices/USDC-USD/spot"
1819
)
1920

plugins/crypto_coingecko/crypto_coingecko.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@ import (
55
"autonity-oracle/plugins/common"
66
"autonity-oracle/types"
77
"encoding/json"
8-
"github.com/hashicorp/go-hclog"
98
"io"
109
"net/url"
1110
"os"
1211
"strconv"
1312
"time"
13+
14+
"github.com/hashicorp/go-hclog"
1415
)
1516

1617
const (
17-
version = "v0.2.6"
18+
version = "v0.2.7"
1819
path = "api/v3/simple/price"
1920
ids = "ids"
2021
vsCurrencies = "vs_currencies"

plugins/crypto_kraken/crypto_kraken.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ import (
66
"autonity-oracle/types"
77
"encoding/json"
88
"fmt"
9-
"github.com/hashicorp/go-hclog"
109
"io"
1110
"net/url"
1211
"os"
1312
"time"
13+
14+
"github.com/hashicorp/go-hclog"
1415
)
1516

1617
const (
17-
version = "v0.2.6"
18+
version = "v0.2.7"
1819
path = "0/public/Ticker"
1920
queryParam = "pair"
2021
supportedSymbol = "USDCUSD"

plugins/crypto_uniswap/common/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424

2525
var (
2626
orderBookCapacity = 64
27-
Version = "v0.2.6"
27+
Version = "v0.2.7"
2828
supportedSymbols = common.DefaultCryptoSymbols
2929
)
3030

plugins/forex_currencyfreaks/forex_currencyfreaks.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@ import (
66
"autonity-oracle/types"
77
"encoding/json"
88
"fmt"
9-
"github.com/hashicorp/go-hclog"
10-
"github.com/shopspring/decimal"
119
"io"
1210
"net/url"
1311
"os"
1412
"strings"
1513
"time"
14+
15+
"github.com/hashicorp/go-hclog"
16+
"github.com/shopspring/decimal"
1617
)
1718

1819
const (
19-
version = "v0.2.6"
20+
version = "v0.2.7"
2021
apiVersion = "v2.0/rates/latest"
2122
apiKey = "apikey"
2223
)

plugins/forex_currencylayer/forex_currencylayer.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@ import (
66
"autonity-oracle/types"
77
"encoding/json"
88
"fmt"
9-
"github.com/hashicorp/go-hclog"
10-
"github.com/shopspring/decimal"
119
"io"
1210
"net/url"
1311
"os"
1412
"strings"
1513
"time"
14+
15+
"github.com/hashicorp/go-hclog"
16+
"github.com/shopspring/decimal"
1617
)
1718

1819
const (
19-
version = "v0.2.6"
20+
version = "v0.2.7"
2021
pathLive = "live"
2122
accessKey = "access_key"
2223
)

plugins/forex_exchangerate/forex_exchangerate.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@ import (
66
"autonity-oracle/types"
77
"encoding/json"
88
"fmt"
9-
"github.com/hashicorp/go-hclog"
10-
"github.com/shopspring/decimal"
119
"io"
1210
"net/url"
1311
"os"
1412
"strings"
1513
"time"
14+
15+
"github.com/hashicorp/go-hclog"
16+
"github.com/shopspring/decimal"
1617
)
1718

1819
const (
19-
version = "v0.2.6"
20+
version = "v0.2.7"
2021
exVersion = "v6"
2122
)
2223

plugins/forex_forexrateapi/forex_forexrateapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
)
1818

1919
const (
20-
version = "v0.2.6"
20+
version = "v0.2.7"
2121
path = "/v1/latest"
2222
)
2323

0 commit comments

Comments
 (0)