Skip to content

Commit

Permalink
fix: update url (#1804)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-bisonai authored Jul 15, 2024
1 parent fa311d3 commit 0eaf4de
Show file tree
Hide file tree
Showing 17 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cli.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
run: go run main.go &
env:
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/delegator?search_path=public"
PROVIDER_URL: "https://public-en.kairos.node.kaia.io"
PROVIDER_URL: "https://public-en-kairos.node.kaia.io"
APP_PORT: "3002"

- name: Run api
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dal.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/orakl-test?search_path=public"
REDIS_HOST: "localhost"
REDIS_PORT: "6379"
KAIA_PROVIDER_URL: "https://public-en.kairos.node.kaia.io"
KAIA_PROVIDER_URL: "https://public-en-kairos.node.kaia.io"
KAIA_WEBSOCKET_URL: "wss://public-en-baobab.klaytn.net/ws"
SUBMISSION_PROXY_CONTRACT: "0x35bA1102A4954147272782302856BD8440227B85"
SIGNER_PK: ${{ secrets.TEST_DELEGATOR_REPORTER_PK}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delegator.test+build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ jobs:
go test ./tests -v
env:
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/orakl-test?search_path=public"
PROVIDER_URL: "https://public-en.kairos.node.kaia.io"
PROVIDER_URL: "https://public-en-kairos.node.kaia.io"
TEST_DELEGATOR_REPORTER_PK: ${{ secrets.TEST_DELEGATOR_REPORTER_PK}}
DELEGATOR_FEEPAYER_PK: ${{ secrets.DELEGATOR_FEEPAYER_PK}}
2 changes: 1 addition & 1 deletion .github/workflows/node.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
ENCRYPT_PASSWORD: "anything"
KAIA_WEBSOCKET_URL: "wss://public-en-cypress.klaytn.net/ws"
ETH_WEBSOCKET_URL: "wss://ethereum-rpc.publicnode.com"
KAIA_PROVIDER_URL: "https://public-en.kairos.node.kaia.io"
KAIA_PROVIDER_URL: "https://public-en-kairos.node.kaia.io"
KAIA_REPORTER_PK: ${{ secrets.TEST_DELEGATOR_REPORTER_PK}}
ETH_PROVIDER_URL: "https://ethereum-sepolia.g.allthatnode.com/full/evm"
ETH_REPORTER_PK: ${{ secrets.TEST_DELEGATOR_REPORTER_PK}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sentinel.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ jobs:
task test
env:
CHAIN: "baobab"
JSON_RPC_URL: "https://public-en.kairos.node.kaia.io"
JSON_RPC_URL: "https://public-en-kairos.node.kaia.io"
2 changes: 1 addition & 1 deletion contracts/v0.1/hardhat.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const commonConfig = {
}

const _baobab = {
url: 'https://public-en.kairos.node.kaia.io',
url: 'https://public-en-kairos.node.kaia.io',
chainId: 1001,
...commonConfig,
gasPrice: 250_000_000_000,
Expand Down
2 changes: 1 addition & 1 deletion contracts/v0.2/foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ optimizer-runs = 100_000

[rpc_endpoints]
anvil = "http://127.0.0.1:8545"
baobab = "https://public-en.kairos.node.kaia.io"
baobab = "https://public-en-kairos.node.kaia.io"
6 changes: 3 additions & 3 deletions contracts/v0.2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"deploy:localhost:Feed": "forge script DeployFeed --broadcast --gas-estimate-multiplier 300 --rpc-url http://localhost:8545",
"deploy:localhost:FeedRouter": "forge script DeployFeedRouter --broadcast --gas-estimate-multiplier 300 --rpc-url http://localhost:8545",
"deploy:localhost:SubmissionProxy": "forge script DeploySubmissionProxy --broadcast --gas-estimate-multiplier 300 --rpc-url http://localhost:8545",
"deploy:baobab:Feed": "forge script DeployFeed --broadcast --gas-estimate-multiplier 300 --rpc-url https://public-en.kairos.node.kaia.io",
"deploy:baobab:FeedRouter": "forge script DeployFeedRouter --broadcast --gas-estimate-multiplier 300 --rpc-url https://public-en.kairos.node.kaia.io",
"deploy:baobab:SubmissionProxy": "forge script DeploySubmissionProxy --broadcast --gas-estimate-multiplier 300 --rpc-url https://public-en.kairos.node.kaia.io",
"deploy:baobab:Feed": "forge script DeployFeed --broadcast --gas-estimate-multiplier 300 --rpc-url https://public-en-kairos.node.kaia.io",
"deploy:baobab:FeedRouter": "forge script DeployFeedRouter --broadcast --gas-estimate-multiplier 300 --rpc-url https://public-en-kairos.node.kaia.io",
"deploy:baobab:SubmissionProxy": "forge script DeploySubmissionProxy --broadcast --gas-estimate-multiplier 300 --rpc-url https://public-en-kairos.node.kaia.io",
"deploy:cypress:Feed": "forge script DeployFeed --broadcast --gas-estimate-multiplier 300 --rpc-url https://public-en-cypress.klaytn.net",
"deploy:cypress:FeedRouter": "forge script DeployFeedRouter --broadcast --gas-estimate-multiplier 300 --rpc-url https://public-en-cypress.klaytn.net",
"deploy:cypress:SubmissionProxy": "forge script DeploySubmissionProxy --broadcast --gas-estimate-multiplier 300 --rpc-url https://public-en-cypress.klaytn.net"
Expand Down
2 changes: 1 addition & 1 deletion core/test/caver-js.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('Test Caver-js', function () {

if (process.env.GITHUB_ACTIONS) {
test('Send signed tx with is caver-js on Baobab', async function () {
const PROVIDER_URL = 'https://public-en.kairos.node.kaia.io'
const PROVIDER_URL = 'https://public-en-kairos.node.kaia.io'
const caver = new Caver(PROVIDER_URL)
const privateKey = process.env.CAVER_PRIVATE_KEY || ''
const account = caver.klay.accounts.wallet.add(privateKey)
Expand Down
2 changes: 1 addition & 1 deletion core/test/nonce-manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { State } from '../src/reporter/state'
describe('nonce-manager', () => {
const PROVIDER_URL = process.env.GITHUB_ACTIONS
? 'https://public-en-cypress.klaytn.net'
: 'https://public-en.kairos.node.kaia.io'
: 'https://public-en-kairos.node.kaia.io'
const redisClient: RedisClientType = createClient({ url: '' })
const ORACLE_ADDRESS = '0x0E4E90de7701B72df6F21343F51C833F7d2d3CFb'
const REPORTER = {
Expand Down
4 changes: 2 additions & 2 deletions core/test/reporter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('Reporter', function () {
// 0 $KLAY in Account
// address: '0x9bf123A486DD67d5B2B859c74BFa3035c99b9243'
privateKey: '0xaa8707622845b72c76b7b9f329b154140441eda385ca39e3cdc66d2bee5f98e0',
providerUrl: 'https://public-en.kairos.node.kaia.io',
providerUrl: 'https://public-en-kairos.node.kaia.io',
})
const nonce = Number(await wallet.caver.rpc.klay.getTransactionCount(wallet.address))

Expand All @@ -100,7 +100,7 @@ describe('Reporter', function () {
describe('Filter invalid reporters inside of State', function () {
const PROVIDER_URL = process.env.GITHUB_ACTIONS
? 'https://public-en-cypress.klaytn.net'
: 'https://public-en.kairos.node.kaia.io'
: 'https://public-en-kairos.node.kaia.io'
const redisClient: RedisClientType = createClient({ url: '' })

const VALID_REPORTER = {
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/local-data-feed/envs/.core.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CHAIN=baobab_test
ORAKL_NETWORK_API_URL=http://api:3000/api/v1
ORAKL_NETWORK_DELEGATOR_URL=http://delegator:3002/api/v1
NODE_ENV=production
PROVIDER_URL=https://public-en.kairos.node.kaia.io
PROVIDER_URL=https://public-en-kairos.node.kaia.io

# Logging
LOG_LEVEL=debug
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/local-data-feed/envs/.delegator.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DATABASE_URL=postgresql://testuser@postgres:5432/test?search_path=delegator
PROVIDER_URL=https://public-en.kairos.node.kaia.io
PROVIDER_URL=https://public-en-kairos.node.kaia.io
APP_PORT=3002
2 changes: 1 addition & 1 deletion inspector/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const config: HardhatUserConfig = {
gasPrice: 250_000_000_000,
},
baobab: {
url: process.env.PROVIDER || "https://public-en.kairos.node.kaia.io",
url: process.env.PROVIDER || "https://public-en-kairos.node.kaia.io",
chainId: 1001,
...commonConfig,
gasPrice: 250_000_000_000,
Expand Down
4 changes: 2 additions & 2 deletions inspector/scripts/json-rpc-sync-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
readonly OUR_KAIROS_JSON_RPC="http://100.93.31.29:8551"
readonly OUR_KAIA_JSON_RPC="http://100.75.43.49:8551"

readonly PUBLIC_KAIROS_JSON_RPC="https://public-en.kairos.node.kaia.io"
readonly PUBLIC_KAIROS_JSON_RPC="https://public-en-kairos.node.kaia.io"
readonly PUBLIC_KAIA_JSON_RPC="https://public-en-cypress.klaytn.net"

check_klay_sync_baobab() {
Expand Down Expand Up @@ -78,7 +78,7 @@ get_our_klay_block() {
--data '{"jsonrpc":"2.0","method":"klay_blockNumber","params":[],"id":1}' \
-s \
$our_json_rpc)

exit_code=$?

if [ $exit_code -ne 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion node/.env.local
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ DATABASE_URL=postgresql://{$USER}@localhost:5432
REDIS_HOST=localhost
REDIS_PORT=6379
LISTEN_PORT=10010
KAIA_PROVIDER_URL=https://public-en.kairos.node.kaia.io
KAIA_PROVIDER_URL=https://public-en-kairos.node.kaia.io
ENCRYPT_PASSWORD=anything

CHAIN=test
Expand Down
4 changes: 2 additions & 2 deletions node/pkg/chain/tests/chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func TestNewKaiaHelper(t *testing.T) {

err := db.QueryWithoutResult(ctx, InsertProviderUrlQuery, map[string]any{
"chain_id": 1001,
"url": "https://public-en.kairos.node.kaia.io",
"url": "https://public-en-kairos.node.kaia.io",
"priority": 1,
})
if err != nil {
Expand All @@ -38,7 +38,7 @@ func TestNewKaiaHelper(t *testing.T) {
}
err = db.QueryWithoutResult(ctx, InsertProviderUrlQuery, map[string]any{
"chain_id": 1001,
"url": "https://public-en.kairos.node.kaia.io",
"url": "https://public-en-kairos.node.kaia.io",
"priority": 2,
})
if err != nil {
Expand Down

0 comments on commit 0eaf4de

Please sign in to comment.