From b833dc77b37f342ba52dc33fc3b0f6aa64d7d01d Mon Sep 17 00:00:00 2001 From: Tolga Coplu Date: Fri, 21 Jul 2023 14:43:49 +0300 Subject: [PATCH] Bump relayer2-base to v1.1.0-rc.1 --- config/filter.yaml | 1 - config/mainnet.yaml | 2 ++ config/testnet.yaml | 2 ++ go.mod | 5 +++-- go.sum | 6 ++++-- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/config/filter.yaml b/config/filter.yaml index adafadb..e0bd8f9 100644 --- a/config/filter.yaml +++ b/config/filter.yaml @@ -4,7 +4,6 @@ filter: list: - 192.168.1.1/16 - 171.16.3.5 - - EOA: - CA: diff --git a/config/mainnet.yaml b/config/mainnet.yaml index 563d15e..901e551 100644 --- a/config/mainnet.yaml +++ b/config/mainnet.yaml @@ -45,12 +45,14 @@ endpoint: rpcNode: httpHost: localhost httpPort: 8545 + httpPathPrefix: "*" # allows all paths httpCors: - "*" httpCompress: true httpTimeout: 300 # in seconds wsHost: localhost # Both wsHost and wsPort are mandatory to start the websocket wsPort: 8545 # Both wsHost and wsPort are mandatory to start the websocket + wsPathPrefix: "*" # allows all paths wsHandshakeTimeout: 10 # in seconds maxBatchRequests: 1000 indexer: diff --git a/config/testnet.yaml b/config/testnet.yaml index 9299597..4f05eb2 100644 --- a/config/testnet.yaml +++ b/config/testnet.yaml @@ -45,12 +45,14 @@ endpoint: rpcNode: httpHost: localhost httpPort: 8545 + httpPathPrefix: "*" # allows all paths httpCors: - "*" httpCompress: true httpTimeout: 300 # in seconds wsHost: localhost # Both wsHost and wsPort are mandatory to start the websocket RPC server wsPort: 8545 # Both wsHost and wsPort are mandatory to start the websocket RPC server + wsPathPrefix: "*" # allows all paths wsHandshakeTimeout: 10 # in seconds maxBatchRequests: 1000 indexer: diff --git a/go.mod b/go.mod index 45007d6..adf9709 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/aurora-is-near/relayer2-public go 1.18 -replace github.com/aurora-is-near/relayer2-base => ../relayer2-base +// replace github.com/aurora-is-near/relayer2-base => ../relayer2-base // The following package had a conflicting dependency. // Fixed by pointing the dependency to the latest version tag. @@ -10,7 +10,7 @@ replace github.com/btcsuite/btcd => github.com/btcsuite/btcd v0.23.2 require ( github.com/aurora-is-near/near-api-go v0.0.13-0.20230718083121-2b3b0cdd7ac4 - github.com/aurora-is-near/relayer2-base v1.0.5 + github.com/aurora-is-near/relayer2-base v1.1.0-rc.1 github.com/ethereum/go-ethereum v1.10.25 github.com/json-iterator/go v1.1.12 github.com/spf13/cobra v1.6.0 @@ -28,6 +28,7 @@ require ( github.com/aurora-is-near/stream-backup v0.0.0-20221212013533-1e06e263c3f7 // indirect github.com/btcsuite/btcutil v1.0.2 // indirect github.com/buger/jsonparser v1.1.1 // indirect + github.com/carlmjohnson/versioninfo v0.22.4 // indirect github.com/cespare/xxhash v1.1.0 // indirect github.com/dgraph-io/badger/v3 v3.2103.2 // indirect github.com/dgraph-io/ristretto v0.1.1 // indirect diff --git a/go.sum b/go.sum index 879b828..f05ec09 100644 --- a/go.sum +++ b/go.sum @@ -54,8 +54,8 @@ github.com/aurora-is-near/go-jsonrpc/v3 v3.1.1 h1:Nw9J9K7CksfVBa9uCVfvf1uAIQRhrN github.com/aurora-is-near/go-jsonrpc/v3 v3.1.1/go.mod h1:Li013EFlPu3crtlFQtWJAeE7VmdhSsxOpRoop1J0icw= github.com/aurora-is-near/near-api-go v0.0.13-0.20230718083121-2b3b0cdd7ac4 h1:CSR9l311tsTj8EgQ/jqzLod7u7V1tq3HDnRRKZrNNGY= github.com/aurora-is-near/near-api-go v0.0.13-0.20230718083121-2b3b0cdd7ac4/go.mod h1:u1KDIqjCl+g+Ndp8izReS5zXI05YWCgQR3iOYXhnhHI= -github.com/aurora-is-near/relayer2-base v1.0.5 h1:5cWLKUXJh0KVlqv7GtLKmwZn3J0Kgwzft35PNSZAvAQ= -github.com/aurora-is-near/relayer2-base v1.0.5/go.mod h1:HMQW4vlcW1/jjMy/w8kY+b+Z3VZOrNhEC+rotjXNtqs= +github.com/aurora-is-near/relayer2-base v1.1.0-rc.1 h1:RDMyhrSTDLqctjqD/ebmh+6nbdNPuxZ0SMJMkChe7mk= +github.com/aurora-is-near/relayer2-base v1.1.0-rc.1/go.mod h1:kvEh47ywen00njN0XWPWj2RDGa1CXDF13EjDjLiRojo= github.com/aurora-is-near/stream-backup v0.0.0-20221212013533-1e06e263c3f7 h1:aHMsjwM2KJ6EO9H7f1UgFD95c+d9BTpA43NQgZ6hiaM= github.com/aurora-is-near/stream-backup v0.0.0-20221212013533-1e06e263c3f7/go.mod h1:71KeQcNFeKIHH0WeppWnXZBfwpGo/YwLK8TtC+r+TfY= github.com/btcsuite/btcd v0.23.2 h1:/YOgUp25sdCnP5ho6Hl3s0E438zlX+Kak7E6TgBgoT0= @@ -76,6 +76,8 @@ github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtE github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs= github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= +github.com/carlmjohnson/versioninfo v0.22.4 h1:AucUHDSKmk6j7Yx3dECGUxaowGHOAN0Zx5/EBtsXn4Y= +github.com/carlmjohnson/versioninfo v0.22.4/go.mod h1:QT9mph3wcVfISUKd0i9sZfVrPviHuSF+cUtLjm2WSf8= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=